Log In  
Follow
Davbo

Hey all! Been messing around with the PICO-8 making things move with the power of math.


Cart #golfescape-0 | 2023-12-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
15

Golf Escape

In this 2D platformer with golf controls, you must aim, charge, then launch yourself around a dangerous abandoned power plant in order to save the worms!

Keyboard recommended.

Big thanks to Rory for contributing to sfx and art, to Polly for supporting me making this and to Connor, Ethan, Joe, Lasse, Polly, Rory and Ruri for play testing.

Also on itch.io:
https://davbo.itch.io/golf-escape

Davbo~

15
4 comments



Cart #dancejab-0 | 2019-11-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
90

This fighting game has only one attack - JAB!
Shuffle and dash till the timing is right to - JAB!
Or footsie to bait your opponent then - JAB!
Hold centre stage. Don't fall off. Dance. JAB!

Inspired by Super Smash Bros. and Divekick.

Two players can share a keyboard. For player 1 the arrow keys move, N dashes and M jabs. For player two, ESDF moves, tab dashes and Q jabs.

Also available on itch.io here:
https://davbo.itch.io/dancejab


Thanks to those who playtested and supported us!

Thanks to TRASEVOL_DOG for the sprite compression code found here: https://www.lexaloffle.com/bbs/?pid=40008 . You can check out his projects here: https://trasevol-dog.itch.io/

[ Continue Reading.. ]

90
14 comments



Cart #54262 | 2018-07-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
216

Rolly

Jump, Roll, Hop and Dive your way through sharp caves to rescue your friends.

Huge thanks to everybody who helped us make this - for contributions big or small. Also, a massive thank you to the Pico 8 community for showing us how it's done!

Controller recommended - here's a link to the game on itch.io which supports xbox controller in browser.
https://davbo.itch.io/rolly

Davbo and Rory~

216
35 comments



Cart #49218 | 2018-02-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
11

I feel like explaining this game would subtract from it. So I'll just say... It's Brainmaze!

Feedback and thoughts would be appreciated! :)

1.0.1 update - made particularly tricky jump near end easier. I do want people to actually get to the ending.

Original:

Cart #49166 | 2018-02-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
11

11
8 comments



Cart #throwpunch1_2-0 | 2019-01-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Throw Punch!! A one button fighting game for two players.

This was a little idea I had to try and make an interesting fighting game with only one button. The aim is to knock your opponent off the mountain. Both players gravitate towards each other and can press their button to throw their fist. When a player throws a fist it moves with the player's momentum plus a factor. However the fist decelerates then moves back towards the player fairly quickly, and your own fist can knock you backwards towards the edge! The idea is each player wants to press the button as late as possible but before their opponent... Or is it as simple as that?

Version 1.2 adds a little polish: a splash screen, a couple other stages, a transition between rounds and games and structures each game into 5 life stock battles.

[ Continue Reading.. ]

4
16 comments




Hey everyone! This is my first time publishing a PICO-8 cart, I'm excited to get involved!
To get myself used to the PICO-8 a bit I thought I'd make a cart that simulates Bezier Curves! To put it simply, Bezier Curves are smooth curves, the plotting of which is influenced by a collection of control points. To put it longform... https://en.wikipedia.org/wiki/B%C3%A9zier_curve

Controls:

  • Use the arrow buttons to move the currently selected control point. (the selected one is highlighted white, while un-selected ones are grey). You will see the curve move as the points of influence move. (Note that it's not really a proper Bezier curve unless all the control points stay still while it is being drawn, I just found it fun to be able to move control points while the curve was being drawn)
  • Press Z to select the next control point in the list. You can then move different points around the map to see how each one influences the curve.
  • Hold X to activate options. While holding X:
    -> tap up to add a new control point. This new control point will appear at a random point on the screen, and will be the new end point for the curve. It will become the selected control point. See how the curve changes based on each control point!
    -> tap down to remove the currently selected control point. The starting control point will become the selected control point.
    -> tap left to reduce the increment value. This means that from moving from the first point to the last point there will be more increments, resulting in a smoother curve. The way I programmed it I only draw one increment each frame, so this will make the drawing slower. If you keep reducing it the curve will stop, and if you go past there the curve will start moving backwards.
    -> Tap right to increase the increment value. This means that there will be less increments when drawing from the first point to the last point, so the curve will be less smooth.

This cart is intended to demo what Bezier curves look like and how you can manipulate them, although I've tried to write it so it will be as easy as possible for anyone to take the bezier curve code out of it for their own purposes! If you want to use Bezier curves in your own code, grab the CALXY(CPS,T) function, the DFOR(I,C,CPS,CPNO,T) and the BINOMIAL(N,K) functions. You should make a variable that calculates how far along the curve you want to find the point for (which my example code calls T). Calculate T however you want, then call CALXY(CPS,T) passing in a 2DArray of coordinates for CPS (ControlPointS) and your T value for T. This function will return the X and Y values at that point. You could use this code to make a game object move along the curve, for example.

Let me know what you think, and if I'm missing any obvious Lua tricks let me know! I'm pretty new to the language.

Updated to display controls at the beginning, and stop big white lines being drawn while moving control points.

6
3 comments