Log In  

BBS > Superblog
Posts: All | Following    GIFs: All | Postcarts    Off-site: Accounts

So after having a play with PICO for a while I've decided to sink my teeth in. I suspect I'm going to run out of tokens on this unless I get smart about how I implement enemy racers.

Cart #12156 | 2015-08-01 | Code ▽ | Embed ▽ | No License
5

Cursor keys to control the ship, final game will have 9 stages (currently it doesn't check for end of game).

8/1/2015 - So far I've been focusing on the momentum of the ship and movement of the ground.

Next tasks...
-- add engine jets to each side
-- add engine noise
-- change the colour of the grid when you change stages
-- check when you've reached the end of stage 9
-- add enemy ships to bump into
-- bullets
-- lasers
-- music

5
1 comment


running sqrt(0) will hang pico8, infinite loop I guess?
should just return 0

1 comment


Cart #12155 | 2015-08-01 | Code ▽ | Embed ▽ | No License

I was wondering how long it would take me to build a partial version of PONG and I was kind of amazed that nobody really built a PONG for Pico-8 up to now. It misses a number of features but I created at in a few hours while listening to some conference talks at Eurucamp 2015 and I will hopefully give a lightning talk on PICO-8 tomorrow.

0 comments


One thing that would be super handy for development in Pico-8 is an "assert" function which throws an error when a condition isn't met and can optionally print something in response, like the standard lua one.

eg.

assert(x != 0,"this shouldn't happen")

Another nice thing would be a way to write output to a console. you can do this with print, but it usually gets overwritten immediately and lost in the event you need to check up on some history.

log("frame: "..frame.." x is "..x)

also showing a full backtrace on error rather than only the head of the stack would be super helpful.

0 comments


Cart #12128 | 2015-07-31 | Embed ▽ | No License
2

2
1 comment


Cart #12124 | 2015-07-31 | Embed ▽ | No License

0 comments


Cart #12119 | 2015-07-31 | Embed ▽ | No License
1

The first level is a puzzle, followed by 4 combat levels and a boss battle. Play at your own risk.

1
0 comments


Cart #12117 | 2015-07-31 | Embed ▽ | No License

Hi, this is my first level :P it's not that great

0 comments


Cart #12115 | 2015-07-31 | Embed ▽ | No License


YEP. the day has come when weeds have taken over alterania. ENTER: the random. good morning, and get to work! make it to the end, and think outside the box!

0 comments


Transparent here, but shows as bright purple in PICO-8.

1 comment


Cart #12112 | 2015-07-31 | Embed ▽ | No License

0 comments


Cart #12104 | 2015-07-31 | Code ▽ | Embed ▽ | No License
41

A game about flying a damaged ornithopter through a sand storm on Arrakis. 3 levels of windy action! Fake speech synthesis!

Instructions:

Reach the end of each map without crashing into the dunes below or being overtaken by the following sandstorm.

Controls:

left: tilt thopter upward (less speed, more lift)
right: tilt thopter downward (more speed, less lift)
x: fire jet (more speed, fuel recovers over time)
z: air brake (cuts speed, gain a little altitude)

About the game

This is my second PICO-8 game, following on the Dune theme of Shai Hulud; I wanted to make a little flying game about surviving the sand storms of Arrakis as an excuse to experiment with flight model stuff, screen scrolling, and collision detection. I did that stuff and also played with a few other goofy "what if" ideas, and so the code is in places a mess of hacks, which I'm trying to embrace as an okay way to go with experimental P8 games.

[ Continue Reading.. ]

41
7 comments


Cart #12091 | 2015-07-31 | Code ▽ | Embed ▽ | No License
2

One set of tiles that can become six by a mere palette change.
Press arrows or Z/X to change the palette.

2
3 comments


Hi, I was wondering how to interpret the output from the stat function.

I created this simple program and run it:

function _update()
end

function _draw()
	cls()
	draw_debug()
end

_min_mem = 9999
_max_mem = 0

function draw_debug()
	if (true) then
		local _cpu = stat(1)
		local _mem = stat(0)
		local _cpu_c = 6
		local _mem_c = 6

		if (_mem < _min_mem) _min_mem = _mem
		if (_mem > _max_mem) _max_mem = _mem

		if (_cpu > 0.8) _cpu_c = 8
		if (_mem > 250) _mem_c = 8

		print("cpu ".._cpu,0,8,_cpu_c)
		print("mem ".._mem,0,16,_mem_c)
		print("mem min ".._min_mem,0,24,6)
		print("mem max ".._max_mem,0,32,6)
	end
end

This program runs for a while counting memory up and down (garbage collection from switching between editor and game mode?) and freezes on a fixed number from 20 to 45 after a while.

In my game I reach somethling like mem min = 94 and mem max = 268 and it continually fluctuates up and down. In the manual it states that this is a number in the [b]0..255

[ Continue Reading.. ]

2 comments


Notice the program's characters are smaller than 15360 but the compressed version is bigger, and so saving fails

Note also that "saved test3.p8" is a lie

3 comments


It'd be awesome to be able to save/load state in your game like old console games.

Maybe a small per/game buffer we can read from/write to.
Or a virtual memory card type device we can access.

4
7 comments


Cart #12072 | 2015-07-31 | Code ▽ | Embed ▽ | No License
19

First cart! Made this demake of our jam game, Sumo Puckii for some practice! It's 2-player only, so I recommend both gamepads and some friends <3

Mwuah <3 kisses

19
3 comments


Cart #12563 | 2015-08-10 | Code ▽ | Embed ▽ | No License
6

An asteroids-like game for PICO 8.

Controls:

UP: thrust
LEFT/RIGHT: rotate
Z: shoot
X: blast (area attack radiating from ship; uses energy)

Don't get hit by the asteroids; shoot the asteroids for points. Big ones split into medium, medium ones sometimes split, small ones never do.

Each player starts with 3 lives, and also has a "power" gauge. The longer you stay alive, the higher the gauge goes. When it passes certain points, you automatically upgrade (upgrades: more bullets, longer distance bullets, multi-shot). When you die, it resets. The secondary attack ("blast") uses up 1 "tick" of energy (3 ticks per upgrade), so you can choose to use it to save yourself and rack up points, but it will slow down your upgrade path.

At this point, probably all that I'm going to polish on this is sfx and maybe some graphical tweaks.

[b]Original Post

[ Continue Reading.. ]

6
13 comments


Cart #12063 | 2015-07-30 | Code ▽ | Embed ▽ | No License
18

I got to wondering whether you could rotate a sprite in PICO-8. Of course this facility is not provided, but it should be achievable, I thought.

How this works: 3 rotating objects. Arrows move the green cursor among them, and Z or X to toggle each object on or off.

The rotations are slightly ugly, but I think accurate. Smoothing could probably make them look better, but maybe not at reasonable cost. I don't know! Rotating the large sprite is CPU-intensive (and ugly!). I think for small objects this could be used in a game.

Issues:

  • Sprites are rotated about their top left corner. I think this is needed to guarantee that atan2 is one-to-one. But it would be better to rotate around an arbitrary center!
  • I forgot what the other issues are.
18
12 comments


Cart #12047 | 2015-07-30 | Embed ▽ | No License
2


just lettin u know press x 2 shoot and space bar 2 fly(yes fly) and c 2 fall. u also have 1000 hearts.Enjoy!

2
0 comments




Top    Load More Posts ->