Log In  
Follow
jimmi
Follow

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

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

P#94987 2021-07-17 11:14

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

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.

Local system - use the arrow keys and o button to select a planet as a hyperspace destination. The yellow ring shows the current planet. The red ring shows the current destination.

Galaxy - shows the current galaxy, hyperspace destinations can be selected like in the local system.

Planet information - shows information about a hyperspace destination. This information is shown when you select a new destination from the system or galaxy screens.

Market - up/down arrows select goods, left/right sell and buy goods.

Equipment - up/down arrows select equipment, o button purchases equipment. If replacing a laser, the cost of the replaced laser is refunded. Most equipment is unused in this game, only fuel has a function.

P#80299 2020-08-03 09:15 ( Edited 2020-08-03 14:03)

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

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.

P#75108 2020-04-21 11:13 ( Edited 2020-04-21 11:18)

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

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

P#70781 2019-12-09 19:29 ( Edited 2019-12-10 17:58)

Demo of 3D lighting and texture mapping.

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

updated version without flicker:

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

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

P#69313 2019-10-26 15:17 ( Edited 2019-10-28 11:34)

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

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
P#67350 2019-09-07 09:55 ( Edited 2019-09-09 15:47)

A simple demo of 2.5D waves.

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

P#67119 2019-09-02 10:20 ( Edited 2019-09-07 09:45)

Follow Lexaloffle:        
Generated 2022-01-17 06:43:07 | 0.081s | Q:34