Starfield demo

Talk about programming CreatiVision (except games programming). Projects of homebrew hardware are also welcome.
User avatar
TBCTBC
Posts: 64
Joined: Wed Mar 13, 2013 1:27 pm
Location: Solna, Sweden
Contact:

Re: Starfield demo

Post by TBCTBC » Sat Apr 06, 2013 10:20 pm

Strange, I'm using your version of FunnyMu.
Anyway, here's a third version :)
In this version I have an array for the y coordinate for every (96) star on the screen.
This way the stars don't repeat down the screen as the old version did.
The random values could use some tweaking though.
One other thing is that because I use only two different speeds of the stars, you can see it as two planes moving on top of eachover.
If I had like ten speeds, it would look much better. Maybe next version :)
You do not have the required permissions to view the files attached to this post.
User avatar
TBCTBC
Posts: 64
Joined: Wed Mar 13, 2013 1:27 pm
Location: Solna, Sweden
Contact:

Re: Starfield demo

Post by TBCTBC » Sun Apr 07, 2013 12:36 am

Ok, I made it with four speeds. The code is starting to be a little messy now though :)
I haven't optimized it in any way either. It looks pretty good now I think.
You do not have the required permissions to view the files attached to this post.
User avatar
MADrigal
Site Admin
Posts: 1192
Joined: Sun Sep 15, 2013 1:00 pm
Contact:

Re: Starfield demo

Post by MADrigal » Sun Apr 07, 2013 8:12 am

I really dont understand why I still see everything in single colour...

The 4-speeds thing works great though! :)
User avatar
Mobsie
Posts: 709
Joined: Fri Jun 13, 2008 10:38 am
Location: Weinheim, Germany

Re: Starfield demo

Post by Mobsie » Sun Apr 07, 2013 8:15 am

Hi,

works great, thanks again.
I see some different color but because of the star size is difficult to see.
I use also Funnymu.
Mobsie
User avatar
TBCTBC
Posts: 64
Joined: Wed Mar 13, 2013 1:27 pm
Location: Solna, Sweden
Contact:

Re: Starfield demo

Post by TBCTBC » Sun Apr 07, 2013 9:47 am

I tried FunnyMu in fullscreen mode and it's still difficult to see it blinking actually. You can see though that it looks like a different color if you compare it to the first version where all stars are white.
It probably looks better on the real hardware and a TV.
There a little problem with fullscreen mode and using a dual monitor setup it seems. After I closed funnymu, all my programs switched to my secondary monitor.
User avatar
MADrigal
Site Admin
Posts: 1192
Joined: Sun Sep 15, 2013 1:00 pm
Contact:

Re: Starfield demo

Post by MADrigal » Sun Apr 07, 2013 4:19 pm

I think the blinking is simply too fast, and the colours are too similar.

I tried to change the source code a bit, changing colours and using 2 colours only, and the blinking was well visible.

I have to spend some time in reading the source code, hopefully this week.

Thanks much for all your effort, Ola. :)
User avatar
TBCTBC
Posts: 64
Joined: Wed Mar 13, 2013 1:27 pm
Location: Solna, Sweden
Contact:

Re: Starfield demo

Post by TBCTBC » Tue Apr 09, 2013 11:49 am

Ok, I like the subtle blinking, I don't want it to be irritating and I don't want plain white stars either.
Maybe I'll tweak it when trying on the real hardware.
I'm attaching version 5, I have optimized and cleaned up the code.
You do not have the required permissions to view the files attached to this post.
User avatar
MADrigal
Site Admin
Posts: 1192
Joined: Sun Sep 15, 2013 1:00 pm
Contact:

Re: Starfield demo

Post by MADrigal » Tue Apr 09, 2013 12:41 pm

Got it! :)
User avatar
TBCTBC
Posts: 64
Joined: Wed Mar 13, 2013 1:27 pm
Location: Solna, Sweden
Contact:

Re: Starfield demo

Post by TBCTBC » Thu Apr 11, 2013 2:31 pm

Ok, I have continued programming stars, but this took a while because I had to use some trial and error to find out exactly what I wanted, and also due to some annoying bugs.
I thought I would do some gyruss-type stars this time.
I checked out gyruss for Colecovision (same VDP) here http://www.youtube.com/watch?v=YddOumoKKfs
but I think my version looks better. There's still some improvements I want to do, like coloring and perhaps a second speed.
The source code is a mess though.
You do not have the required permissions to view the files attached to this post.
User avatar
MADrigal
Site Admin
Posts: 1192
Joined: Sun Sep 15, 2013 1:00 pm
Contact:

Re: Starfield demo

Post by MADrigal » Thu Apr 11, 2013 2:44 pm

Woooow it's not bad at all, I really like it!! :D

Just needs a few more stars on screen. :)
Post Reply