Log In  

BBS > Community Superblog
All | Following | GIFs | Off-site

Cart #wiishop-2 | 2021-02-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
11


Hi people I made a demo of the Wii Shop theme in PICO-8

11
4 comments


Cart #pico_stacker_v02-0 | 2020-11-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

This version might need a bit more explaining than the first one:

You start out in song mode. Holding down X and pressing the arrow keys, you can choose a pattern to enter for any given part, for any given bar. Then press O (OK, Z) to jump into that pattern. You can edit all drum parts together for that pattern, then after jumping back out into song mode, you're free to mix and match patterns for different parts. (I'm hoping it'll be easier to build them up this way.)

Alas, as this can only update a few dozen times per second, the tempo is hardwired to 75 BPM, and a bit wonky. But you can choose between three swing (shuffle) amounts: 50% (none); 58% (half); and 66% (full). That's about it, I hope you like it!

2
2 comments


Hey friends. I was looking into how to do a fully custom cartridge label image. The only posts about it I found on the BBS involved creating the image painstakingly from 256 separate sprites, or using a script to muck around with the final .p8.png file. I wanted to have a quick and clean way to export from Aseprite into the format that Pico-8 saves into when using Ctrl-7. That way I can iterate on my label and my game independently of one another, with no extra steps.

Fortunately, Aseprite allows custom scripts to export things. In lua, no less! Here's what you need to do:

Make a 128x128 indexed image.

Select the Pico-8 palette.

Middle click on a color you don't intend to use in your image. That will set that color as the "transparent color" that will be erased to.

Draw your cartridge label to your heart's content. Save it as a .png file.

In File->Scripts, click on Open Scripts Folder.

[ Continue Reading.. ]

8
0 comments


Cart #lemonade_stand-0 | 2020-11-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
27

Do you have what it takes to run a lemonade empire?

Try your luck with Lemonade Stand. Buy your ingredients, perfect your recipe, and set your price. Just don't forget to watch the weather forecast!

Special Thanks

The music for this game was created by @Gruber_Music. I cannot thank you enough for bringing life to this game.

This game is dedicated to my son, Caleb.

Future Work

  • Better transitions between stages
  • High Score list
  • Ability to save game

If you find any bugs, please let me know!

27
18 comments


Cart #spacepouleto-0 | 2020-11-26 | Code ▽ | Embed ▽ | No License

0 comments


Cart #whatthevoid-0 | 2020-11-26 | Code ▽ | Embed ▽ | No License
2

2
3 comments


Cart #kitten_cannon-3 | 2021-02-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

A non-violent remake of the classic flash game Kitten Cannon.

Aim the cannon with the up and down arrows, and fire with x/z to try to get your little stunt kitten to go as far as possible!

Links

Old Versions


v0.3
Cart #kitten_cannon-2 | 2020-11-29 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

v0.2

Cart #kitten_cannon-1 | 2020-11-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

v0.1

Cart #kitten_cannon-0 | 2020-11-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7


7
4 comments


Cart #test60fps2-0 | 2020-11-26 | Code ▽ | Embed ▽ | No License

Heya! I decided to look at my old (well a few months) game and update it to work with 60fps. One problem I've been having is the jump. It's super simple code which means when you jump in the game you jump up super fast. I'd like its acceleration to be slightly slower, and if possible, have a variable jump height. Does anyone have any code examples that could fit within my game code as it stands and make it work better/any variables that could help?

1 comment


Cart #zamboni-13 | 2021-12-12 | Code ▽ | Embed ▽ | No License
5

Been working on this off and on for quite a while and it's the most complicated one I've ever written. Needed to learn camera, palettes, and modulo math. I'm probably the most proud of the dynamic music queuing when the Zamboni shows up, and during the game over screen. Thanks Gruber for all your publicly published music tutorials.

5
2 comments


I seem to have found a weird bug. Normally sfx(-1, -2) will stop sfx on all channels, but if it is triggered by a menuitem callback, it doesn't work; in that case only explicitly stopping sfx on each channel works

to reproduce, enter some notes on sfx 8 (so you can hear when playback stops), then use this code and compare the behavior of the two menu items:

function stop_all_sfx_short()
  sfx(-1, -2)
end

function stop_all_sfx_long()
  for i = 0, 3 do
    sfx(-1, i)
  end
end

function _init()
  menuitem(1, 'stop sfx (-2)', stop_all_sfx_short)
  menuitem(2, 'stop sfx (long)', stop_all_sfx_long)

  sfx(8)
end

function _update()
end

function _draw()
end
0 comments


I'm struggling with a function that randomly picks up an element from a table with ponderated probability. For now this is my current code:

items = {
 {value="a",probability=.35},
 {value="b",probability=.35},
 {value="c",probability=.145},
 {value="d",probability=.145},
 {value="e",probability=.008},
 {value="f",probability=.002}
} -- total probability = 1

function rnd_item()
 local rnd_number = rnd() -- between [0,0.99999)
 local i = 1
 local sum = items[i].probability
 while sum < rnd_number do
  i += 1
  sum += items[i].probability
 end
 return items[i]
end

What is the problem with the implementation? Right, In some cases it crashes because 'i' goes out of bounds. It seems that the problem occurs when rnd_number is near 1 (i.e. 0.99997) but I can't figure out how I fix it.

Is there a better implementation to solve the problem?

1
12 comments


Hi mates,

I'm having some issues with an unexpected (for me) behaviour of rnd() and tostr() functions.

Why this fragment of code prints value 1 if it's supposed that calling rnd() with no arguments produces values from 0 to 0.99999? Does tostr() perform some kind of ceil()?

local rnd_number = rnd()
printh("rnd_number:"..tostr(rnd_number),"maplog.txt")

Output:

rnd_number:0.3293
rnd_number:0.7758
rnd_number:0.5745
rnd_number:0.3691
rnd_number:1
rnd_number:0.0995
rnd_number:0.1682

I need to avoid that '1' value.

5 comments


Cart #thevoid_saturn91_v1_1-0 | 2020-11-24 | Code ▽ | Embed ▽ | No License
4

4
0 comments


Mon premier jeux

Cart #ruhohigiti-0 | 2020-11-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

0 comments


Hi there everybody,
I'd like to create a game and I found this lovely and powerful platoform.

  1. Once the game is finished could I run it on my website or it will be published just here?
  2. Is there any way to develop a game in portrait format? (1080x1920 pixels)

Anyone who can help I'd appreciate it! <3

Thanks and have a lovely day,
caliop.

1 comment


Cart #islandleste999-0 | 2020-11-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

6
18 comments


Cart #skullshooter-0 | 2020-11-24 | Code ▽ | Embed ▽ | No License
11

Hello!! After several months of work on and off, I am proud to share my first pico-8 game!

This is Skull Shooter, a demake/remake of the very first game I ever programmed in high school. It's a top down shmup with randomized enemies and two powerups.

Arrow keys to move, Z to shoot. Green enemies are worth bonus points, and every 50 points a boss enemy spawns that has more HP than regular enemies.

I used the song "Dimensional Rift" from Pico-8 Tunes Vol. 2 (https://www.lexaloffle.com/bbs/?tid=33675) for the ingame music.

11
2 comments


Cart #zopotosebi-5 | 2020-11-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Controls:

  • Arrows: Move Chad's tractor
  • Z: Shoot some grain (consumes 0.1 FARM per shot!)
  • X: Speed boost (consumes fuel!)

Goals:

  • Collect some FARM using Chad's trusty tractor and make some gainz!
  • Keep your tractor above a wheat field to collect some FARM
  • Replenish your (bio) fuel by collecting beets
  • Collect green candles (and avoid red ones!) to increase the FARM price

Enemies:

  • Fences will hurt you: avoid them! (you can pass through them though)
  • Crows will steal grain from the fields: be sure to shoot them before that happens!
  • Fox will try to hit you and steal 15% of your FARM stock: avoid them or shoot them!
2 comments


Cart #holeinone-1 | 2020-11-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
15

v1 (11/28/2020)

Updated with 3 new levels, 2 new object types (lock and key), sfx and music! Though I'm not sure if the sfx and music sound good together... I feel like it gets muddied sometimes and there is too much going on in the audio. Feedback is appreciated!

v0 (11/23/2020)

A golf-based puzzle game I am working on! So far there are only 3 levels but I am planning to add many more, including more types of objects. There is currently no music or sfx but I am planning to add those too, eventually.

15
6 comments


Cart #snowcaps-0 | 2020-11-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

5
1 comment




Top    Load More Posts ->