So I've got a little frogger clone I'm building. Everything was going great until I got to the logs bit. The frog is supposed to ride on the logs smoothly while in all other instances he moves on a grid. So, I've had a *lot* of trouble getting this to work and I've got the problem nailed down to this.
When I set bullet.speed of the player to a negative value it appears to invert the previous value.
Example: On X pressed Set bullet speed to -200
Each time you hit X the object reverses his direction.
Here is my capx file:
So I've got a little frogger clone I'm building. Everything was going great until I got to the logs bit. The frog is supposed to ride on the logs smoothly while in all other instances he moves on a grid. So, I've had a *lot* of trouble getting this to work and I've got the problem nailed down to this.
When I set bullet.speed of the player to a negative value it appears to invert the previous value.
Example: On X pressed Set bullet speed to -200
Each time you hit X the object reverses his direction.
Here is my capx file:
drive.google[DOT]com/file/d/0BwDq5BPaWAXyR0FsVzdTODlFbEk/view?usp=sharing
Event 47 and 48 are where I'm setting the speed of the player.
I really appreicate any help guys I feel like I'm going nuts.