8-bit_d-boy Posted July 22, 2017 Share Posted July 22, 2017 So I'm making an air hockey game in bB, and it was going fine for a while until it wasn't and I can't figure out why.It says it's a syntax error at like 193, column 0, but I can't for the life of me figure out what the problem is with it. Source attached, go nuts. Feel free to ask any questions. default.bas Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 23, 2017 Share Posted July 23, 2017 Change this: if scoring == 61 then bdx = 8 : ballx = ballx + bvx if scoring == 61 then bdy = 8 : bally = bally + bvy To this: if scoring = 61 then bdx = 8 : ballx = ballx + bvx if scoring = 61 then bdy = 8 : bally = bally + bvy When I tried to compile your program before making any changes, I got this message: 2600 Basic compilation failed! LINE --> complex condition detected --VERBOSE ERROR MESSAGE -- batari Basic v1.01dreveng37 (C)2005-2014 (225) Error: invalid operator: 61 Do you have the latest version of batari Basic? randomterrain.com/atari-2600-memories-batari-basic-commands.html#gettingstarted Quote Link to comment Share on other sites More sharing options...
8-bit_d-boy Posted July 23, 2017 Author Share Posted July 23, 2017 Hey, that fixed it, thanks! Now to get the ball(puck) moving again. Quote Link to comment Share on other sites More sharing options...
+Karl G Posted July 25, 2017 Share Posted July 25, 2017 As a side note, my first attempt at making an Atari game was an air hockey game. I ended up abandoning it, but I'm looking forward to seeing what you come up with. I think it could be a good advanced pong like game, with two dimensions of paddle movement, and variable puck speeds. Quote Link to comment Share on other sites More sharing options...
8-bit_d-boy Posted July 25, 2017 Author Share Posted July 25, 2017 I think it could be a good advanced pong like game, with two dimensions of paddle movement, and variable puck speeds. My thoughts exactly, especially if I can figure out circular collision-reflections. I already have it so that holding the fire button moves the "paddle" faster, and I'm thinking of having the difficulty switches change the controller layout from right-handed to left-handed. Maybe Color-BW switch will be a Pause or NTSC to PAL switch. Not sure what other game variations there could be, so maybe Game Select could toggle pause. 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.