piders7 Posted December 14, 2016 Share Posted December 14, 2016 I'm building an Adventure-ish game in Batari BASIC. How do you add multiple screens? Quote Link to comment Share on other sites More sharing options...
+Lewis2907 Posted December 14, 2016 Share Posted December 14, 2016 Piders7, Attached is what I used and learned from. If side scrolling that is smooth like Super Mario then http://atariage.com/forums/topic/215171-princess-rescue-batari-basic-source-code/?hl=%2Bprincess+%2Brescue&do=findComment&comment=3177516 has the source code. Also the game I made from all the examples I could find here in the forum is at: Pac_Man Eat n Run http://atariage.com/forums/topic/257359-pac-man-ean-n-run/page-2?hl=%2Bpacman&do=findComment&comment=3617489 There are some tutorials the Random Terrain maintains that I think almost everyone refers to at: http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html Hopes this helps, thanks. Quote Link to comment Share on other sites More sharing options...
ultima Posted December 14, 2016 Share Posted December 14, 2016 Read this thread http://atariage.com/forums/topic/108757-cave-in-pal5060-versions-available/?fromsearch=1 This " move around rooms " demo by seaGTruff was also improved by Spiceware using lookup tables Quote Link to comment Share on other sites More sharing options...
piders7 Posted December 14, 2016 Author Share Posted December 14, 2016 In this demo's source code, how exactly does the room data work? Quote Link to comment Share on other sites More sharing options...
+Lewis2907 Posted December 15, 2016 Share Posted December 15, 2016 Piders7, This what I used to make the data statements that are from the thread that Ultima posted. The excel sheet is where I did the calculations based off of Stargunner's example. Also to move just left and right and not move all directions maybe a little easier to start with. That is what I started with and then moved up to this example. rem player changes screen left and right if player0x=135 then player0x=15 : canal = canal-1 if player0x=10 then player0x=130 : canal = canal+1 if canal > 5 then canal = 5 rem which screen is next left or right if canal = 0 then gosub draw_canal_shape_3 bank6 if canal = 1 then gosub draw_canal_shape_1 bank6 if canal = 2 then gosub draw_canal_shape_2 bank6 if canal = 3 then gosub draw_canal_shape_1 bank6 if canal = 4 then gosub draw_canal_shape_2 bank6 if canal = 5 then gosub draw_canal_shape_0 bank6 The code above is just to move left and right. Hope this helps, thanks. Game Data - Legends Unite.xls move around rooms DPC+.txt move_around_rooms.bas Quote Link to comment Share on other sites More sharing options...
piders7 Posted December 15, 2016 Author Share Posted December 15, 2016 I think I'm beginning to understand. I'll get back to you with my game's renovated code soon. Quote Link to comment Share on other sites More sharing options...
piders7 Posted December 19, 2016 Author Share Posted December 19, 2016 Hold on, I want there to be items in the game. How do I that? Quote Link to comment Share on other sites More sharing options...
+Lewis2907 Posted December 20, 2016 Share Posted December 20, 2016 Piders7, Hopefully this will help. What I did was used a collection of codes I could find here and there and compiled them into one game. I put as many remarks in there to help explain what I was doing. Hopefully this will help. Save Earth - 22 Aug 16 - DPC+.txt 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.