This is a project I made for a class at college. It follows the trajectory of Victor Frankenstein through scenes from the novel "Frankenstein," analyzing how his 'family triangle' of relationships (that is, father, mother, and son, or the lack of these) changes over time. Each scene compares the location in the present day to their depiction in the novel (denoted as "1818").
The code is rushed, highly redundant, and resembles delicious spaghetti; please don't look at it.
Memory Card Game
Flip over two card to see if the pictures match. 1 point for each match is awarded.
For 1 to 4 players. Use a controller for each player.
-
Start: use the menu to:
- select player count (and reshuffle deck)
- toggle music on/off
-
Up/Down/Left/Right: select card to flip over
- Z: flip card over
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
|






1 comment

