Atomic AGD

new games to be launched and discussed here
User avatar
oss003
Posts: 2785
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 » Sun Apr 15, 2018 8:56 pm

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
W_oo_d
Posts: 11
Joined: Wed Feb 12, 2014 1:08 pm
Contact:

Re: Atomic AGD

Post by W_oo_d » Mon Apr 16, 2018 5:17 pm

What an awesome work you are doing. Congrats.

User avatar
oss003
Posts: 2785
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 » Mon Apr 16, 2018 6:54 pm

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: 7631
Joined: Sat Oct 13, 2012 6:21 pm
Location: Bristol
Contact:

Re: Atomic AGD

Post by hoglet » Mon Apr 16, 2018 7:07 pm

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: 2785
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 » Mon Apr 16, 2018 7:35 pm

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: 2785
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 » Mon Apr 16, 2018 7:41 pm

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: 2785
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 » Mon Apr 16, 2018 7:45 pm


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

Re: Atomic AGD

Post by hoglet » Mon Apr 16, 2018 8:00 pm

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: 2785
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 » Mon Apr 16, 2018 8:04 pm

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: 2235
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Atomic AGD

Post by davidb » Mon Apr 16, 2018 8:16 pm

My fork of Elkulator has a video recording function. I didn't get round to making Atomulator do the same. :(

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

Re: Atomic AGD

Post by hoglet » Mon Apr 16, 2018 8:23 pm

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: 2235
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Atomic AGD

Post by davidb » Mon Apr 16, 2018 8:52 pm

It's on Bitbucket but could easily be imported into a repository on GitHub.

User avatar
Dethmunk
Posts: 189
Joined: Fri Jul 01, 2016 12:29 pm
Location: Guildford
Contact:

Re: Atomic AGD

Post by Dethmunk » Wed Apr 18, 2018 10:23 pm

: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: 2785
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 » Mon May 07, 2018 2:25 pm

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: 7631
Joined: Sat Oct 13, 2012 6:21 pm
Location: Bristol
Contact:

Re: Atomic AGD

Post by hoglet » Mon May 07, 2018 9:12 pm

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: 2235
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Atomic AGD

Post by davidb » Mon May 07, 2018 10:43 pm

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: 7631
Joined: Sat Oct 13, 2012 6:21 pm
Location: Bristol
Contact:

Re: Atomic AGD

Post by hoglet » Tue May 08, 2018 6:51 am

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: 2235
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Atomic AGD

Post by davidb » Tue May 08, 2018 9:33 am

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: 2235
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Atomic AGD

Post by davidb » Tue May 08, 2018 10:51 am

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: 2785
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 » Tue May 08, 2018 10:54 am

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

Greetings
Kees

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

Re: Atomic AGD

Post by hoglet » Tue May 08, 2018 11:51 am

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: 7631
Joined: Sat Oct 13, 2012 6:21 pm
Location: Bristol
Contact:

Re: Atomic AGD

Post by hoglet » Tue May 08, 2018 12:37 pm

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: 2785
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 » Tue May 08, 2018 6:36 pm

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: 2235
Joined: Sun Nov 11, 2007 10:11 pm
Contact:

Re: Atomic AGD

Post by davidb » Tue May 08, 2018 7:21 pm

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: 2785
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 » Wed May 16, 2018 9:51 pm

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 730 times
https://www.youtube.com/watch?v=abRciRXs9EQ
test.png
test.png (2 KiB) Viewed 723 times
Even Terrapins is working now ...
https://www.youtube.com/watch?v=Vh4ykI0 ... e=youtu.be
tp.png
tp.png (3.8 KiB) Viewed 727 times
Greetings
Kees

User avatar
oss003
Posts: 2785
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 » Mon Jun 11, 2018 6:23 pm

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 547 times
FOGGY.zip
(15.37 KiB) Downloaded 9 times

User avatar
oss003
Posts: 2785
Joined: Tue Jul 14, 2009 11:57 am
Location: Netherlands
Contact:

Re: Atomic AGD

Post by oss003 » Tue Jun 19, 2018 8:41 pm

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 467 times
Last edited by oss003 on Tue Jun 19, 2018 8:46 pm, edited 2 times in total.

User avatar
roland
Posts: 2941
Joined: Thu Aug 29, 2013 8:29 pm
Location: Born (NL)
Contact:

Re: Atomic AGD

Post by roland » Wed Jun 20, 2018 9:56 pm

Great work!
256K + 6502 Inside
MAN WOMAN :shock:

User avatar
tricky
Posts: 2857
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Atomic AGD

Post by tricky » Wed Jun 20, 2018 10:38 pm

Great work guys, keep it up.

User avatar
W_oo_d
Posts: 11
Joined: Wed Feb 12, 2014 1:08 pm
Contact:

Re: Atomic AGD

Post by W_oo_d » Tue Jun 26, 2018 9:19 pm

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

Post Reply