• Welcome to Dark Bit Factory & Gravity.
 

[REDUCED RES] Astrostaraki

Started by Optimus, August 08, 2008

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Optimus

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?
Challenge Trophies Won:

Shockwave

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

Explosive entry there Optimus runs well easy on the eye.
Well done. :clap:

benny!

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:

Pixel_Outlaw

This is very nice! It would make a decent screen saver.
Challenge Trophies Won:

Xalthorn

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:

Optimus

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:

Clyde

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:

Xalthorn

Quote from: Optimus 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:

Jim

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

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:

angle = rand*360
speed = rand*5
initial_x_velocity = cos(angle) * speed
initial_y_velocity = sin(angle) * speed


Jim
Challenge Trophies Won:

Shockwave

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:

Praecor

#11
Great fireworks!  :)

+ nice size.

Works great on my Vista+dualcore.
Challenge Trophies Won: