Log In  

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

Cart #11994 | 2015-07-29 | Code ▽ | Embed ▽ | No License
21

Per this thread, I wanted to figure out a method for pixel-perfect collision for a project I'm working on, and snaggled the in-project attempt so badly that I decided to start from scratch in a separate cart. This is the result, a little demo that shows pixel (and basic box) collision feedback in real-time on a couple of sprites.

As far as I can tell, the collision test is accurate under the assumptions this cart makes: each sprite is an 8x8 sprite referenced directly off the sprite sheet by sprite number, and any non-0 pixel is considered solid. But beyond that I am making no assumptions about it: I'm sure there are cleaner/faster/neater implementations of the same idea, and I'd encourage anyone who feels like taking a shot at cleaning it up to go for it.

This should also in principle be generalizable to arbitrary rectangles of sprite sheet info for e.g. larger multi-tile player sprites, and in fact I made some progress last night trying to generalize it, but that hasn't totally come together. Anyone who feels like tackling that, go for it.

21
2 comments


Cart #11993 | 2015-07-29 | Code ▽ | Embed ▽ | No License
4

Hey there, I just wanted to have a very quick play with PICO-8 and this seemed like a fun quick test. Single "large" sprite blitted across the screen while being flipped at random, no interaction. Pretty simple and painless, based on an old screen-saver.

Now onto something a bit more involved (but I expect not much).

4
8 comments


Cart #11969 | 2015-07-28 | Code ▽ | Embed ▽ | No License
3

This is again just a test for the web player, both on the music playing and the gfx rendering. I couldn't get the renderer to render a 1x1 thing, but I haven't tried too hard and I have absolutely no idea of what I'm doing when it comes to high perf pixel pushing. My hope is that this will be my first proper music release for the Pico-8, hopefully in August.

3
1 comment


Cart #11962 | 2015-07-28 | Code ▽ | Embed ▽ | No License

Played with PICO-8 for 2 hours. Came up with this simple shooter.

0 comments


Hi! I'm enjoying getting started with Pico-8!

Does anyone here use IRC or is there already a pico8 channel somewhere?

Happy to start one if not.

4
6 comments


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

Added:

  • flowers
  • a couple sfx.

Todo:

  • more sfx
  • music
  • splash screen

Cart #11979 | 2015-07-29 | Code ▽ | Embed ▽ | No License
3

Controls:

  • move with arrow keys
  • change tool with x
  • use tool with z

Added:

  • sun/moon
  • clouds
  • rain

Cart #11949 | 2015-07-28 | Code ▽ | Embed ▽ | No License
3

[ Continue Reading.. ]

3
1 comment


Seeing screenshots of 3d[-ish] games here and there, a question arises - how does one draw filled triangles, and does so efficiently? I have tried porting one-before-last-step algorithm from here:
http://forum.devmaster.net/t/advanced-rasterization/6145
which resulted in this little monstrous function:
https://gist.github.com/YellowAfterlife/34de710baa4422b22c3e
but, alas, the math is just too much - it can barely draw half of screen worth of triangles before CPU use reaches 1.0. And that's before there's even any game!
I'd appreciate some pointers towards algorithms more suitable for pico-8. Or any help, really.

2
2 comments


I've only ever done really minimal/logical collision stuff in games, so more general collision strategies are still sort of mystery meat to me. I'm working on a little test idea with a ship flying near uneven terrain that the player will need to avoid colliding with, and I'm trying to work out a good approach to doing that per-update collision test between the ship and nearby terrain.

If I've got a ship sprite, and a given nearby sprite of map where only a portion of the sprite is solid ground (say, a diagonal chunk of hill), how might I approach writing a collision detection routine for the two? Something using pget for the ship and terrain sprites and appropriate x/y offsets to check for any case where both pixels are non-transparent?

1
9 comments


Just a quick test redrawing the whole screen with a sprite by sprite animation, mostly to test the performance of the web player.

Cart #11925 | 2015-07-27 | Code ▽ | Embed ▽ | No License
1

1
2 comments


Cart #11901 | 2015-07-27 | Code ▽ | Embed ▽ | No License


A result of me playing with the CAMERA as a function of time, and an nod to Vlambeer.
API INTENSIFIES

1 comment



small grid roguelike.

Press z to use items that you pick up, each inventory slot can only be used in the direction it is picked up in. Complete quests for bonus points!

8 ITEMS! 3 ENEMIES! 3 QUESTS!


green potions heal
red potions hurt
blue potions freeze

changelog
0.5
fixed long standing "out of memory" bug
tweaked quest bonus
added highscore saving

0.4
quest where you have to bring at least 3 potions to the exit
enemy that waits until it sees you, at which point it paths towards where it last saw you

0.3
fogs now effect the enemies that they are throw at
better memory management (maybe)
in game sound effects

27
8 comments


Cart #11977 | 2015-07-29 | Code ▽ | Embed ▽ | No License
3

Cart #11879 | 2015-07-27 | Code ▽ | Embed ▽ | No License
3

Cart #11870 | 2015-07-27 | Code ▽ | Embed ▽ | No License
3

This is my first (nearly!) working game in PICO-8. It's a simple Pong clone. Currently lacks sound but I'll update it once I figure out how the SFX editor works.

3
7 comments


I can't for the life of me figure out how sound effects or music editing works! Does anyone have any information anywhere? I suspect that if I already knew how any other tracker worked I would be able to understand this, but I do not.

I read what the manual said but it is too abstract. Can anyone give just a little more information?

Thanks

2
11 comments


Cart #17501 | 2015-12-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Vomit Comet
By XenosNS

When you are a simple comet, minding your own business while flying through the cosmos, the last thing you want is to fly into a large vomit nebula. Unfortunately, this is exactly what has happened to you.

Use arrow keys to avoid the vomit.

Each time you hit vomit, your tail reduces. If your tail disappears, the game is over.

Grab a barf bag to restore a piece of your tail.

Created for the Halifax Game Collective pageant with the themes of "continuous motion" and "two words that rhyme"

updated version. Removed the ability of the barf bag to clear vomit due to memory error

4
2 comments


Cart #11865 | 2015-07-27 | Code ▽ | Embed ▽ | No License
1


Edt:
Moved start place.
Started on death explosion.

Cart #11862 | 2015-07-27 | Code ▽ | Embed ▽ | No License
1

My first attempt at Pico-8

Edit:
Updated to fix collision and added simple start screen.

1
1 comment


Cart #11968 | 2015-07-28 | Code ▽ | Embed ▽ | No License
14


Controls :
<- to slow down the palette shifting
-> to speed up the palette shifting

edit: changed the dragon's movement a bit

14
4 comments


Cart #11897 | 2015-07-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

Cart #11846 | 2015-07-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10


EDIT: NEWER VERSION
I just found out about PICO-8 yesterday and spent last afternoon and this morning learning about it and making this simple game! I already knew enough Lua to figure it out pretty quick. I might make an update with sound and/or particle effects and I might also just make a whole new game, not sure yet! Anywho, it's a 2-player TRON game you win by making your opponent crash into a trail or the side of the screen have fun!

[ Continue Reading.. ]

10
1 comment


Cart #11980 | 2015-07-29 | Code ▽ | Embed ▽ | No License
19

An implementation of Conway's Game of Life cellular automata.

Wikipedia: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
Game of Life wiki: http://www.conwaylife.com/wiki/Main_Page

v0.1: Initial version. GoL simulation uses the screen itself for storing cell data, using the two-line buffer method, with null edges.
v0.2: Pattern library. Audible feedback. Small bug fixes and performance improvements.
v0.3: Performance improvements. Pattern placer now lets you stamp multiple copies until you cancel. Simulation displays a generation count. Small visual changes.

19
22 comments


Cart #11810 | 2015-07-24 | Code ▽ | Embed ▽ | No License

2 comments


Cart #11903 | 2015-07-27 | Code ▽ | Embed ▽ | No License
21

Cart #11823 | 2015-07-25 | Code ▽ | Embed ▽ | No License
21

Cart #11798 | 2015-07-24 | Code ▽ | Embed ▽ | No License
21

An implementation of a the classic "Snake" game, with a big dose of Herbert/Lynch dressing.

[b]New in 0.3!

[ Continue Reading.. ]

21
6 comments




Top    Load More Posts ->