- Joined
- May 16, 2019
- Messages
- 102
- Reaction score
- 28
- First Language
- English
- Primarily Uses
- RMMV
So, I've been developing a Star Trek fan game - and at some point I thought I should try to implement a space battle. My initial thought was that the easy way to do it, would be to have a top down view of your ship, and just shoot lasers at the enemy ship using Galv's Map Projectile's plugin - however I started wondering about how I'd do it in first person.
I'm sure to plenty of you, what I did here is pretty obvious. When you load the map, it loads a picture overlay of your ship's bridge with a reticle in the center. Space is a parallax. And it turns the player into the Klingon ship, so while it may look as if you are moving the reticle, you're actually moving the enemy you're fighting.
When you hit "ok" anywhere on the map, it flashes an image of your "laser" directed at the center of the screen. Now if you hit "ok" while the klingon ship is in the center, it plays a "hit" animation along with the laser, it also forces the klingon ship to jump somewhere else , so you'll have to find it again to shoot it again. Once you have shot it enough, it plays an explosion animation, and the klingon ship goes transparent.
Now, the hope would be that this would be on a time limit - so you have to find the klingon ship and fire upon it a certain amount of times (four in this case), before the timer runs out, as your ship will be sustaining damage every few seconds that go by.
Now here are the issues I am trying to trouble shoot.
1.) I think if I could get the parallax to move with the player character (the klingon ship) then it will give the illusion of moving the Enterprise's view better. I feel like there was a time I accidentally had a parallax move with a character in the past, and I can't figure out how to repeat that "mistake."
2.) To make it an actual challenge, I need the klingon ship to every now and then move randomly. I tried to set a timer to move the player randomly every 10 seconds, but I can't seem to get the timer to budge and so instead it moves the player character constantly, which makes it impossible to move the reticle onto the klingon ship, as the player suddenly has zero control.
3.) When the player gets close to the edge of the "screen" I was having it transfer the player to the opposite side of the screen, like Pac Man. Not sure if this is the best way to handle this.
I am open to any suggestions on how to make this work better.
Below are some screen captures.
I'm sure to plenty of you, what I did here is pretty obvious. When you load the map, it loads a picture overlay of your ship's bridge with a reticle in the center. Space is a parallax. And it turns the player into the Klingon ship, so while it may look as if you are moving the reticle, you're actually moving the enemy you're fighting.
When you hit "ok" anywhere on the map, it flashes an image of your "laser" directed at the center of the screen. Now if you hit "ok" while the klingon ship is in the center, it plays a "hit" animation along with the laser, it also forces the klingon ship to jump somewhere else , so you'll have to find it again to shoot it again. Once you have shot it enough, it plays an explosion animation, and the klingon ship goes transparent.
Now, the hope would be that this would be on a time limit - so you have to find the klingon ship and fire upon it a certain amount of times (four in this case), before the timer runs out, as your ship will be sustaining damage every few seconds that go by.
Now here are the issues I am trying to trouble shoot.
1.) I think if I could get the parallax to move with the player character (the klingon ship) then it will give the illusion of moving the Enterprise's view better. I feel like there was a time I accidentally had a parallax move with a character in the past, and I can't figure out how to repeat that "mistake."
2.) To make it an actual challenge, I need the klingon ship to every now and then move randomly. I tried to set a timer to move the player randomly every 10 seconds, but I can't seem to get the timer to budge and so instead it moves the player character constantly, which makes it impossible to move the reticle onto the klingon ship, as the player suddenly has zero control.
3.) When the player gets close to the edge of the "screen" I was having it transfer the player to the opposite side of the screen, like Pac Man. Not sure if this is the best way to handle this.
I am open to any suggestions on how to make this work better.
Below are some screen captures.
Attachments
-
614.1 KB Views: 2
-
151.6 KB Views: 1
-
142.3 KB Views: 1
-
142.1 KB Views: 1

