Synthpopalooza Posted September 18, 2017 Share Posted September 18, 2017 Having some problems: I have implemented a title screen ... however, when I hit the fire button to bypass it, the level loads, but my man keeps falling to his death ad infinitum. Any ideas what I am doing wrong? ramcharmap6b.bas.bin ramcharmap6b.bas.a78 ramcharmap6b.bas Quote Link to comment Share on other sites More sharing options...
Mord Posted September 18, 2017 Share Posted September 18, 2017 Try changing the starting location of the player's Y coordinate in your "restorestartposdata". Maybe it's failing the test to land on the bottom row of tiles when it spawns (perhaps already inside it?) which makes him fall out of the screen. Then when he's respawned, he goes right back to the same location and it repeats. Quote Link to comment Share on other sites More sharing options...
Synthpopalooza Posted September 18, 2017 Author Share Posted September 18, 2017 I don't think that's it. Those coordinates worked perfectly before the title screen went in. Quote Link to comment Share on other sites More sharing options...
RevEng Posted September 18, 2017 Share Posted September 18, 2017 Any chance you could post a zip that includes the graphics? Nothing presently jumps out at me, but it's difficult to debug without being able to build. Quote Link to comment Share on other sites More sharing options...
Synthpopalooza Posted September 19, 2017 Author Share Posted September 19, 2017 OK, the zip file contains all the graphics from the current build, in their correct directories. graphics.zip 1 Quote Link to comment Share on other sites More sharing options...
RevEng Posted September 20, 2017 Share Posted September 20, 2017 Basically the problem is that you're using pokechar with the "screendata" map in both the title screen and the game, but you're using 2 different screen size definitions. pokechar builds a lookup table the first time you use it for any given map data, and reuses that table with subsequent invocations. The quick work around is to add "dim tscreendata=$2200", and use "pokechar tscreendata" for the title screen pokes. I'll make this restriction explicit in the docs. 2 Quote Link to comment Share on other sites More sharing options...
Synthpopalooza Posted September 20, 2017 Author Share Posted September 20, 2017 Cool, thanks! Should be able to add in the title screen tonight then! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.