I'm having trouble with my player movement after my map updates. My map seems psuedo-randomize after the 1st screen like I want (I can tinker and fix this later). The trouble I'm having is that my player won't continue moving upwards after the map redraws and resets your position. Essentially every screen seems to treat the lower half as if it's the first screen ie running the collision detection on sprites that don't seem to be there. I'm stumped. Any help would be much appreciated.
This is a custom song and not a remix of any other song. You can use this song in one of your projects as long as you credit me in it. Thank you!
P.S: if you noticed why i kept using the phaser instrument, its because it reminds me of one of the popular games on here called Celeste, and yes i know theres a remake available on pc and consoles.
this is a demake of the Ataritin Bytebeat by Decent-Manager-6169. i have no clue if pico-8 makes this playable as i am new to this but then again this is only a test.
A small health bar demo project. You can tweak the values in the draw_lives() function to change the appearance of the health bar. The 'x' and 'y' variables control the x and y of the top left corner of the health bar, the 'off' variable alters the spacing between the hearts and the 'life' variable controls the number of lives, out of the 'max' variable.
Feel free to use this in any project you may be working on!
Im made new technology
4 SFX that im add
rnd
on function _update
and s that like a musicS use that random SFX like a music
SFX only using phaser wave
Code
s=rnd(2) function _init() end function _draw() cls() rect(s,s,50,50) end function _update() s=rnd(2) sfx(s) end |
A simple arcade like game, the controls are just the left and right arrow keys. In order to start press the X button!
It is still work in progress!
UPDATE
New menu update!
A little topdown game I made in around 3 days. Hope you like it!
P8 Syntax Highlighter
An advanced PICO-8 lua syntax highlighter in just 356 tokens! Call highlight(code)
to receive a printable p8scii string. All the colors can be modified by changing their corresponding p8scii color at the top of the script.
Check it out on | Github
Examples:
All examples generated with P8 Syntax Highlighter
If you end up using this, please share it here!
Updates:
- Implemented string delimitting (or however that's spelt) [397 Tokens]
Cobb's Adventure
Help Cobb on his adventure to eat as much food as possible! This is a classic platformer inspired by similar 80s games.
Features:
- 8 different environments
- Never play the same game twice! Levels are randomly generated every playthrough
- Easy to learn, hard to master - once you can beat the game, go for 3 stars on your score or times!
I strongly recommend a gamepad for this game. If you are committed to keyboarding, consider pressing "Enter" to open the menu, and set "AutoRun" to "ON" so that you dont need to hold a key to run.
How to play:
- On keyboard, left and right arrows move you. Z or C will let you run and throw hammers.
- X or V will let you jump
- You can't throw a hammer until you collect the powerup and get a feather!
- Don't let your hunger meter hit zero! Grab fruit to stay alive!
So... wow, this game took me a long time to finish! I've lived a lot of life while sitting on this game, so it got anything but my full attention. I'm pretty happy with how it turned out. Please chime in with bug reports!
I've made Super Mario Maker 2's Snow theme from the Super Mario Bros. game style into PICO-8
Have a listen:
Hello everyone!
Here's my first PICO-8 project, a fruit-based match 3 game.
- Matches do not have to be in a line; any continuous region of fruits counts
- Modes with limit on moves, limit on time, without limits, or autoplay
- Fruits!
Feedback is welcome.
Like the title says, I have rudimentary collision detection on the top and sides of my sprite but not on the bottom.
I'm very new to game dev, but I have some experience in python. I can't see if I have a typo, or I've made a mistake in following the tutorial I watched.
--player--
function create_player()
player={
state="normal",
sprite=1,
health=4,
x=64,
y=82,
h=8,
w=8,
gravity=0.30,
friction=0.15,
inertia=0,
thrust=0.80
}
end
function collide(o)
local x1=o.x/8
local y1=o.y/8
local x2=(o.x+7)/8
local y2=(o.y+7)/8
local a=fget(mget(x1,y1),0)
local b=fget(mget(x1,y2),0)
local c=fget(mget(x2,y2),0)
local d=fget(mget(x2,y1),0)
if a or b or c or d then
return true
else
return false
end
end
function move_player(o)
o.y+=o.gravity --applies player gravity
local lx=o.x --last x pos
local ly=o.y --last y pos
if (btn(❎)) o.y-=o.thrust --player move
if (btn(⬅️)) o.x-=0.5
if (btn(➡️)) o.x+=0.5
--if the player collides, moves back
if collide(o) then
o.x=lx
o.y=ly
end
end
function ani_player(o)
if btn(⬅️) then --player animation
o.sprite=2
elseif btn(➡️) then
o.sprite=3
else
o.sprite=1
end
end
function draw_sprite(o)
spr(o.sprite,o.x,o.y)
end
Feature Overview
QSORTZ()
Quick sort by z.
- sorts by reference to z from the argument table.
- See the code in the cart for the single value type
QSORT()
where table t is sorted by v. - This function consumes 76 Token.
tb={{id='a', z=1}, {id='b', z=2}, {id='c', z=1.5}, {id='d', z=-0.5}} ?'before sort',6 for i,v in pairs(tb) do ?v.id..':'..v.z end qsortz(tb,1,#tb) ?'\nafter sort' for i,v in pairs(tb) do ?v.id..':'..v.z end --[[ before sort a:1 b:2 c:1.5 d:-0.5 after sort d:-0.5 a:1 c:1.5 b:2 ]] |
Hi Pico-8 community! a few months ago I built a pico8 themed VS code extension, it follows the colour scheme of the pico 8 text editor, and I have also added instructions in the read me on how to get the font and the cursor!
You can get it here: https://marketplace.visualstudio.com/items?itemName=mai314.pico-8-theme&ssr=false#overview
or
-
Open the Extensions sidebar panel in VS Code. View → Extensions
-
Search for Pico-8 theme by mai314
- Click Install
Enjoy!
Screenshot examples
HELLO GUYS
Im made meme song on PICO-8
Im use PICO-8 midi convertor Denote by @bikibird
SONG LIST
NazarFloppaLovesP8-me
Never gonna give you up
[sfx]
Nyan Cat
[sfx]
Other users
Shooting Star Requested @bsm
[sfx]
Pls comment for make new meme songs