English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 09 February 2018, 22:22   #1
volvo_0ne
Registered User
 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
AMAL as primary code...

Somewhere in the manual it says you can almost program a complete game in AMAL.

I got around to thinking about this, and have attempted to code a "space invaders" engine almost purely in AMAL and I must say that although it is a pain to keep track of things, and timing considerations are a headache, the results so far are quite fast and accurate.

Has anyone else tried such a project, and if so did you have much success?

see attached file (probably best with A1200 + Fastram)

It's a start, but could surely be improved ..

The game loop is...

Do
Synchro
Wait VBL
Loop

that's it!
Attached Files
File Type: lha AMALinvaders.LHA (37.5 KB, 159 views)

Last edited by volvo_0ne; 10 February 2018 at 00:50.
volvo_0ne is offline  
Old 10 February 2018, 00:52   #2
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,773
Maybe Amiten
Brian bell did Seamore toy capers and got a lot of large Bobs on screen - I think he used alot of Amal
my experience you can get lots of large bobs on screen but is slower on 68000 with average size bobs.
For space invaders you could maybe just use paste bob would be fast but don't know how smooth.
Retro1234 is offline  
Old 14 February 2018, 22:02   #3
volvo_0ne
Registered User
 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
Quote:
Originally Posted by Retro1234 View Post
Maybe Amiten
Brian bell did Seamore toy capers and got a lot of large Bobs on screen - I think he used alot of Amal
my experience you can get lots of large bobs on screen but is slower on 68000 with average size bobs.
For space invaders you could maybe just use paste bob would be fast but don't know how smooth.
The point of my "space invaders engine" wasn't to make a game, but to see if it works in (as far as possible) AMAL only.

Because it's quick and quite friendly (at least more so than machine code, even with the headache of interaction)
volvo_0ne is offline  
Old 14 February 2018, 22:30   #4
Predseda
Puttymoon inhabitant
 
Predseda's Avatar
 
Join Date: Mar 2007
Location: Tromaville
Age: 46
Posts: 7,539
Send a message via ICQ to Predseda
It works quite well!
Predseda is offline  
Old 14 February 2018, 22:55   #5
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,773
I thought it was a question it's obviously possible as it says so in the Manual and Amiten always uses it but if you want to do something interesting make it using Paste Bob.
Retro1234 is offline  
Old 16 February 2018, 00:00   #6
Amiten
Banned
 
Join Date: May 2011
Location: Spain
Posts: 519
Quote:
Originally Posted by volvo_0ne View Post
Somewhere in the manual it says you can almost program a complete game in AMAL.

I got around to thinking about this, and have attempted to code a "space invaders" engine almost purely in AMAL and I must say that although it is a pain to keep track of things, and timing considerations are a headache, the results so far are quite fast and accurate.

Has anyone else tried such a project, and if so did you have much success?

see attached file (probably best with A1200 + Fastram)

It's a start, but could surely be improved ..

The game loop is...

Do
Synchro
Wait VBL
Loop

that's it!

Congratulations that start in your space invaders is very good, it moves very well and also you have managed to break the barrier of the 16 objects by Amal deactivating the interruptions, I agree with you that if you deactivate the interruptions in amal it is a nightmare to carry the control of the timmings because Amal what is good is just that to move everything perfectly and in synchrony when the interruptions are activated with the handycap of limit to 16 objects at same time.

Here is an example of our space invaders that is a mix of Amal and Objets by Amos basic, good as a concept is not bad I think , although I like your gameplay more than ours, it would be great to make a mix of your invaders and mine, exchanging graphics , music and the codes just in case.

greetings and to continue with good work

our space invaders: http://amiten.es/?p=147
Amiten is offline  
Old 16 February 2018, 00:33   #7
volvo_0ne
Registered User
 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
Quote:
Originally Posted by Amiten View Post
Congratulations that start in your space invaders is very good, it moves very well and also you have managed to break the barrier of the 16 objects by Amal deactivating the interruptions, I agree with you that if you deactivate the interruptions in amal it is a nightmare to carry the control of the timmings because Amal what is good is just that to move everything perfectly and in synchrony when the interruptions are activated with the handycap of limit to 16 objects at same time.

Here is an example of our space invaders that is a mix of Amal and Objets by Amos basic, good as a concept is not bad I think , although I like your gameplay more than ours, it would be great to make a mix of your invaders and mine, exchanging graphics , music and the codes just in case.

greetings and to continue with good work

our space invaders: http://amiten.es/?p=147
Wouldn't it have been much better if you could do.........

Synchro (channel)?

or even Synchro (c1 To c2)


However that's not an option

Still a work in progress, and if anyone is interested, I'll post updates when I have something more to show.

Thanks for looking
volvo_0ne is offline  
Old 16 February 2018, 00:47   #8
Amiten
Banned
 
Join Date: May 2011
Location: Spain
Posts: 519
in my case it was a tutorial and the game was created live from 0 in few days during the online viewing of the revision party of 2017. it came out as it came out.

the videos of the making
part1
[ Show youtube player ]

part2
[ Show youtube player ]

etc... there are 4 parts If no remember bad.

will be good to see more of your advances when are done . regards
Amiten is offline  
Old 18 February 2018, 23:24   #9
volvo_0ne
Registered User
 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
Good stuff there Amiten

and very interesting.

My Idea was to make a full screen invaders engine (something like the arcade format).

Obviously using AMOS there would have to be some compromise, but I tried to be as faithful as possible to my memory of the game.

Here is a Prototype I made using a mix of BASIC & AMAL (with a few 8 bit "jokes" thrown in to keep it fun)...
It only plays once but shows what can be done, and what still needs to be done...

Updating & interfacing the AMAL more is top of my list to speed this up ....

thus my original post.

A1200 +Fastram required!
Attached Files
File Type: lha invaders1_1.lha (84.0 KB, 137 views)
volvo_0ne is offline  
Old 19 February 2018, 04:10   #10
Amiten
Banned
 
Join Date: May 2011
Location: Spain
Posts: 519
Quote:
Originally Posted by volvo_0ne View Post
Good stuff there Amiten

and very interesting.

My Idea was to make a full screen invaders engine (something like the arcade format).

Obviously using AMOS there would have to be some compromise, but I tried to be as faithful as possible to my memory of the game.

Here is a Prototype I made using a mix of BASIC & AMAL (with a few 8 bit "jokes" thrown in to keep it fun)...
It only plays once but shows what can be done, and what still needs to be done...

Updating & interfacing the AMAL more is top of my list to speed this up ....

thus my original post.

A1200 +Fastram required!
Cool Mate!! that version I like a lot! I will show in my Amiten TV Show if you dont care , soons when I re-starter the Livestreams.

continue with the great job volvo_0ne, really this version goes in the good way
Amiten is offline  
Old 17 March 2018, 00:03   #11
volvo_0ne
Registered User
 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
Update for Amiten.....

Slow progress, but still quite interactive & quick for AMOS, feel free to use as you want.

A1200 +Fastram required of course.

V1
Attached Files
File Type: lha Invaders.LHA (84.8 KB, 141 views)
volvo_0ne is offline  
Old 18 March 2018, 01:41   #12
Amiten
Banned
 
Join Date: May 2011
Location: Spain
Posts: 519
Quote:
Originally Posted by volvo_0ne View Post
Update for Amiten.....

Slow progress, but still quite interactive & quick for AMOS, feel free to use as you want.

A1200 +Fastram required of course.

V1
SHOWING your game now in live http://www.youtube.com/amitentv
Amiten is offline  
Old 18 March 2018, 21:24   #13
volvo_0ne
Registered User
 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
Thanks Amiten, unfortunately I missed the live stream
volvo_0ne is offline  
Old 11 April 2018, 22:41   #14
volvo_0ne
Registered User
 
Join Date: Mar 2015
Location: Sheffield UK
Posts: 360
Quote:
Originally Posted by Amiten View Post
SHOWING your game now in live http://www.youtube.com/amitentv
Hi Amiten

Do you have a link to the section which shows the game please??
volvo_0ne is offline  
Old 13 April 2018, 01:59   #15
Amiten
Banned
 
Join Date: May 2011
Location: Spain
Posts: 519
Quote:
Originally Posted by volvo_0ne View Post
Hi Amiten

Do you have a link to the section which shows the game please??
The Episode was broken by some youtube trouble when I RECOVER I let you know. Regards

Enviado desde mi ONE LTE HD (ONE TORO) mediante Tapatalk
Amiten is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Animating explosion without amal aszu Coders. AMOS 13 17 March 2016 23:33
More AMAL headaches.... volvo_0ne Coders. AMOS 0 23 February 2016 00:17
AmigaKit Named As Primary Channel Distributor amigakit.com News 61 02 September 2010 01:37
Only finds Primary Display Driver in 1.6.0 Photon support.WinUAE 13 17 June 2009 14:58

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:50.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.13729 seconds with 14 queries