Hell Hole: Final Release
Manual
Controls:
- Movement: up,down,left,right
- Attack: Hold X or Z
How To Play:
- Move your avatar around the screen to avoid getting hit by demons and saw-blades.
- Hold the attack buttons to shoot your soul out and control it to hit demons.
- You can't move your body while using your soul. Your body is still vulnerable.
- Let go of the attack button to return your soul to your body.
- You can't damage saw-blades.
- Survive 66 seconds...
Characters:
- Player:
[0x0]





How to use
All value in the make_particle are from 0 to 1 and use either
axis([number], [velocity], [acceleration], [inertia]): progressing value
or
{y, length}: reads a set of values over time in sprite data
make_particle(X, Y, Color, Angle of rotation, lifetime)
you can also use it in conjunction with
make_emitter(function, time, [every x frames])
Thank you
Id really like to hear your feedback on it !
The code
-- Axis are from 0 to 1 -- Axis(x, y, c, r) - axis variable -- {,} - axis texture [1]: texture y position [2]: texture length function make_particle(_x, _y, _c, _r, _maxl) p = { x=_x, [ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=65839#p) |
A flower blooms slowly towards the sky.
This is a game made for the 220th One Hour Game Jam, the theme of which was "Growth".
Cart art by the amazing Wallkick!

A Breakout clone for the CIS102-T301 course. The skyline in the background is a pixel art rendition I made based on this picture by Thor Rudebeck.

A little game that I made, inspired by the classic Asteroids.
It does have a few differences:
- Sprite based graphics.
- Camera is centered on the player.
- Bullets don't wrap, but you can shoot as much as you like.
- No teleport ability.
- Shooting the UFO not only gives bonus points, it also allows experienced players to skip levels.
Edit: In the new version, which is likely the final version, I have added the UFO, more asteroid sprites, an override for the spawn safety, and a little score pop-up that shows how many points you got from shooting something.


can someone tell me why I am getting nil when printing out the stars px and py values?
local stars={} for i=0, 16 do add(stars,{x=rnd(128),y=rnd(128),px=x,py=y,c=7}) end --px and py are equal to x and y drwmenu=function() if btn(2) then menuind-=1 end if btn(3) then menuind+=1 end menuind=mid(0,4) for v in all(stars) do print(v.px) --prints nil print(v.py) --prints nil line(v.x,v.y,v.px,v.py,v.c) --line(v.x,v.y-128,v.px,v.py,v.c) --v.py=v.y --v.y+=8 if v.y > 127 then v.y-=128 end end if (time()-last > 1) then rectfill(0,112,127,120,1) print("press start!",0,114,7) if (time()-last > 2) then last=time() end end end |


does yield() work outside of coroutines and inside functions?
I feel coroutines are a pain to setup and update when it would just be easier to call yield inside a function
not to mention the tokens required to setup coroutines and call/update them
function wait(t) for x=1,t do yield() end end function test() wait(2) print("test") wait(2) end function _update() test() end |



