Welcome to the 4KB Explosions contest! The objective of this contest is creating, some nice, sweet, gorgeous EXPLOSIONS!
RULES:
1. THE .love FORMAT RULE
This means that you will have to define at least 4 functions: loadExplosions, drawExplosions, updateExplosions and newExplosionYou must use the attachedfile as a basis. You can modify anything you want inside explosions.lua, but you can NOT modify anything inside main.lua
The rules above will ensure that everyone plays on an even field.
2. THE 5 SECONDS RULE:
5 seconds is plenty of time. Most explosions are done in less than 1 second. In the attached explosions.love file, a message stays on the screen for 2 seconds. Try changing the value of MAX_TIME to 5. See how long it takes.Each of your individual explosions must end in 5 seconds or less
This way people will be able to see files quickly.
3. THE 4KB RULE:
What!?Your final .love file must weight 4KB or less.
Yeah. 4096 bytes. You can put everything you want inside your .love file, but it can't weight more than that.
This rule is there to prevent explosion sprites. We don't want to see the same animation again and again. These explosions have to be procedural.
- You are allowed to generate images with ImageData and store them on the local filesystem - but your .love file must weight less than 4KB.
- You can use framebuffers, SpriteBatches, Quads for pre-generating special effects
- You will probably want to try using ParticleSystems creatively
Don't waste time generating or including sound if you don't want to.You don't need to include sound
5. THE EMB RULE
Otherwise the previous points are kindof dumb. EMB's entry (on the post below) was added before this rule was made, so his entry is valid.You are not allowed to download stuff from the internet
Date limit
The deadline for this contest is 3 months - you've got until March the 9th.
Evaluation criteria:
- First and foremost, the looks of your explosions are important. Make them shiny.
- Variance - try to include some degree of randomness, so explosions don't look alike.
- Code beauty. Try to put every statement on one line (no semicolons!). Give variables proper names. If later you need 200 bytes more, start considering renaming. But don't obfuscate your code from the beginning.
When you are finished, post your .love file here.
I'll put links to the .love files on the forum post next to this one.
The winner will be decided by popular acclaim.
PRIZE
I'm not able to provide any prize, except for my admiration.
Although If the LÖVE admins want to give a personalized forum status to the winner, that would be very nice.
Aside from contest entries, feel free to comment/ask/whatever on this thread.