Log In  

Cart #11461 | 2015-07-05 | Code ▽ | Embed ▽ | No License
22

A veeery old thing I did in 2013 when I didn't really know how to program yet.
I was bored in math class so I did this thingy on my calculator.

I pretty much copy-pasted the whole thing and applied a few fixes for pico8, but it's really the same old code (ewww...)
At the time, the thing blurted out a frame every 28 seconds. Needless to say I was REALLY bored.

nostalgia link to the original code
A friend of mine already adapted it for Love2D a while ago, with much better results (video).

For fun times, try doing what I first did when I wrote this code: setting elasticity above 1/2.

EDIT: oh, yeah, you can control the camera with the arrow keys and reset the cloth with x

P#11458 2015-07-05 08:49 ( Edited 2015-09-06 16:57)

This is cool. It shows how powerful the pico-8 system is.

P#11466 2015-07-06 12:34 ( Edited 2015-07-06 16:34)

Really cool! Simple but super effective... A version colliding against a triangle mesh would be sick, but inevitably kill performance.

P#11474 2015-07-07 09:50 ( Edited 2015-07-07 13:50)

to be honest I could probably improve performance if I rewrote the code but I'm lazy.
I also wanted to add rigidity at some point but the effects wouldn't be very visible on a 15*15 cloth.

P#11479 2015-07-07 12:24 ( Edited 2015-07-07 16:24)

i love it, very relaxing to watch

P#11614 2015-07-15 19:24 ( Edited 2015-07-15 23:24)
1

ARE YOU A WIZARD? DO YOU WEAR A POINTY HAT AND COLORFUL ROBES AND WAVE A POINTY STICK AT YOUR COMPUTER?

P#11850 2015-07-26 12:53 ( Edited 2015-07-26 16:53)

Nice! But... mem keeps increasing?

P#13756 2015-09-06 07:13 ( Edited 2015-09-06 11:13)
P#13762 2015-09-06 11:05 ( Edited 2015-09-06 15:05)

Nice, thanks for the info

P#13766 2015-09-06 12:57 ( Edited 2015-09-06 16:57)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 21:36:21 | 0.012s | Q:26