English Amiga Board


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

 
 
Thread Tools
Old 02 August 2022, 03:04   #21
DisasterIncarna
Registered User

DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 735
fixed a few dumb errors in the above poor mans starfield example code.
DisasterIncarna is offline  
Old 02 August 2022, 11:11   #22
GamerGrug
Registered User

 
Join Date: Jul 2022
Location: Australia
Posts: 7
Quote:
Originally Posted by DisasterIncarna View Post
fixed a few dumb errors in the above poor mans starfield example code.
Thanks DisasterIncarna! I appreciate the sharing, it really helps me to learn by example.

I ended up looking into the Amos Turbo extension examples and it is very smooth on my A2000! Now to add some Bobs!

I also noticed an extension in Aminet: http://aminet.net/package/dev/amos/stars
Anyone have any experience with that one? I might give it a go.

Thanks again all!
GamerGrug is offline  
Old 02 August 2022, 12:40   #23
DisasterIncarna
Registered User

DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 735
Quote:
Originally Posted by GamerGrug View Post
Thanks DisasterIncarna! I appreciate the sharing, it really helps me to learn by example.

I ended up looking into the Amos Turbo extension examples and it is very smooth on my A2000! Now to add some Bobs!

I also noticed an extension in Aminet: http://aminet.net/package/dev/amos/stars
Anyone have any experience with that one? I might give it a go.

Thanks again all!
Never actually tried any amos extensions back in the day, or recently, probably should have, oh and adding bobs? i had a similar idea, probably shoulda made bullets sprites tho.

[ Show youtube player ]

Demonstration ahoy, some crappy bobs i drew up and throwing in some classic music for the feels.

Last edited by DisasterIncarna; 02 August 2022 at 12:45.
DisasterIncarna is offline  
Old 03 August 2022, 00:46   #24
GamerGrug
Registered User

 
Join Date: Jul 2022
Location: Australia
Posts: 7
ok that is REALLY awesome! thank you!
I had another go last night but yours looks a lot better than the Turbo example, and my Bob is not sitting nicely on screen 1.. a lot of interference/corruption? Apparently Turbo uses interrupt to draw stars so I cannot do double buffering - would that be the reason? Attached (hopefully) is my code so far (but I am going to try your stars tonight).
Attached Files
File Type: txt starfield-ship.txt (581 Bytes, 44 views)
GamerGrug is offline  
Old 03 August 2022, 07:13   #25
DisasterIncarna
Registered User

DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 735
yeah didnt use double buffering, did all the updates manually, heres an archive with a program, 1 shooty sound and an iff used for 2 player ships and their laser beam, basically the bare minimum, remember im doin this via emulation, this will probably choke the real thing, its meant to be a demo of the starfield, which does work.

Add in bobs/etc and it will probably implode on a proper amiga, disable them and it will work fine, the idea is to see how the statr work and bolt something
similar into your own work, thats why what i made has no tricks/screen copys/screen offsetting/etc because your own routines will be doing something similar.

Theres far better examples out there, this is mostly for someone to look at and immediately become inspired to improve on this junk by 1000%, again i only did it because ive never tried anything like this and certainly havent used amos in ages, so wanted to give it a shot

[ Show youtube player ]

Feel free to use/abuse it as you wish, can also use the shitty bobs i drew up in dpaint if you are reall desperate and scraping the barrel

Last edited by DisasterIncarna; 07 September 2022 at 21:11.
DisasterIncarna is offline  
Old 04 August 2022, 00:59   #26
GamerGrug
Registered User

 
Join Date: Jul 2022
Location: Australia
Posts: 7
Hi @DisasterIncarna, didnt get a chance to try your code last night, hopefully tonight.. Can you see any reason in my code the bob is playing up? Any way to fix? I am sure it is something super simple.
GamerGrug is offline  
Old 04 August 2022, 06:33   #27
DisasterIncarna
Registered User

DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 735
probably due to the lack of double buffer, or if not using double buffer, doing a simple Wait Vbl : Screen Swap
.
DisasterIncarna is offline  
Old 04 August 2022, 15:58   #28
GamerGrug
Registered User

 
Join Date: Jul 2022
Location: Australia
Posts: 7
Hi DisasterIncarna, tried loading up your code but AMOS 2 tells me it is not an AMOS program when loading the AMOS file? Are you able to check or send to me as a text file?

I also tried adding Wait Vbl : Screen Swap to my existing code but it did not help, it just slowed it down?
GamerGrug is offline  
Old 04 August 2022, 19:50   #29
DisasterIncarna
Registered User

DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 735
not an amos program? damn, i must have resaved it in amos pro unity, ill redo it in regular amos pro, once i find out why my normal amos pro is complaining about missing files.
DisasterIncarna is offline  
Old 05 August 2022, 00:08   #30
GamerGrug
Registered User

 
Join Date: Jul 2022
Location: Australia
Posts: 7
No hurry, I noticed you posted a txt version on page one of this thread? Is that the same thing?
GamerGrug is offline  
Old 05 August 2022, 05:05   #31
DisasterIncarna
Registered User

DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 735
Quote:
Originally Posted by GamerGrug View Post
No hurry, I noticed you posted a txt version on page one of this thread? Is that the same thing?
similar, but not the same.
DisasterIncarna is offline  
Old 17 October 2022, 00:59   #32
alain.treesong
Aghnar
 
Join Date: Jan 2019
Location: France
Posts: 144
The Pixelated World

New intro 64k. Amiga 500 in mind but should run on all Amiga

Code : Aghnar
Music : mAZE
Gfx : Optic

Click image for larger version

Name:	pixelated1.png
Views:	72
Size:	6.3 KB
ID:	76841

Youtube link : [ Show youtube player ]

Download link (adf) :
https://www.dropbox.com/s/prhyzhb2iqhxamy/pw.adf?dl=0
alain.treesong is offline  
Old 18 October 2022, 00:23   #33
adrazar
Registered User

 
Join Date: Feb 2017
Location: Oslo
Posts: 71
Beatuiful ending screen :O
adrazar is offline  
Old 29 November 2022, 14:53   #34
AF2013
Registered User
 
Join Date: Apr 2013
Location: .
Posts: 244
Nice one alain.treesong
AF2013 is offline  
Old 01 January 2023, 18:22   #35
alain.treesong
Aghnar
 
Join Date: Jan 2019
Location: France
Posts: 144
New code example : solid tetrahedron

Hi,

Here is the nineth Amos code example : today a rotating tetrahedron.
You can find it here : https://github.com/alain-treesong/am...09_tetrahedron

A little video : [ Show youtube player ]

Everybody can now code a nice and smooth cracktro screen in Amos with all the published examples.

And happy new year of course.

Aghnar / Agima
alain.treesong is offline  
Old 02 January 2023, 14:47   #36
AF2013
Registered User
 
Join Date: Apr 2013
Location: .
Posts: 244
Good one alain.treesong and Happy New year all
AF2013 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
[Wip] Amos Professional X : Bring AGA to Amos Pro! freddix Coders. AMOS 52 15 August 2022 05:51
AMOS Files from Writing RPG's in AMOS supercruiser request.Other 0 21 April 2020 14:03
Any good AMOS examples and tutorials? amiman99 Coders. AMOS 14 03 April 2016 06:36
Plasma examples anyone? jobro Coders. General 5 27 November 2005 18:25
Where's the amos.library on the 3-disk AMOS set? andreas support.Apps 0 15 November 2001 17:04

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 19:53.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Page generated in 0.09885 seconds with 15 queries