Jump to content
IGNORED

Programming a game and when I run it, it doesn't work.


tuckrix7865

Recommended Posts

I am programming a very simple game and am learning from the Tinkernut tutorial. I believe that I downloaded the correct version of batari (Not the one provided by Tinkernut) and have followed his instructions in creating a background. However, when I load the game up in my emulator (StellaX), I get about one line across the screen and it some what flickers. Below is a copy of my current code and attached to this post is the screen that I see.

 

Thank you ahead of time,

Tuckrix

 playfield:
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 XXXXXXXXXXX...........XXXXXXXXXX
 XXXXXXXXXX...XXXXXXX...XXXXXXXXX
 XXXXXXXXX...XXXXXXXXX...XXXXXXXX
 XXXXXXXX....X..XXX..X....XXXXXXX
 XXXXXXXX....XXXX.XXXX....XXXXXXX
 XXXXXXXX.....XXXXXXX.....XXXXXXX
 XXXXXXXXX.....X.X.X.....XXXXXXXX
 XXXXXXXXXX....XXXXX....XXXXXXXXX
 XXXXXXXXXXXX..........XXXXXXXXXX
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
end

 COLUBK  = $0E
 COLUPF  =  $E6

draw_loop
 drawscreen
 goto draw_loop

post-56226-0-91739700-1493495184.png

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