Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Try this example out  (Read 4746 times)

0 Members and 1 Guest are viewing this topic.

Mequa

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 64
Try this example out
« on: May 14, 2012, 07:35:47 PM »

AMAL always had a certain charm...

Code: [Select]
Cls 0 : Circle 16,16,16 : Paint 16,16 : Get Bob 1,0,0 To 34,34
Cls 0 : Circle 16,16,12 : Paint 16,16 : Get Bob 2,0,0 To 34,34
Cls 0 : Circle 16,16,8 : Paint 16,16 : Get Bob 3,0,0 To 34,34
Cls 0
A$="AU(LR2=XM-16LR3=YM-16IR0<>R2JUIR1<>R3JUX"
A$=A$+"U:LR0=XM-16LR1=YM-16DM)"
A$=A$+"LX=130LY=50A0,(1,4)(2,4)(3,4)(2,4)M:MR0-X,R1-Y,25W"
Sprite 1,100,100,1 : Amal 1,A$ : Amal On : Wait Key

I can't think of another language remotely like the above!
Logged

Lonewolf10

  • AMOS Extensions Developer
  • AMOS Dev
  • A2000
  • *****
  • Karma: 3
  • Offline Offline
  • Gender: Male
  • Posts: 618
    • http://www.aliensrcooluk.com
Re: Try this example out
« Reply #1 on: June 05, 2012, 09:08:39 PM »


Yeah, it certainly is very powerful. Unfortunately I never mastered it, but I may try again someday.
Your example is cool and, as it is AMAL, it works even in direct mode too! :)


Regards,
Lonewolf10
Logged

Volvo_0ne

  • A600
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 71
  • A1200 lover
Re: Try this example out
« Reply #2 on: May 28, 2016, 07:35:45 PM »

I find this easier and faster (unless you like the lag on the "ball")

Amal is/was great for some things :)


Code: [Select]
Cls 0 : Circle 16,16,16 : Paint 16,16 : Get Bob 1,0,0 To 34,34
Cls 0 : Circle 16,16,12 : Paint 16,16 : Get Bob 2,0,0 To 34,34
Cls 0 : Circle 16,16,8 : Paint 16,16 : Get Bob 3,0,0 To 34,34
Cls 0
A$="A0,(1,4)(2,4)(3,4)(2,4)L:LX=XM-16LY=YM-16PJL"
Sprite 1,100,100,1 : Amal 1,A$ : Amal On : Wait Key
Logged
Transuranic heavy elements may not be used where there is life.
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022