Dark Bit Factory & Gravity
GENERAL => Challenges & Competitions => Topic started by: Optimus 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?
-
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 :)
-
Explosive entry there Optimus runs well easy on the eye.
Well done. :clap:
-
Yup. Nice fx - and congratz for keeping it small.
-
This is very nice! It would make a decent screen saver.
-
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.
-
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 get the same problem; and Im using Vista.
Screenie looks cool too :)
-
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
-
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 (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
-
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.
-
Great fireworks! :)
+ nice size.
Works great on my Vista+dualcore.