This is my compo submission for LD41.
The 2 incompatible genres are platformer and minigames. Everytime you jump on an enemy you get to play heads or tails. The idea was to have to play a different minigame every time (e.g. like Wario Ware).
Unfortunately I ran out of time, due to some nasty bugs and not having the whole 48 hours available. I shouldn't have spent this much time on the level generation algorithm either.
- fancy backgrounds,
- bleepy music,
- cool sfx,
- many more minigames,
- an actual goal,
Thought you guys might like it. I needed it to programmatically randomize the look of sprites in my map.
With peek you can read a 32-bit value, while a pixel color is 16 bits. One address therefore holds two pixels. A bit of arithmatic does the trick.
-- set sprite pixel -- s: sprite number -- x: x position of pixel in sprite [0..7] -- y: y position of pixel in sprite [0..7] -- c: new color function ssp(s,x,y,c) addr=flr(s/16)*8*64+(s%16*4)+64*y+flr(x/2) -- current decimal address curr=peek(addr) -- current 2-pixel value if(x%2==0) then -- need to change pixel on the right lcol=flr(curr/16) rcol=c else -- need to change pixel on the left lcol=c rcol=curr%16 end ncol=16*lcol + rcol -- new decimal memory value poke(addr,ncol) end
function ssp(s,x,y,c) a=flr(s/16)*512+(s%16*4)+64*y+flr(x/2) -- 2-pixel address v=peek(a) if(x%2==0) then poke(a,16*flr(v/16) + c) else poke(a,16*c+v%16) end end
This is my entry for LD40. The Ludum Dare theme was "The more you have, the worse it is". Certainly true for food.
In this game you play a glutton, someone who eats a lot. You get fatter and fatter and moving gets harder. How much can you eat over seven courses?
TIP: Play in full screen!
This is my contribution to the Ludum Dare 39 compo. The theme of this LD was Running out of Power.
The year is 3017
Earth is under attack again...
You are the last space pilot.
Unfortunately, your ship has only one generator left..
Choose wisely where you direct its power!
How to play
- Use <left> and <right> arrow keys to move
- Use <up> and <down> to select where you direct your power: recharge your cannon, rockets or shield
- Use <z> to fire your cannon
- Use <x> to fire your rockets
- Catch powerups to replenish some power, do more damage, recover faster
- Note that your cannon is more powerful when fully charged
- The color of the bullets indicate how much damage they do, same for the enemy's bullets.
Update 1.4: bug fix, enemies aiming bullets are now deleted when off-screen
Update 1.5: bug fix, shield powerup never came due to wrong number of powerups in line 241 (changed 4 to 5)