- Joined
- May 16, 2019
- Messages
- 102
- Reaction score
- 28
- First Language
- English
- Primarily Uses
- RMMV
Hey there,
Hope I am posting in the right place.
I am working on a Star Trek fan game and I got it in my head that I could make a space battle by tricking the player into believing they are controlling their ship when in fact they are actually controlling the enemy ship. Part of this was by inverting the movement controls, then setting an overlay layer of stars, to move only when you move and in the direction the "klingon ship" is moving against.
It is a little hard to describe.
Anyway - in order to make sure the player doesn't realize that they are controlling the Klingon ship, the map is covered with invisible switches that when touched will make the klingon ship move in random directions, "fire" on the Enterprise, cloak, or stay still for a few seconds before moving. This works great - except when it doesn't.
For some reason the switch, which is set to act when the player touches it, and to randomly select a different self switch, sometimes chooses an option I didn't know it had: Do nothing.
You can see in the video below. I took one of the random switches and put an image over it (blue portal) so that you could visually see that it sometimes stays exactly the same when the Klingon ship touches it.
I attached a photo of the common event which should be making random switches happen. Also note that the random things are not happening as randomly as I'd like. I only have one number set for cloaking and yet the ship seems to want to cloak every chance it gets.
I also have a second problem - which is that I want the background to move when the player is moving the ship, but not when the ship is moving by itself. I set the background movement (as shown in the illustration) to only move with the player when the switch "BG move" is on, and then set it to turn off "BG move" before every random movement by the Klingon ship, before turning it back on – but for some reason the game continues to move the background overlay with the ship's movement, even when the ship is being controlled by the computer.
I also attached photos demonstrating this.
Hope I am posting in the right place.
I am working on a Star Trek fan game and I got it in my head that I could make a space battle by tricking the player into believing they are controlling their ship when in fact they are actually controlling the enemy ship. Part of this was by inverting the movement controls, then setting an overlay layer of stars, to move only when you move and in the direction the "klingon ship" is moving against.
It is a little hard to describe.
Anyway - in order to make sure the player doesn't realize that they are controlling the Klingon ship, the map is covered with invisible switches that when touched will make the klingon ship move in random directions, "fire" on the Enterprise, cloak, or stay still for a few seconds before moving. This works great - except when it doesn't.
For some reason the switch, which is set to act when the player touches it, and to randomly select a different self switch, sometimes chooses an option I didn't know it had: Do nothing.
You can see in the video below. I took one of the random switches and put an image over it (blue portal) so that you could visually see that it sometimes stays exactly the same when the Klingon ship touches it.
I attached a photo of the common event which should be making random switches happen. Also note that the random things are not happening as randomly as I'd like. I only have one number set for cloaking and yet the ship seems to want to cloak every chance it gets.
I also have a second problem - which is that I want the background to move when the player is moving the ship, but not when the ship is moving by itself. I set the background movement (as shown in the illustration) to only move with the player when the switch "BG move" is on, and then set it to turn off "BG move" before every random movement by the Klingon ship, before turning it back on – but for some reason the game continues to move the background overlay with the ship's movement, even when the ship is being controlled by the computer.
I also attached photos demonstrating this.