PICOWARE!
Do you love WarioWare? And do you love PICO-8? What we if we combine them into one game that you can play in your browser, right now?
Say hello to PICOWARE!
Over 50+ developers made 68 microgames during the 24 hour PICOWARE gamejam starting on July 27th 2019, with the intention of combining them together into one bigger game, called PICOWARE!
It's there! Up above! This is the game! The game all the cool kids play! Don't you want to join them? Do you want to stick out? Of course not!
SHARE PICOWARE!
Fancy a fancy link? Here!
is.gd/picoware
Use Twitter? Here's the official tweet-tweet!









Based off of this code posted by this nice gentleman: https://github.com/jonstoler/class.lua
I made some small adjustments so I could have headache-free classes and inheritance in my project.
classdef = {} -- default (empty) constructor function classdef:init(...) end -- create a subclass function classdef:extend(obj) local obj = obj or {} local function copyTable(table, destination) local table = table or {} local result = destination or {} for k, v in pairs(table) do if not result[k] then if type(v) == "table" and k ~= "__index" and k ~= "__newindex" then result[k] = copyTable(v) else result[k] = v end end end return result end copyTable(self, obj) obj._ = obj._ or {} local mt = {} -- create new objects directly, like o = Object() mt.__call = function(self, ...) return self:new(...) end [ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=65881#p) |

Edit: not sure how I'm expected to display multiplication using the syntax here, but assume there's a X or star or whatever between 15 and i etc.
I was trying to initiate this statement here, which I can do:
for i=1,4 do
print(i, 15i-14, 15i-14, 14)
end
But then I wanted to move the diagonal array of 4 numbers with the arrow keys around the screen. I tried the code below but keep getting errors. I'm guessing my argument is setup wrong and I can't call i as the same variable in all these statements and make it work...? Can someone help me understand the immediate problems with the code, and then afterwards if viable suggest an alternative method of doing so. I'm still learning so my immediate concern is figuring out what is wrong here specifically.
function _init()
j= {
x=15i-14,
y=15i-14
}
end
function _update()
if btn(0) then j.x-=1 end
if btn(1) then j.x+=1 end
if btn(2) then j.y-=1 end
if btn(3) then j.y+=1 end
end


can someone tell me why this throws the error "attempt to call global vec a table value"?
vec clearly has its metatable set with a call metaevent
vec= { x=0, y=0, mag=function(o) return sqrt (o.x^2+o.y^2) end, ang=function(o) return atan2(o.x, o.y ) end, nrm=function(o) return vec(o:ang()/360) end, } vecmeta= { __call=function(o,x,y) o =o or {} o.x=y and x or cos((x+90)/360) o.y=y and y or-sin((x+90)/360) return setmetatable(o,vec) end, __eq=function(a,b) a=type(a) == "number" and vec(a,a) or a b=type(b) == "number" and vec(b,b) or b return (a.x==b.x and a.y==b.y) end, __add=function(a,b) a=type(a) == "number" and vec(a,a) or a b=type(b) == "number" and vec(b,b) or b return vec(a.x+b.x,a.y+b.y) end, __sub=function(a,b) a=type(a) == "number" and vec(a,a) or a b=type(b) == "number" and vec(b,b) or b return vec(a.x-b.x,a.y-b.y) end, __mul=function(a,b) a=type(a) == "number" and vec(a,a) or a b=type(b) == "number" and vec(b,b) or b return vec(a.x*b.x,a.y*b.y) end, __div=function(a,b) a=type(a) == "number" and vec(a,a) or a b=type(b) == "number" and vec(b,b) or b return vec(a.x/b.x,a.y/b.y) end, } setmetatable(vec, vecmeta) local test = { pos=vec(0,0), vel=vec(0,0), } |
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]




