Jump to content
IGNORED

Sky Scraper title screen troubles


Synthpopalooza

Recommended Posts

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.

Link to comment
Share on other sites

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.

  • Like 2
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...