Work in progess!
Feel free to use everything as you please. Some creds would be fun, but not mandatory.
The graphics for Ninja.p8 are all made by me, but are heavily inspired by another game, Super Crate Box http://supercratebox.com/
Also a good site I would recommend are https://github.com/clowerweb/Lib-Pico8.
I can't take all the cred though!
Some stuff are more or less done, but I need to sort and clean some stuff.
Will probably create like a WIP folder and have "games" and "tech" as done-folder.
Shadow Test |
Bastion |
Animation |
|
|
|
Real time shadow |
Bastion inspired plattforms |
Animation loop |
I wanted to implement a shadow cast algorithm. It ended up okay, but as you can see there are some seperations between the shadows. Will maybe fix in future ;) |
Bastion, made by Super Giant Games, are one of my favorite games and I really like theirs implementation of the plattforms appearing as you progress into the game. This is my implementation on that. |
Just an animation loop I took from https://github.com/clowerweb/Lib-Pico8 and modified to fit my games better. Thank you guys! |
Bitwise wall detection |
Rolling ball |
jump and fall |
|
|
|
Detect wall facing |
Ball in slope |
Jump and fall test |
This is basically the same as Shadow Test, but with only the walls facing the player in concideration. I used a bitwise technique to determine active wall. It contains a mayor memory leak that I have not yet found! |
WIP! This is suppose to be a ball roling down slopes. My plan is to use graham scan on the map to generate the map with slopes and then make the ball roll down the slopes to the bottom of the screen. |
Just a simple jump and fall implementation with animation. As of now the player can fly by holding down the jump button. Maybe not ideal! :) |
Graham Scan |
Push Objects |
Linear Interpolation |
|
|
|
Graham Scan |
Push some objects |
Linear Interpolation |
This is the graham scan I am planing to use in the Rolling Ball implementation. It is defenetly not finished as you can see on the gif, but atleast I have started of in the right end. I think xD |
Started of as a test to inherit position and to the object above the lower one. Now it is almost a game! I have plans on making this into a game where you compete with a friend on who is faster filling in holes. |
Just a simple linear interpolation test I did. Steer the cube with the arrows and watch it interpolate its way towards that direction! |
Flag test |
List sort |
Polyfill |
|
|
|
Flag test |
Sort a list |
Polyfill |
Simple flagtest. Each color on the cube represent a flag toggled on or off. Use the keys to choose which one to toogle! |
I needed a way to sort a list. This was a simple example I found in the pico-8 forums somewhere. There should be some more efficient way to do this. In some of my implementations this sort function is the one causing performance issues. I think! |
Pico-8 can only draw lines, rectangles and circles as geometries. So I made a polygon filler. I use this in all my shadow implementations. It could probably need some performance improvments! |
Weapon system |
Bitwise wall type |
More to come! |
|
|
|
A weapon system |
Bitwise wall type detection |
Pico-8! |
This is the weapon system I use in my Ninja game. It is more like a mockup just to get a better view of what I wanted to do. |
Bits are a nice way to determine what type of wall each tile is. Every number represent the state of the wall. |
I dont have anymore to show right now, but there are tons of cool stuff on pico-8's website. Check it out! |