Log In  
Follow
Davbo
Follow

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

Cart #dancejab-0 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

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/

Thanks to Zep for making the Pico-8 and for the background code we adapted from here: https://twitter.com/lexaloffle/status/1149043190218891264

Code on GitHub here:
https://github.com/davidjtferguson/dancejab

Made with love by
Davbo and Rory~

P#69899 2019-11-14 20:36 ( Edited 2019-11-14 21:03)

Cart #54262 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
23

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~

P#54263 2018-07-18 14:14 ( Edited 2018-07-31 16:42)

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:

P#49167 2018-02-11 10:52 ( Edited 2018-02-23 16:20)

Cart #throwpunch1_2-0 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

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.

Version 1.1 is here for those who want to play the older version of the game with no menus or transitions

P#48934 2018-02-03 17:32 ( Edited 2019-01-11 18:59)

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.

P#44968 2017-10-07 10:49 ( Edited 2017-10-09 20:35)

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-11-22 22:34 | 0.086s | 4194k | Q:86