Can't go back to screen in platformer

baardbi

Well-known member
Here is a weird one for you :D

Every time I make a simple platform game I have this problem. I start creating levels from the top left corner (X=0, Y=0). I can walk left and right between the screens without any problem, until I reach the sixth screen (X=5, Y=0). Then I can't walk to the screen on the left anymore. I have checked for every kind of collision, and nothing solid is blocking the way. Since this happens every time I make these kinds of games I was wondering if this is some sort of bug, and I was also wondering if there is a solution to this problem?

PS! In one game this happened on screen X=3, Y=1 (again: absolutely no solid tiles blocking the way), and another time it happened on the fourth screen.
 

baardbi

Well-known member
Well. It works... Kinda. I don't know if I did something wrong when I applied the patch, or if it's something else. When I move to the left, the player is stopped by the left screen as before (he just continues to walk in place against the border), but when I release the left on my D-pad he goes to the screen on the left. So technically the problem is solved. It's just a little weird.
 

red moon

Member
Hmm, that is odd. Is it occurring on all screens at this point or still tied to the previous problematic screen?
 

dale_coop

Moderator
Staff member
Have you applied the engine patch?
(it's a zip file to install via the menu "Project > Run Project Script" in your NESmaker)
 

baardbi

Well-known member
Yes. I installed the engine patch, and after that it started to work ... a little bit :lol:

I will try this on a testgame I use to test out stuff like this.
 

dale_coop

Moderator
Staff member
Hummm... how is your player bounding box? small? I had some issues when my player was not large enough.
 

baardbi

Well-known member
Dale! I can't say it enough. You're a genious! :D

I changed my bounding box from this:

player.png


to this:

playerbigboundbox.png


And now it works perfectly. Thank you very very much! :)
I have had this problem (with other games as well) for a long time...
 

dale_coop

Moderator
Staff member
I am sure you can adjust it a little smaller...
maybe width: 14 height: 30 would still work ;)
 
Top Bottom