Log In  
Follow
exelyte

Cart #subhunter-2 | 2019-12-04 | Code ▽ | Embed ▽ | 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.

4
3 comments



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.

2 comments



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


Cart #maze_demo-2 | 2019-03-08 | Code ▽ | Embed ▽ | 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.

[ Continue Reading.. ]

0 comments



Cart #daggerjump-7 | 2019-02-05 | Code ▽ | Embed ▽ | 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
added start screen
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
added explosions on UFO kill
limited dagger lifespan
added UFO explosion sound

[ Continue Reading.. ]

1
2 comments