satyrsfaction Posted February 18, 2020 Share Posted February 18, 2020 I'm just starting out in Batari Basic, and I decided to convert my initial attempt into DCP+ in order to have more sprites available. but now, the play field won't show up -- the player still collides with it, but it's invisible. Can anyone tell me what I'm doing wrong? game5.bas Quote Link to comment Share on other sites More sharing options...
+TwentySixHundred Posted February 18, 2020 Share Posted February 18, 2020 3 minutes ago, satyrsfaction said: I'm just starting out in Batari Basic, and I decided to convert my initial attempt into DCP+ in order to have more sprites available. but now, the play field won't show up -- the player still collides with it, but it's invisible. Can anyone tell me what I'm doing wrong? game5.bas 12.01 kB · 1 download Hi mate, with DPC+ you will need to define the pfcolors: line-by-line. Or you can use this example code o change all the rows to a single colour DF4FRACINC = 0 pfcolors: $86 end Quote Link to comment Share on other sites More sharing options...
satyrsfaction Posted February 19, 2020 Author Share Posted February 19, 2020 its still not working. What am I missing? game5.bas Quote Link to comment Share on other sites More sharing options...
+TwentySixHundred Posted February 19, 2020 Share Posted February 19, 2020 (edited) With DPC+ you also need to set up the screen and have those settings updated every frame within the mainloop. DF0FRACINC = 16 DF1FRACINC = 16 DF2FRACINC = 16 DF3FRACINC = 16 Here is the fix however you will need to define the other rooms and fix up some of your code. I will leave that to you for learning purposes ? game5_fix.bas game5_fix.bin Edited February 19, 2020 by TwentySixHundred Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted February 19, 2020 Share Posted February 19, 2020 Here's the DPC+ section of the Table of Contents: randomterrain.com/atari-2600-memories-batari-basic-commands.html#dpc_toc 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.