M
Mister Lorik
Guest
Hello Community
This beats me. I have converted a game from GM 1.4 to GM2. Game worked fine in GM1.4 but now all my instances that have speed assigned to them do not move! for example i shoot bullets they remain static on the screen. GM Support refuse to help even tho the bug appeared after importing the game.
Here is the coding used:
with (instance_create_layer(O_Ship.x-14, O_Ship.y-15, "Compatibility_Instances_Depth_-2", O_Shot)) {speed=8; direction=90;}
So bullet appears but does nothing. If i change speed to vspeed then it goes flying up the screen but why does speed not work?
I tested the variable by setting the score to speed of O_Shot and it says 8 so obviously the speed is registering. I have placed this coding in the Create event of O_Shot also and still does not move.
If I can just get my bullets moving then perhaps i can apply the fix to all my other instances that are now not moving.
Any ideas anyone?
Thank you to everyone and keep safe in these trying times.
This beats me. I have converted a game from GM 1.4 to GM2. Game worked fine in GM1.4 but now all my instances that have speed assigned to them do not move! for example i shoot bullets they remain static on the screen. GM Support refuse to help even tho the bug appeared after importing the game.
Here is the coding used:
with (instance_create_layer(O_Ship.x-14, O_Ship.y-15, "Compatibility_Instances_Depth_-2", O_Shot)) {speed=8; direction=90;}
So bullet appears but does nothing. If i change speed to vspeed then it goes flying up the screen but why does speed not work?
I tested the variable by setting the score to speed of O_Shot and it says 8 so obviously the speed is registering. I have placed this coding in the Create event of O_Shot also and still does not move.
If I can just get my bullets moving then perhaps i can apply the fix to all my other instances that are now not moving.
Any ideas anyone?
Thank you to everyone and keep safe in these trying times.