19 March 2023, 08:56 | #1 |
Registered User
Join Date: Apr 2018
Location: Germany
Posts: 195
|
AMAL Beginner questions
I'm playing around with AMOS Pro and have some problems to understand the AMAL sub language. In AMOS Pro manual, p. 07.06.07 is an example of a movement pattern:
Code:
Load "AMOSPro_Tutorial:Objects/Sprites.abk" : Get Sprite Palette SP=4 : Sprite SP,128,100,7 C$="For R0=1 To 300; Let X=X+1; Next R0;" Amal SP,C$ : Amal On SP Direct Now I tried to get this movement repeated endlessly by changing the AMAL string in Code:
C$="Start: For R0=1 To 300; Let X=X+1; Next R0; Jump Start" Does anyone know how to repeat a simple move forever (or until a termination condition)? |
19 March 2023, 13:24 | #2 |
Registered User
Join Date: Nov 2019
Location: Celle / Germany
Posts: 147
|
I guess you just have to reset the X-Position of the Sprite.
It does not work because the variable X is increased endless. |
19 March 2023, 19:16 | #3 |
Registered User
Join Date: Apr 2018
Location: Germany
Posts: 195
|
This solved it, thank you:-)
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A couple beginner questions | Nyala | Coders. Asm / Hardware | 11 | 25 December 2022 01:16 |
Couple of beginner questions | Laika | New to Emulation or Amiga scene | 3 | 08 March 2019 13:10 |
Beginner questions: text display in an Intuition window and scrolling | thyslo | Coders. System | 6 | 07 October 2018 18:47 |
Amiga Emulation Beginner: Questions | beaglelover | New to Emulation or Amiga scene | 1 | 18 February 2016 04:11 |
5 more beginner questions ( A 3000) | amiganer | support.Hardware | 20 | 15 August 2007 07:45 |
|
|