Log In  
Follow
lucatron
SHOW MORE

Cart #starjump-0 | 2021-03-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
189

You are a star that jumps (video gaming).

Soundtrack: youtube.com/watch?v=qi2jSi0W4JM

Move: arrows or ESDF
Jump: Z/X/N/M

Addition options in menu (P/Enter):

  • Adjust wobble intensity
  • Show timer
  • Skip screen
  • Reset progress

Big thanks to friends and twitter pals for the testing, support and feedback <3

P#88554 2021-03-04 23:33

SHOW MORE

Cart #piano-2 | 2020-06-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
24

A piano controlled by a keyboard or MIDI controller.

left/right: change instrument.
up/down: change input mode.

MIDI input (Mac and Windows)

Use this program to use a MIDI controller. It converts MIDI inputs into keyboard inputs.

Keyboard input

This approach approximates a piano layout using the keyboard (like in PICO-8's SFX editor).

P#78330 2020-06-20 12:32 ( Edited 2020-06-24 08:01)

SHOW MORE

Cart #neon-0 | 2020-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
137

A short song and a little visualizer :)

P#74526 2020-04-07 13:18

SHOW MORE

Cart #birb_tweetcart-0 | 2020-03-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
35

Turn with the left and right arrows keys.
If you fall to the ground you can restart the cart (⏸ -> "reset cart").

x=9y=9u=0v=0 function _update60()cls(7)v+=.07l=sqrt(u*u+v*v)a=atan2(u,v)
if(btn(0))a+=.014
if(btn(1))a-=.014
w=.03-cos(a*2)/50u=l*cos(a)v=l*sin(a)x=(x+u+8)%144-8 y+=v
if(y>120)u*=.9v/=-2y=120
for b=a-w,a+w,w*2 do e=x-8*cos(b)line(x,121,e,121,6)line(x,y,e,y-8*sin(b),0)end end

Annotated:

-- Position
x=9
y=9

-- Velocity
u=0
v=0

function _update60()
  cls(7)

  -- Gravity!
  v+=.07

  -- Convert velocity into polar representation (length and angle).
  l=sqrt(u*u+v*v)
  a=atan2(u,v)

  -- Input! Rotate the angle based on arrow keys:
  -- Left  -> counterclockwise
  -- Right -> clockwise
  if(btn(0))a+=.014
  if(btn(1))a-=.014

  -- Convert velocity from polar back into cartesian.
  u=l*cos(a)
  v=l*sin(a)

  -- Update position using velocity!
  -- x is wrapped around the edges. We could just use x=x%128, but then you
  -- would see the bird teleport at the edges. Instead we add 8px of buffer
  -- at each edge.
  x=(x+u+8)%144-8
  y+=v

  -- Simple bounce at the bottom of the screen.
  -- u*=.9 slightly slows the horizontal velocity
  -- v/=-2 reverse and halves the vertical velocity
  -- y=120 pops it back above the bounce breakpoint
  if(y>120) u*=.9 v/=-2 y=120

  -- The bird is drawn using lines that start at the current position and extend
  -- in the direction opposite of the velocity.
  -- We'll add/subtract w from the polar angle to get the different
  -- angles of the two lines.
  w=.03-cos(a*2)/50

  for b=a-w,a+w,w*2 do
    -- The x position of the tail.
    e=x-8*cos(b)

    -- The shadow
    line(x,121,e,121,6)

    -- The bird
    line(x,y,e,y-8*sin(b),1)
  end
end

P#73903 2020-03-14 05:13 ( Edited 2020-03-14 05:22)

SHOW MORE

Cart #mellow-2 | 2020-01-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
123

A simple endless game that I worked on during GDQ :)

See the menu for additional options:

  • Mute music
  • Hide HUD
P#71962 2020-01-15 13:01

SHOW MORE

Cart #fwitutano-1 | 2020-04-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
28

Experimenting with a simple voxel renderer.
The bike is generated in code!

There's an option in the pause menu (p) to use enable camera controls:
arrows: pan
z+arrows: rotate
x+up/down: zoom

P#71247 2019-12-19 22:00 ( Edited 2020-04-25 08:13)

SHOW MORE

Cart #marballs_2-0 | 2021-06-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
256

A sequel to Marballs, now with verticality, orbs and jump pads!

Controls:
Roll around with the arrow keys, jump with Z and use X to pause and restart.
Use the pause menu (ESC or enter) to return to the main menu.
To swap to 45° controls choose "swap controls" in the pause menu.

Custom Level Packs

Purie by THATUSERUSER

Create and share your own levels using the custom cart below!

Cart #marballs_2_custom-1 | 2021-06-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
256

P#34773 2017-01-02 18:41 ( Edited 2021-06-25 08:03)

SHOW MORE

Cart #12500 | 2015-08-09 | Code ▽ | Embed ▽ | No License
137

A simple Marble Madness clone with three levels.
Move with the arrow keys, jump with Z and pause with X.
Hope you enjoy it :)

Some things I might add:

  • More levels
  • More special tiles
  • Traditional isometric controls as an option (eg right arrow = move down-right)
P#12502 2015-08-09 09:21 ( Edited 2016-10-14 00:48)

Follow Lexaloffle:          
Generated 2024-03-19 02:54:30 | 0.083s | Q:38