Jump to content
IGNORED

How does Draw.bas work?


VGAGuy
 Share

Recommended Posts

I am trying to make a game where you lay down bricks when you move forwards and pick them up when you move backwards.

I looked at the example program that almost does what I want but has a few problems:

 

1 It uses a playfield that is too big, I need the normal 31 X 11 playfield

 

2 I need it to draw behind the player not directly under the player

 

3 I need it to draw as fast as the player moves

 

I have tried to make the playfield smaller and disable the superchip, but if I do that I becomes a RAM editor.

 

 

 

Any Ideas on how to get this to work?

 

P.S. The code should come with the Bb compiler

Edited by VGAGuy
Link to comment
Share on other sites

I am trying to make a game where you lay down bricks when you move forwards and pick them up when you move backwards.

I looked at the example program that almost does what I want but has a few problems:

 

1 It uses a playfield that is too big, I need the normal 31 X 11 playfield

 

2 I need it to draw behind the player not directly under the player

 

3 I need it to draw as fast as the player moves

 

I have tried to make the playfield smaller and disable the superchip, but if I do that I becomes a RAM editor.

 

 

 

Any Ideas on how to get this to work?

 

P.S. The code should come with the Bb compiler

I think the code for any game that anyone can think up should come with the bB compiler. batari was so lazy. :D

Link to comment
Share on other sites

Here's my bad attempt at adapting the code to my program.

At least it isn't a RAM editor like my previous attempts.

 

 

I am missing something but I can never figure out what.

 

 

EDIT: Got it working properly, thanks for the code.

Edited by VGAGuy
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...
 Share

  • Recently Browsing   0 members

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