MemberAtarian Posted January 9, 2018 Share Posted January 9, 2018 Hi, I have created my first test code (with a cat in front of a giant cheese, you can move the cat, I would add mice later), but as I try to compile (no error messages), it creates a .bin that will load in the emulator like a supercharger game (closing bar doors) but at the end, it does nothing but clicking noise. I checked the code if there is some problems, compared it to the example files, but no problem, After that, I compiled the example files (like 6_AnimateAplayfield, 12_SimpleTitlescreenDemo, etc.), but they also creates that stupid barn door and that's all. I installed the latest Batari Basic and Virtual Batari Basic as well. This is the code btw.: rem batari Basic Program rem created 2018.01.09. 20:42:55 by Visual bB Version 1.0.0.554 x=91 y=80 f=10 COLUBK=$FE main player0x=x player0y=y playfield: ...........XXXXXXXXXXXXXXXXXXXX. ..........XXX.XXXXX.X.X.X.X.XXX. ........XXX.XXX.XXXXXX.X.XXXX.X. ......XXXXXXXXXXXXXX.XX.XX.X.XX. .....XXXXX.XXX..XX..X.XX.XX.X.X. ....XXX.XXXXXXXXXXXX.X.XX.XX.XX. ...XXXXXXXXXXX..XXXXXXX.X.XXXXX. .XXXX.XX..XXXXXXXXXX..XXXX...XX. XXXXXXX.XXXX.XXX.XXXXXX.XXXXXXX. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. ................................ end player0color: $FC $00 $00 $00 $00 $00 $FC $FC end if f=0 then player0: %00100100 %10111101 %01111110 %01111110 %11100111 %01011010 %00111100 %00100100 end player0color: $FC $00 $00 $00 $00 $00 $FC $FC end if f=5 then player0: %01000010 %00111100 %11111111 %01111110 %11100111 %01011010 %00111100 %00100100 end if f>10 then f=0 drawscreen if joy0up then y=y-1 if joy0down then y=y+1 if joy0left then x=x-1 if joy0right then x=x+1 if joy0up then f=f+1 if joy0down then f=f+1 if joy0left then f=f+1 if joy0right then f=f+1 goto main Quote Link to comment Share on other sites More sharing options...
+xucaen Posted January 9, 2018 Share Posted January 9, 2018 F=10 Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted January 10, 2018 Share Posted January 10, 2018 If you don't find an answer before Monday or Tuesday I'll post more. Are you really sure that you're using these: atariage.com/forums/topic/123849-visual-bb-10-a-new-ide-for-batari-basic/page-28#entry3537039 atariage.com/forums/topic/214909-bb-with-native-64k-cart-support-11dreveng/ If you are using batari Basic with Stella, you shouldn't be seeing any Supercharger closing doors. Also check out this thread: atariage.com/forums/topic/181045-how-to-attach-files-and-images/ Quote Link to comment Share on other sites More sharing options...
+Lewis2907 Posted January 11, 2018 Share Posted January 11, 2018 (edited) MemberAtarian, I cleaned up your code and added some notes in the section. I would highly recommend RT's Page: http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html I noticed you were trying to use player0colors, but that is a tough to do by itself per the RT's page at: http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#kernelopchart For the dim statements. I recommend going in alphabetical order as it makes it easier to track how many variable you have left. http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#dim I did change some colors and equations around, hopefully this is what you are looking for. Lastly I included 32k so you have more space and banks. 20180110_Giant_Cheese_and_Cat.txt 20180110_Giant_Cheese_and_Cat.bas.bin Edited January 11, 2018 by Lewis2907 1 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.