Log In  
Follow
mattfox12
[ :: Read More :: ]

I've been working on a handheld for playing PICO-8. It uses a Raspberry Pi Zero, and an Adafruit 1.8" screen for displaying. The screen size is 160x128, so PICO-8 fits perfectly (alright, centered). The buttons and button PCB are robbed from a USB NES controller I had. The case is 3D printed to fit the parts (very tightly). Total size of the unit is 120x45x20mm.

The screen mirrors the output of the HDMI, so you can play with either the TV or built in screen. Currently, it has no internal battery, but I'd like to find a good lipo battery to add. In the meantime, I just connect a USB power stick.

P#19473 2016-03-29 13:11 ( Edited 2017-11-17 02:11)

[ :: Read More :: ]

I'm trying to port Write Fight for playing on a cocktail cabinet (players at opposite ends of a face-up screen). So one of the things I want to do is write text & HUD elements oriented to the player who collected it. Is there a function, such as camera(), where I could flip/rotate all draw calls until reset?

I'm doing work-arounds in the meantime, but I thought I'd throw out the question.
Thanks.

P#10255 2015-04-27 14:49 ( Edited 2015-04-27 18:49)

[ :: Read More :: ]

Cart #10212 | 2015-04-25 | Code ▽ | Embed ▽ | No License
20

Two-player deathmatch game. Players draw lines which will damage the other player if touched. Pick up ink bottle power-ups to increase your draw speed, ink reserve, and refresh speed. Includes 9 characters and 14 randomized maps.

Player 1 keys: Cursors + Z / N
Player 2 keys: SDFE + tab / shift

X/Q change the player color on the home screen.

This is a complete version of my entry into Ludum Dare 32: An Unconventional Weapon. http://ludumdare.com/compo/ludum-dare-32/?uid=15743

P#10213 2015-04-25 18:30 ( Edited 2015-04-26 09:36)

[ :: Read More :: ]

I don't know if this is a bug or feature, but it seems to me that nested loops do not work.

I attempted to use the following code, debugging the text showed that only one loop occurred:

local x=0
local y=0
while(x<16) do
 while(y<16) do
  val=mget(x,y)
  print(val)
  y+=1
 end
 x+=1
end

I don't know if this is intended or a limit of lua, but I was able to work around it with the following code:

local i=0
while(i<256) do
 local x=i%16
 local y=(i-x)/16
 val=mget(x,y)
 print(val)
 i+=1
end
P#10191 2015-04-24 17:22 ( Edited 2015-04-25 14:20)

[ :: Read More :: ]

Cart #10024 | 2015-04-20 | Code ▽ | Embed ▽ | No License
3


Two player game. Players try to draw a line into the other by holding the button down to draw. Pick up ink bottle power-ups to increase your draw speed, ink reserve, and refresh speed.

Player 1 keys: Cursors + Z / N
Player 2 keys: SDFE + tab / shift

Game entered into Ludum Dare 32: An Unconventional Weapon. http://ludumdare.com/compo/ludum-dare-32/?uid=15743

P#10027 2015-04-19 21:22 ( Edited 2015-04-21 01:23)

Follow Lexaloffle:          
Generated 2024-04-16 11:19:24 | 0.068s | Q:14