jman1093 Posted December 30, 2008 Share Posted December 30, 2008 I'm new to programming in Batari (but not in BASIC), and I was wondering if there are any tutorials for Batari that teach you how to make the games rather than just install the program (refering to the one on the Batari website) Any help would be appreciated! jman1093 Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted December 30, 2008 Share Posted December 30, 2008 Take a look at Random Terrain's Site. Also take a look at this thread with code snippets and samples for beginners. Quote Link to comment Share on other sites More sharing options...
jman1093 Posted December 30, 2008 Author Share Posted December 30, 2008 (edited) Thanks for the help... The code snippets REALLY HELP However, I am currently stuck on tutorial 4 (fire a missile), I don't understand what these lines are for: if x>140 || missile0x>140 then missile0y=11 if !joy0fire then fire=0 : x=p0x : missile0x=0 : missile0y=0 if joy0fire then missile0x=x+8:missile0y=p0y-y-6 if fire<60 && missile0x>135 then missile0y=0 if fire<60 then x=x+2 else missile0y=0 if fire>250 then fire=25 fire=fire+1 Thanks for the help Edited December 30, 2008 by jman1093 Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted December 30, 2008 Share Posted December 30, 2008 Hm... i assume you don't understand the boolean operators ? Quote Link to comment Share on other sites More sharing options...
jman1093 Posted January 1, 2009 Author Share Posted January 1, 2009 Nope... I get those. It's just that I don't know what this section even does for the program. Quote Link to comment Share on other sites More sharing options...
Impaler_26 Posted January 2, 2009 Share Posted January 2, 2009 Nope... I get those. It's just that I don't know what this section even does for the program. Ok... I'm a bloody beginner myself and i suck at explaining things but basically the lines you asked about move the missile across the screen and check the missile x position and if the joystick button is pressed. There are other people here who can explain this stuff much better so i hope one of them will answer your question in detail. But meanwhile i found a thread with a tutorial that's really helpful for beginners: http://www.atariage.com/forums/index.php?showtopic=111938 Btw, have you compiled anything with bB yet? I learned more stuff from playing around and changing sample code or games than i learned from reading tutorials... Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted January 4, 2009 Share Posted January 4, 2009 However, I am currently stuck on tutorial 4 (fire a missile), I don't understand what these lines are for . . . Have you looked at these sections yet: http://www.randomterrain.com/atari-2600-me...ds.html#boolean http://www.randomterrain.com/atari-2600-me...ommands.html#if Quote Link to comment Share on other sites More sharing options...
jman1093 Posted January 4, 2009 Author Share Posted January 4, 2009 Yes I have read over those sessions and I understand them for I have programmed in BASIC before. I understand the basic commands, but what I don't get is what will happen when the button is pushed (I know that a missile would fire) but I want to know what each individual line does. thanks jman1093 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.