Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 07:54 04 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Game problem

Author Message
rambo55
Newbie

Joined: 11/12/2012
Location: Australia
Posts: 15
Posted: 09:33am 23 Dec 2012
Copy link to clipboard 
Print this post

I have a colour maximite trying to run old Invaders game I have the joystick connect to maximite run the game press fire button everything is ok for about one sec and this what happen on the screen

463 4720 if Invaders (1 , m) <> 121 Then Invline (1) = Invline (1) +1
Error; Incorrect Expression Syntax

I am new to this maximite program and it will take some time for me to understand as I have only program some on the C64.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 10:37am 23 Dec 2012
Copy link to clipboard 
Print this post

It could be because there is a space after Invline - both times that it is used.
Geoff Graham - http://geoffg.net
 
rambo55
Newbie

Joined: 11/12/2012
Location: Australia
Posts: 15
Posted: 11:03am 23 Dec 2012
Copy link to clipboard 
Print this post

  rambo55 said   I have a colour maximite trying to run old Invaders game I have the joystick connect to maximite run the game press fire button everything is ok for about one sec and this what happen on the screen

463 4720 if Invaders (1 , m) <> 121 Then Invline (1) = Invline (1) +1
Error; Incorrect Expression Syntax

I am new to this maximite program and it will take some time for me to understand as I have only program some on the C64.



I have try everything and space still the same
 
darthmite

Senior Member

Joined: 20/11/2011
Location: France
Posts: 240
Posted: 12:16pm 23 Dec 2012
Copy link to clipboard 
Print this post

Here is the last version i made for maximite v2.x
2012-12-23_220725_Space_Invaders.zip
Now you said you have a colour maximite ... hmmm
Colour maximite use other resolution , the old with line number and B/W was
made for PAL Video output.
For made it easier for you if the last computer you have program was the C64,
just get the example library on the Geoff page and test the program/game made
for the colour Maximite.
And it will be good to not made duplicate post about the same program or game
i refer here at this one : invaders button

Cheers.

Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 12:16pm 23 Dec 2012
Copy link to clipboard 
Print this post

  Geoffg said   It could be because there is a space after Invline - both times that it is used.

also a space after the word Invaders. That won't help either.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5912
Posted: 12:19pm 23 Dec 2012
Copy link to clipboard 
Print this post

There is a space between Invaders and ( .
There are also spaces between the two Invline and (

Remove these spaces and give it a try.

I don't have a copy of the version of Invaders that you are using to test it here.
The latest version is without line numbers but it also has an extra space in a similar place (line 471)

Jim

VK7JH
MMedit   MMBasic Help
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024