ultima Posted March 16, 2016 Share Posted March 16, 2016 I wanted to ask anyone who has some ideas how we can better organize our programs. It seems that lots of things we regularly do like drawing players and playfields...missiles, but is there a better order for when in our main loop we should we be checking controller input? when to update music?..ect It seems like the larger my programs get, the less I have a handle on what the appropriate way to organize it should be. Is there any pointers or helpful threads that have discussed this topic? thanks Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted March 16, 2016 Share Posted March 16, 2016 This link might be helpful to new users: randomterrain.com/atari-2600-memories-batari-basic-commands.html#parts_of_a_program I could also make a new example program by mixing the two below if you think it might help: randomterrain.com/atari-2600-memories-batari-basic-commands.html#sprite_missile_bankswitching_example randomterrain.com/atari-2600-memories-batari-basic-commands.html#ex_sound_with_bg_music Quote Link to comment Share on other sites More sharing options...
ultima Posted March 17, 2016 Author Share Posted March 17, 2016 So would this be about in the ballpark for a starting template? program flow revision 1.bas Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted March 18, 2016 Share Posted March 18, 2016 So would this be about in the ballpark for a starting template? program flow revision 1.bas Kind of. I put the start/restart section before the title screen section and use a bit to let the program know where it should go: randomterrain.com/atari-2600-memories-batari-basic-commands.html#sprite_missile_bankswitching_example 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.