VGAGuy Posted July 15, 2017 Share Posted July 15, 2017 (edited) 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 July 15, 2017 by VGAGuy Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 15, 2017 Share Posted July 15, 2017 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. Quote Link to comment Share on other sites More sharing options...
VGAGuy Posted July 15, 2017 Author Share Posted July 15, 2017 I meant draw.bas comes with Bb unless it is the newer version with 64k support as that did not have the file in the samples folder. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 15, 2017 Share Posted July 15, 2017 I wonder if there is anything here that you could adapt: Double-click Draw: RT Version 01 Quote Link to comment Share on other sites More sharing options...
VGAGuy Posted July 16, 2017 Author Share Posted July 16, 2017 (edited) 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 July 20, 2017 by VGAGuy 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.