Log In  
0

Cart [#44897#] | Copy | Code | 2017-10-03 | Link
0

Ok, it isn't pretty but sometimes you just want to know what the CPU cost of something is. I've started this cart just to see what things cost. This runs at 60fps, so if you're using a 30fps cart, you can divide the CPU cost by 2.

Its structured to be really easy to add more tests to, if you're curious. Let me know if you have any questions! This lives on github at:
https://github.com/ssteinbach/pico8carts/blob/master/performance_test_gallery.p8

PRs welcome!

P#44898 2017-10-03 23:42

1

Cart [#42459#] | Copy | Code | 2017-07-13 | Link
1

I needed a filter for something on another project, so I implemented the very cool 1 euro filter from:
http://cristal.univ-lille.fr/~casiez/1euro/

The parameters are tuned in this gif to make it very obvious, but its controllable.

The code for the filter is at the top of the cart, if you want to see the source. It has a :filter() method that can filter the incoming noisy value.

In the cart: if you click it draws lines. Green line is the input signal, yellow is the filtered signal.

Based on stdlib.p8, built with @stevelavieties.

math filtering euro
P#42460 2017-07-13 23:39

6

Cart [#40479#] | Copy | Code | 2017-05-11 | Link
6

0.6: fixed invincibility bug

Cart [#40275#] | Copy | Code | 2017-05-07 | Link
6

Pushback is a simple action game based on the Ludum Dare theme "One Room".

How to play:
You are the center yellow block. Use the green blocks to push the red monsters back and squish them against the walls.

If the red monsters get next to you, they'll attack you, and you'll get progressively bloodier. Lose all your health and you lose.

Squish all the monsters and you progress. See how many levels you can clear!

Controls:
arrow keys move the green blocks, you can't move yourself.

Made in collaboration with @stevel

Feedback welcome!

action grid
P#40276 2017-05-07 12:09


:: More
X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2017-10-17 06:07 | 0.216s | 1572k | Q:45