Ultimate Amiga
Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Professional Forum => Topic started by: skateblind on January 27, 2012, 05:39:37 PM
-
I typed the source of a screen/map scroller from the book, "Amiga Game Maker's Manual" and it doesn't not work as intended. It is meant to show a map scrolling with the use of the joystick, but the map display is not working. I have triple checked the code in the book and I have tried to fix the program myself without any success.
The tiles are made correctly, although I can't seem to paste them correctly, maybe the coords are wrong? I have tried all sorts of tricks to get it to work and nothing. I was hoping someone could take a look with fresh eyes and maybe figure it out. The AMOS file is attached, it shouldn't require any extensions, but it was made in AMOS Pro with all the updates.
If you have the book, the source code starts on page 301.
Thanks in advance.
-
Hi:
I just looked at the manual, and it says in the back cover
it was meant for amos basic -not amos pro-so you might be
using the wrong version of amos.
rednova
-
Hi:
I just looked at the manual, and it says in the back cover
it was meant for amos basic -not amos pro-so you might be
using the wrong version of amos.
rednova
afaik , Amos Pro is 100% amos 1.3 code compatible. It even has a backwards compatibilty checker
-
Yes, Hungry Horace is correct. AMOS Pro should work with AMOS 1.3 without any problems. I have a few days off and take a look at the code to see if I can spot anything.
edit:
LOL. Easy fix mate... you'll kick yourself...
Look at MAP_INIT routine. Specifically the start of each line...
TS$="22222222222222222222222222222222222222222222"
... should be...
T$="22222222222222222222222222222222222222222222"
... you added S where it should have been just a dollar sign after the T. If it makes you feel better, I have done that plenty of times myself.
Regards,
Lonewolf10
-
Hi:
Geez Lonewolf, I am impressed by your knowledge of amos !!!
Cheers !!!
Rednova
-
ARGH ****! I searched that program for a good hour or two looking for typos or any lines I missed. Thanks mate, I really appreciate it!
I think the problem was that I had stared at that code for too long and my brain just couldn't work, which is why I needed fresh eyes. :)