Author Topic: [REDUCED RES] Astrostaraki  (Read 5271 times)

0 Members and 1 Guest are viewing this topic.

Offline Optimus

  • DBF Aficionado
  • ******
  • Posts: 2456
  • Karma: 128
    • View Profile
    • Optimouse Demo Site
[REDUCED RES] Astrostaraki
« on: August 08, 2008 »
I have seen that it's allowed to use only one restriction, like high res with 4 colors, or low res with as many colors as you have. Is that right?

Then this is a lowres attempt (160*120) but not been restricted by the color. I wanted to do something with WU pixels.

It's the first time I try to code something tiny in software. It's less than 2k. Just to give the credits, I use the ddraw framework from iq/rgba. I might use it for my next entries too. No more additional SDL dll, just pure size :)

p.s. Maybe I'll try highres with 4 colors for my next. If I got right the rules?
« Last Edit: August 08, 2008 by Optimus »
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: [REDUCED RES] Astrostaraki
« Reply #1 on: August 08, 2008 »
Your interpretation of the rules is fine :)

I was hoping we'd get some entries that only used one of the criterea so I am happy that you made my wish come true :D

Nice anti-aliased starfield and fireworks Optimus :)
Shockwave ^ Codigos
Challenge Trophies Won:

gooner

  • Guest
Re: [REDUCED RES] Astrostaraki
« Reply #2 on: August 08, 2008 »
Explosive entry there Optimus runs well easy on the eye.
Well done. :clap:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: [REDUCED RES] Astrostaraki
« Reply #3 on: August 09, 2008 »
Yup. Nice fx - and congratz for keeping it small.
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Re: [REDUCED RES] Astrostaraki
« Reply #4 on: August 09, 2008 »
This is very nice! It would make a decent screen saver.
Challenge Trophies Won:

Offline Xalthorn

  • Amiga 1200
  • ****
  • Posts: 331
  • Karma: 100
    • View Profile
Re: [REDUCED RES] Astrostaraki
« Reply #5 on: August 09, 2008 »
I can't watch this :(

I've tried to run it twice and both times it locks my computer forcing me to hard reset.  I get the same issue trying to run some PC demos from other sites so I'm probably missing something on my computer.

Screenie looks good though.
Challenge Trophies Won:

Offline Optimus

  • DBF Aficionado
  • ******
  • Posts: 2456
  • Karma: 128
    • View Profile
    • Optimouse Demo Site
Re: [REDUCED RES] Astrostaraki
« Reply #6 on: August 09, 2008 »
Ah,. I hate when this happens. This is the problem with tiny intros, I am using a framework I don't understand and wrong things happen. I'd prefer something safe that would work in any PC even if it was 20kb more in size :P
Do you have XP or Vista?
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: [REDUCED RES] Astrostaraki
« Reply #7 on: August 09, 2008 »
I get the same problem; and Im using Vista.
Screenie looks cool too :)
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline Xalthorn

  • Amiga 1200
  • ****
  • Posts: 331
  • Karma: 100
    • View Profile
Re: [REDUCED RES] Astrostaraki
« Reply #8 on: August 09, 2008 »
Ah,. I hate when this happens. This is the problem with tiny intros, I am using a framework I don't understand and wrong things happen. I'd prefer something safe that would work in any PC even if it was 20kb more in size :P
Do you have XP or Vista?

I'm using XP Pro 5.1
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [REDUCED RES] Astrostaraki
« Reply #9 on: August 10, 2008 »
Runs OK for me, Vista, nVidia.

For the guys who are having problems, it might be worth visiting here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3&displaylang=en
This takes you to an install which will download just those DirectX components you need to get your system up-to-date.  That might help.

Nice demo Optimus!  One thing you might notice is that your firework explosions look a bit square.
This is possibly because you've done something like
Code: [Select]
initial_x_velocity = (rand * 11)-5
initial_y_velocity = (rand * 11)-5
Which gives you evenly spaced x and y velocities and therefore squarish things.
One way to fix this might be to choose an angle at random for the direction, and a speed at random.
So it could look like:
Code: [Select]
angle = rand*360
speed = rand*5
initial_x_velocity = cos(angle) * speed
initial_y_velocity = sin(angle) * speed

Jim
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: [REDUCED RES] Astrostaraki
« Reply #10 on: August 10, 2008 »
To reduce thye squareness you can also use less dots in the fireworks which would destroy the effect a little bit sadly.

Whenever I have made fireworks I just use the dot sphere formula to plot random dots inside a circular volume, give it a miniscule scale, then when it blows up, multiply  it to expand it and you can add other nice stuff to it like gravity to affect the particles, this gives the best results for fireworks I think.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Praecor

  • Atari ST
  • ***
  • Posts: 176
  • Karma: 13
    • View Profile
Re: [REDUCED RES] Astrostaraki
« Reply #11 on: August 30, 2008 »
Great fireworks!  :)

+ nice size.

Works great on my Vista+dualcore.
« Last Edit: August 30, 2008 by Praecor »
Challenge Trophies Won: