Jump to content
IGNORED

7800basic Newbie problem


pacgreg

Recommended Posts

I was trying to learn this 7800basic stuff after pretty much dropping bB at first sight of it, but now I put it down for a long time because I just can't get the second sprite to line up properly, or even display the right sprite. If someone could help me fix one of these problems I'll probably feel motivated again to build the rest of the game.

Thanks!

Greg

Metal Gear.zip

  • Like 1
Link to comment
Share on other sites

To be fair to Greg, I used temp variables in a couple of the samples where it was safe, mainly because I was lazy to dim another variable. But yes, on the 7800 you want to think about memory usage in terms of clumps RAM, rather than worrying about individual bytes.

 

I'll modify those samples to use dim'ed variables instead. Your site and the guide mentions the usage of temp variables and the pitfalls, but its better to start people off with safer habits.

  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...

RevEng was right about the samples throwing me off with temp, but now I understand that much. The next problem I encountered is trying to make a background function. I need some help seeing how plotting the map works and after that I can make games as everything after that is almost identical to bB coding. Can someone take a look and help me get this working?

Thanks again

Metalgear.zip

Link to comment
Share on other sites

Here's a version with working plotmap. I had to add some parameters to the command - I've commented what was added.

 

If you're going to be designing a bunch of screens, you might look at the tiled map creation functionality. Basically you can use the tiled graphic editor to design screens, and import them into 7800basic and use them instead of "alphadata" for the screens. Atarius Maximus posted a tutorial on it, which you can find here.

metalgear.bas

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...