Atomic AGD

User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 »

And the last part: laser of the particle engine is working .... 8)

https://www.youtube.com/watch?v=xr9Z7oD ... e=youtu.be

Next one is scrolly text.

Greetings
Kees
User avatar
Iapetus
Posts: 81
Joined: Wed Feb 12, 2014 1:08 pm
Contact:

Re: Atomic AGD

Post by Iapetus »

What an awesome work you are doing. Congrats.
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 »

Thanks .....

Explosions and enemy collision/hit is added ..

https://www.youtube.com/watch?v=WQAEwfznxdM
https://www.youtube.com/watch?v=VAD0O-rlkxk

Greetings
Kees
User avatar
hoglet
Posts: 12666
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: Atomic AGD

Post by hoglet »

Hi Kees,

This is just so cool, I'm almost speechless!

I notice the videos are slightly jerky at times. Is this just an artefact of the video, or is the rendering running out of cycles and skipping frames? Is it any better at 2MHz?

Dave
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 »

Yes I know ...... I'm using CAMstudio on a not so superfast laptop.
I record at 50Hz because CAMstudio cannot record at 60Hz.

The framerate x capture time must be 1000 and I can only input integers .... :?
camstudio.png
It would be nice to have a capture option in Atomulator like Wouter Ras his emulator had ....... :)

Kees
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 »

I haven't build in a decent timer yet to time the frames at 50 Hz but I think this is too optimistic for 1 mHz.
The engine and the sprite routines also have to be optimized but first I want everything working.

Maybe the Z80 copro is an option ....... :roll:

Greetings
Kees
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 »

User avatar
hoglet
Posts: 12666
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: Atomic AGD

Post by hoglet »

oss003 wrote: This video is recorded at 100Hz: https://www.youtube.com/watch?v=ZJSrCT-SfYQ
Stats for Nerds in YouTube says: 430x360@14.
Stats for Nerds in YouTube says: 430x360@15.

Earlier videos were 430x360@10 I think.

Not sure what to make of that....

Are you on Windows 7 or Windows 10?
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 »

Windows 7.

In Camsstudio I selected region so it records the Atomulator window.

IIRC there was an Electron emulator with record option. Also David Boddie did some testing.

Greetings
Kees
User avatar
davidb
Posts: 3395
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Atomic AGD

Post by davidb »

My fork of Elkulator has a video recording function. I didn't get round to making Atomulator do the same. :(
User avatar
hoglet
Posts: 12666
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: Atomic AGD

Post by hoglet »

davidb wrote:My fork of Elkulator has a video recording function. I didn't get round to making Atomulator do the same. :(
Do you have a link to your fork? I couldn't find it in github.
User avatar
davidb
Posts: 3395
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Atomic AGD

Post by davidb »

It's on Bitbucket but could easily be imported into a repository on GitHub.
User avatar
Dethmunk
Posts: 224
Joined: Fri Jul 01, 2016 1:29 pm
Location: Guildford
Contact:

Re: Atomic AGD

Post by Dethmunk »

:D =D> Loving all the work going on with this. Could open up some much needed interest in the Acorn platforms. :wink:
Image
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 »

Dave,

did you have a look at David's sources at Bitbucket for video capture?
Is it possible to do this in Atomulator?

Greetings
Kees
User avatar
hoglet
Posts: 12666
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: Atomic AGD

Post by hoglet »

oss003 wrote: did you have a look at David's sources at Bitbucket for video capture?
Is it possible to do this in Atomulator?
Sorry Kees, not really had a chance to look at this yet.
User avatar
davidb
Posts: 3395
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Atomic AGD

Post by davidb »

Dave, I've sent you a pull request for your Atomulator repository on GitHub.

I also recorded a video and uploaded it to YouTube but it seems that 512 x 384 is a video size that causes problems as, even after a few minutes, it's still not been processed. :lol:
User avatar
hoglet
Posts: 12666
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: Atomic AGD

Post by hoglet »

davidb wrote:Dave, I've sent you a pull request for your Atomulator repository on GitHub.
Great, I'll merge that this morning.
davidb wrote: I also recorded a video and uploaded it to YouTube but it seems that 512 x 384 is a video size that causes problems as, even after a few minutes, it's still not been processed. :lol:
Could that be fixed in the python code, by scaling/padding?

Seems the standard resolutions supported by YouTube are:
- 2160p: 3840x2160
- 1440p: 2560x1440
- 1080p: 1920x1080
- 720p: 1280x720
- 480p: 854x480
- 360p: 640x360
- 240p: 426x240

None of these are a great match to the Atom vertical resolution - 192 (or a multiple of 192).

Dave
User avatar
davidb
Posts: 3395
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Atomic AGD

Post by davidb »

hoglet wrote:Could that be fixed in the python code, by scaling/padding?
Yes, I'll pad it, I think.
hoglet wrote:Seems the standard resolutions supported by YouTube are:
- 2160p: 3840x2160
- 1440p: 2560x1440
- 1080p: 1920x1080
- 720p: 1280x720
- 480p: 854x480
- 360p: 640x360
- 240p: 426x240
I think the 480p option with padding is the easiest to begin with. I may well make it configurable.
User avatar
davidb
Posts: 3395
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Atomic AGD

Post by davidb »

I was including invalid audio data in the video which YouTube didn't like. Since the upload process can pad the videos itself, I reverted the default video size to 512 x 384, though you can specify a different size if you like.

My first successful upload is now online.

The video is 60 frames per second. I assumed that the Atom's video output is this refresh rate - is that correct?

Sound needs to be looked at because it is handled in a different place to video in Atomulator.
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 »

Thanks David, looks great ..... =D>
Yes the refresh rate is 60Hz.

Greetings
Kees
User avatar
hoglet
Posts: 12666
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: Atomic AGD

Post by hoglet »

I've merged David's commits into master now.

Before releasing this, we need to add the start video/stop video to the windows GUI. I'm looking at that now.

Dave
User avatar
hoglet
Posts: 12666
Joined: Sat Oct 13, 2012 7:21 pm
Location: Bristol
Contact:

Re: Atomic AGD

Post by hoglet »

hoglet wrote: Before releasing this, we need to add the start video/stop video to the windows GUI. I'm looking at that now.
That's now pushed to master as well.

Dave
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 »

Nice job Dave and David but how do I upload the .vid file to Youtube?
I'm getting an error: unknown format.

Do I have to convert it to another format?

Greetings
Kees
User avatar
davidb
Posts: 3395
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Atomic AGD

Post by davidb »

Sorry Kees, it's not quite as simple to use as I'd like. :(

You have to use the tools/frames2avi.py Python script to create an AVI file:

Code: Select all

tools/frames2avi.py video.VID video.avi
That tends to be quite large and probably not ready for YouTube either, but you can at least use a normal video conversion package to get an MP4 or WebM file for upload. The script prints out suggests for command line tools to use but they're probably mostly useful for Linux users.
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 »

Another update ...... scrolly text is working now and some bugs are fixed.
https://www.youtube.com/watch?v=K8Kljb4 ... e=youtu.be
tlt.png
tlt.png (5.29 KiB) Viewed 6234 times
https://www.youtube.com/watch?v=abRciRXs9EQ
test.png
test.png (2 KiB) Viewed 6227 times
Even Terrapins is working now ...
https://www.youtube.com/watch?v=Vh4ykI0 ... e=youtu.be
tp.png
tp.png (3.8 KiB) Viewed 6231 times
Greetings
Kees
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 »

Ok guys,

another update, I fixed some more bugs and added sound.

- Unzip FOGGY into the MMC directory of Atomulator
- Start Atomulator
- Type *FOGGY
- Let the play begin ........

Keys:

Code: Select all

- Z   = Left
- X   = Right
- ;   = Up
- .   = Down
- SPC = Jump
- P   = Inventory (works on the special blocks)
You need a 32KB Atom with 8KB video RAM.

Greetings
Kees
Attachments
foggy.png
foggy.png (9.22 KiB) Viewed 6051 times
FOGGY.zip
(15.37 KiB) Downloaded 58 times
User avatar
oss003
Posts: 3849
Joined: Tue Jul 14, 2009 12:57 pm
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 »

I did some testing with SID music and addded SID music to the AGD game Moritz.
The game didn't use all 32KB RAM and there was enough free space to add SID music during playing.

https://www.youtube.com/watch?v=aEYfZQbPVjE

The same game is compiled for a CPC:

https://www.facebook.com/sabe.baba/vide ... 94915/?t=0

and for a ZX Spectrum:

https://www.youtube.com/watch?v=5SvJ5isWj7Q

Greetings
Kees
Attachments
moritz.png
moritz.png (10.94 KiB) Viewed 5971 times
Last edited by oss003 on Tue Jun 19, 2018 9:46 pm, edited 2 times in total.
User avatar
roland
Posts: 5148
Joined: Thu Aug 29, 2013 9:29 pm
Location: Born (NL)
Contact:

Re: Atomic AGD

Post by roland »

Great work!
FPGAtom: 512 KB RAM, Real Time Clock and 64 colours
MAN WOMAN :shock:
User avatar
tricky
Posts: 7698
Joined: Tue Jun 21, 2011 9:25 am
Contact:

Re: Atomic AGD

Post by tricky »

Great work guys, keep it up.
User avatar
Iapetus
Posts: 81
Joined: Wed Feb 12, 2014 1:08 pm
Contact:

Re: Atomic AGD

Post by Iapetus »

Just played Foggy and it is very much playable. Congrats for all the work it is paying off nicely :)
Last edited by Iapetus on Wed Jun 27, 2018 8:19 pm, edited 1 time in total.
Post Reply

Return to “new acorn atom games made with agd”