http://scratch.mit.edu/projects/Rsrilaya/2806502
This is a beautiful unfinished platform game which i created. I expected it to have many downloads. But it came across a bug. The protagonist could not cross the first level. Please help me on this issue
Offline
Just tell the people to download the project in the project notes.
Also, since this is about a specific project, let's have it moved over to Help with Scripts.
Offline
Gravitation wrote:
Just tell the people to download the project in the project notes.
![]()
Also, since this is about a specific project, let's have it moved over to Help with Scripts.![]()
If the project works in Scratch 1.4 - but doesn't work online, then it is probably a bug with the online player and it's in the right forum right now (Bugs and Glitches). Rsrilaya - can you tell us which online player you were using? Have you tried it on the Flash player (which will eventually be our only player)?
However, if the author wants to make scripting changes to try to work around the problem, then I can move it to Help with Scripts.
Offline
Ah - I looked into this project and found the problem. You are looking for the X position of the player to equal 242 to switch levels. But the Scratch "space" ends at 240 - and it's far safer to use a greater than test than an equality test. So I changed the test to "> 239" and it works fine - see this version
http://scratch.mit.edu/projects/Rsrilaya/2806502
I'm not sure I consider this a Scatch bug since it was using properties of Scratch that are "out of spec"
Offline