Jump to content
8-bit_d-boy

Game won't compile, can't figure out issue (syntax error, no warnings)

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...