Log In  
Follow
jimmi

Cart #fluid-0 | 2021-07-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
12

Demo of particle fluids.
Click, drag and release mouse to push particles around.

12
2 comments



Cart #pic0_el8_trader-1 | 2020-08-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

This is a pico-8 implementation of the trading system from Elite. This allows you to travel the galaxy and buy/sell goods.

Navigation between screens is done using the pause menu. If you can jump to a new planet a prompt will be displayed. Currently this is restricted to a single galaxy.

Intro screen - the option to load a previous game only shows if you have a previous save. Games are saved automatically when docking in a new station.

Commander status - shows all information about the current game, including cash, fuel, inventory and equipment.

[ Continue Reading.. ]

5
3 comments



Cart #bunny_envmap-0 | 2020-04-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
67

This is a demo using tline to perform 3d environment/material mapping in pico8.

Both the object and the texture are stored in sprite memory.

67
6 comments



Cart #pico_physics-1 | 2019-12-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
48

Z/X - previous/next demo
up - turn on/off aabb tree
down - reset simulation

Several physics demos I've written in pico-8. These follow from the work of Erin Catto (see http://twvideo01.ubm-us.net/o1/vault/gdc09/slides/04-GDC09_Catto_Erin_Solver.pdf)

The solver solves both inequality constraints (e.g. collisions) and equality constraints (e.g. joints).

I've reduced the framerate for web down to 30fps, but it works well at 60fps (in face the higher framerate is better for the solver).

Still issues to solve, e.g. jitter on resting contact, so I probably need to do a rewrite at some point.

update
I've added a couple more demos including mass-spring-damper systems

48
12 comments



Demo of 3D lighting and texture mapping.

Cart #feisar-0 | 2019-10-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

updated version without flicker:

Cart #feisar-1 | 2019-10-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

up/down/left/right - orient the model
z - toggle lighting/texture-mapping

18
11 comments



Cart #threed-3 | 2019-09-09 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
30

This cart demos some work I've been doing on 3d rendering - including both flat shading and per-vertex shading.

up/down/left/right - orient
z - change colour palette
x - change render mode

The per-vertex shading is experimental code using sspr for render scanlines from the spritesheet. There are some issues with this - lighting discontinuities possibly fixed-point related.

I wouldn't be surprised if there are some bugs, and I need to update the transform code and add in viewport culling.

Comments/suggestions welcome.

update:

  • increased rendering performance (radix sort + pipeline changes)
  • fixed per-vertex shading
30
6 comments



A simple demo of 2.5D waves.

Cart #waves-1 | 2019-09-07 | Code ▽ | Embed ▽ | No License
13

13
3 comments