This site requires JavaScript, please enable it in your browser!
Greenfoot back
jcboz
jcboz wrote ...

2017/5/14

Strange platform problem

jcboz jcboz

2017/5/14

#
So all the code in my game compiles and had worked great, however I tried changing the world of my game to be bigger. Again everything compiles however there is this weird glitch where at a random amount of time, or in a random spot, my actor just falls through the platform at a speed much higher than the veloctiy set in the game. None of the code (other than the image and world size) was changed from when it previously worked. I'm not sure what code to include so to who ever answers this, tell me what lines of code I should be showing. Thanks.
jcboz jcboz

2017/5/14

#
jcboz wrote...
So all the code in my game compiles and had worked great, however I tried changing the world of my game to be bigger. Again everything compiles however there is this weird glitch where at a random amount of time, or in a random spot, my actor just falls through the platform at a speed much higher than the veloctiy set in the game. None of the code (other than the image and world size) was changed from when it previously worked. I'm not sure what code to include so to who ever answers this, tell me what lines of code I should be showing. Thanks.
It may also be worth noting that in the game when the actor hits the left side of the screen, a new world starts to work as kind of a screen two. I did change the point in the X axis that needs to be reached in order for the second world to be switched too, to accomodate for the change in world size.
You need to login to post a reply.