Follow
exelyte
Follow
 4

Cart #subhunter-2 | 2019-12-04 | Code ▽ | License: CC4-BY-NC-SA
4

Wanted to challenge myself to a one day build, which mostly happened. I've started so many different Pico-8 projects and I just really wanted to "finish" something so I decided to just try and recreate and old classic and give myself one-ish day to complete it.

Managed to create almost the entire game in my arbitrary time limit. I just spent the following morning making a title screen.

Anyways, it's pretty basic game. Just move left and right if you want and time your charges to hit the subs! Drop charges by pressing left and right at the same time. The meter show when a charge is ready to fire.

P#70573 2019-12-04 15:51 ( Edited 2019-12-04 16:05)

Not sure where to post this but I'm having issues listing all the permutations of elements in a table in Pico 8 using this code:

 ```output = {} function permutation(a, n) if n == 0 then add(output,a) else for i = 1, n do a[i], a[n] = a[n], a[i] permutation(a, n - 1) a[i], a[n] = a[n], a[i] end end end cls() permutation({"d","z","2"},3,1) for i=1,#output do for j=1,#output[i] do print(output[i][j],j*8,i*10) end end```

It just seems to add the table with the the elements in the initial order to the output table, but the output table does end up with the correct number of element tables. that is, trying to find the permutations of a 3 element array yields and output table with length 6.

P#67435 2019-09-09 16:18 ( Edited 2019-09-09 16:49)

Cart #maze_demo-3 | 2019-03-21 | Code ▽ | License: CC4-BY-NC-SA

Cart #maze_demo-2 | 2019-03-08 | Code ▽ | No License

update 1: Did a lot of work on the maze generation and traversal to leverage 2d array of nodes data structure that holds the maze. Attempting to make some kind of game using a maze.

Player character: You are the spinning blue circle. you have the power to move through walls and teleport enemies to different squares
Thief: The thief starts in the upper left corner of the maze and naively traverses every square regardless of enemies or items. However, when the thief grabs a key his speed dramatically increases.
Goal: Your goal is simply to move the skeletons out of the way of the thief until he finds the key and unlocks the door to a new random maze.
Controls: press Z to select a skeleton you are on, press Z again to teleport that skeleton to your current location. Press X to pass your turn to the thief.

Initial upload: Recursive back tracking maze algorithm implementation for both generation and traversal. Not a game yet, but you can watch that little guy traverse the entire maze.

P#62692 2019-03-08 18:53 ( Edited 2019-03-21 15:29)

 1

Cart #daggerjump-7 | 2019-02-05 | Code ▽ | License: CC4-BY-NC-SA
1

2/5/2019
Change some music
redesigned the level

TODO:
figure out how to de-couple the background from the level.
currently the entire level is drawn out in the map space. Need to figure out way to draw the levels in code I think, so I can use the map space for the backgrounds of different levels. Currently only enough map space for 1 level...

1/17/2019
redesigned enemy and map layout

1/16/2019:
New parallax background implemented, thanks to this tutorial.
Parallax still kinda buggy i think.

changed UFO shoot sound