Log In  

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

Cart #weaver-0 | 2020-03-09 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

"Weaver"

280 characters

poke(24364,7)::n::z,a,r,f,p=64,0,rnd,rectfill,pset
cls(0)w=r(32)h=r(32)c=1+r(14)d=c+1+r(14)x,y,b=z,z,r(1)f(w,h,z,z,c)f(w,h,w-9,z,d)::_::p(x,y)p(x,h+z-y)p(w+z-x,y)b+=r(.4)-.2x=min(max(x+cos(b),w),z)y=min(max(y+sin(b),h),z)::m::flip()
if(x>w and y>h)goto _
a+=1
if(a>z)goto n
goto m
1
0 comments


I sampled PICO-8 for the first time this weekend. Being a rank novice at programming, I have little idea of what I'm doing. Luckily, given the abundance of PICO-8 resources here and elsewhere, I'm learning quickly!

Here is my first attempt at a game: a barely modified version of Cave Diver from Dylan Bennett's Game Development with PICO-8. I give you: Bat Cave!

Cart #dasanidez-0 | 2020-03-09 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

It leaves a bit to be desired as a "game," but in terms of newbie accomplishments, I'm pretty proud of figuring out how to insert a title screen. That will certainly come in handy later.

Here's to producing better games in the future!

1
1 comment


Cart #pixeljump_cubg-0 | 2020-03-09 | Code ▽ | Embed ▽ | No License
4

Pico Pixel Jump is a remake of Pixel Jump on TIC-80.
It uses some of the PICO-8 secret colours to have a similar palette.

Keep your character jumping on the platform to earn points and get the high score.

Button controls:

  • D-Pad to move the mouse.
  • O/Z to click.

To change characters, click the left side of the title screen.

You can toggle between button and mouse control in the pause menu (P or Enter).

4
0 comments


Cart #marshinfinity_cubg_1-0 | 2020-04-21 | Code ▽ | Embed ▽ | No License
17

Click this to see the itch.io page

v1.2 Multiplayer Update Changes:


=-=-=-=-=-=-=-=-=

New features

  • Added multiplayer!
  • Multiplayer supports up to 6 players using controllers.
  • You can choose from 8 different marshmallow colours by pressing up/down on the title screen.
  • If you get cooked in multiplayer, you become a ghost.
  • Ghosts can temporarily disable pickups for the other players and make the barrier move faster.
  • Normal players can revive ghost players by summoning a cloud and touching a ghost.
  • Reviving a ghost will take away one of your hitpoints.
  • Ghosts will also revive automatically with full health after some time.
  • If everyone is a ghost, the game is over and the player with the most coins wins!

General Changes

  • You can disable flickery effects in the pause menu.
  • The camera now forces you to move forwards if you stop for too long.
  • The score is counted based on coins instead of distance.
  • New areas.
  • Areas will randomly be flipped backwards.
  • Added invincibility powerup.
    [24x24]
  • Added slippery ice blocks.
    [4x4]

=-=-=-=-=-=-=-=-=

[ Continue Reading.. ]

17
4 comments


Cart #cgprospector-0 | 2020-03-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
13

Controls

Arrow keys to move. Z or X to fire.

Walk into a gun to equip it. Collect gold / fuel / light / more guns.

The desktop build works with a gamepad plugged in (tested on Windows 10).

Cardinal Gun Prospector

You have beamed down your remote droid to loot the famed Monster Caverns. You only have enough juice to beam down a simple pop-gun next to you but plenty of weapons are left around from previous visitors. Get in there and loot as much gold as you can!

Made for the 7 Day Roguelike Challenge, 2020.

13
1 comment


Vector math for PICO-8!

Have you ever been looking at your code and been like:
"Hmm, i sure do add two numbers to another set of two numbers a lot," then do i have the solution for you!
At the low low price of like 400 tokens, PICO-8 vector math can be yours!
I originally made this to streamline a platformer I may or may not ever finish, but I realized that other people might want this, flagrant waste of tokens or not.

Features!


-Constructor function: vec2(x,y) will make a vector, vec2(x) copies x twice
-The four basic functions, plus exponetation
-The concentation operator (..) does dot products
-A normalize function

The code

There are two versions of the whole program. One handles errors more gracefully, while the other has a smaller token footprint

Required functions:

The metatable depends heavily on these two functions

  • Constructor

This function creates and gives the right metatable to the given two numbers, saving a few tokens every time you or the metatable itself wants to make a new metatable

function vec2(x,y)
 if (not y) y=x
 return setmetatable({x=x,y=y},vec2mt)
end
  • Argument preperation

This function returns a list of two vectors, either the two vectors passed, or a vector and then a doubles number. This function means you cannot divide a number by a vector, or subtract a vector from a number.

function vecargs(a,b)
if(type(a)=="number")a,b=b,a
 if type(b)=="number" then
  return {a,vec2(b)}
 elseif getmetatable(b)==vec2mt then
  return {a,b}
 end
end

[ Continue Reading.. ]

5
9 comments


Cart #minerunner-0 | 2020-03-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

A cross between an infinite runner and minesweeper.

5
1 comment


can someone tell me why this always fails?
it isn't garenteed to always reach 63,63 even through i floor it.

function main()
	domain=true

	while domain do
	 cls()
		spr(16,4,0,15,2)

		for i=0,8 do star() end
		yield()

	end
end

function star()
 dostar=true
 inst  =
 {
  sx=rnd(127),
  sy=127,
  ex=63,
  ey=63,
 }

	while dostar do
		local dx=flr(inst.sx)==flr(inst.ex)
		local dy=flr(inst.sy)==flr(inst.ey)
		rectfill(0,0,127,24,0)
		print(tostr(dx)..","..tostr(dy),0,0,7)
		if dx and dy then	
			dostar=false
		else
		 pset (inst.sx,inst.sy,7)
		 print(flr(inst.sx).."/"..flr(inst.ex),0,8,7)
		 print(flr(inst.sy).."/"..flr(inst.ey),0,16,7)
			inst.sx+=(inst.ex-inst.sx)*mainstarspd
			inst.sy+=(inst.ey-inst.sy)*mainstarspd
		end
		yield()
	end
end
2 comments


Cart #nudadufuju-0 | 2020-03-07 | Embed ▽ | License: CC4-BY-NC-SA
3

3
0 comments


Cart #pajagupuyi-0 | 2020-03-07 | Embed ▽ | No License
1

1
0 comments


Hello there!

I have been exploring Pico8 for over 2 years now trying to understand coding with let's say "some" progress.

But I'm stuck with Tables. I mean, I get the concept but there's something I haven't got to fully understand therefore I get mixed results.

So I created actors (player, enemy) as tables but I can't make them spawn several instances on screen. So far I have got to draw 5 enemies on stage (at random position) but they keep appearing all the time (where they should appear once), any light about what I'm doing wrong? here's the code:

--init
function _init()
--globals
wave=5
w=112
h=112

--player
pyr={
spt=1,
x=w/3,
y=h/3,
life=10,
spd=2,
flp=false,
idle=true,
}
enms={} --enemies

enm={ --single enemy

spt=10,
life=5,
spd=1,
flp=false,
idle=true,
draw=function()
spr(enm.spt,flr(rnd(w)),flr(rnd(h)))
end,
}

for a=1,wave do
add(enms,enm)
end

end

--draw
function _draw()
cls()
print(#enms,20,20,7) --checking created instances from enms table
foreach(enm,enm:draw())
end


I have read tutorials, videos and everything available but still I haven't figured it out yet :( Any help is much appreciated.

4 comments


BER
by Sness
Cart #berryleste-0 | 2020-03-06 | Code ▽ | Embed ▽ | No License
8

A mod of celeste where you play as a Berry named Bereline.

I was bored.

Here's another mod that I didn't want to make a whole new post for. It is for a friend and I would not recommend playing it.:
Actually I take that back, don't play it.

Cart #gioeste-0 | 2020-03-10 | Code ▽ | Embed ▽ | No License
8

8
7 comments


Title.

How can I change my username on the BBS?

0 comments


Cart #topifaname-0 | 2020-03-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


Howdy ya'll. Maybe someday I'll make a full Cowboy RPG but for now, I just made a cowboy combat system.
Ride on!

0 comments


Cart #justpushthebutton-0 | 2020-03-05 | Code ▽ | Embed ▽ | No License
21

Digging up old Pico-8 jam games that were only on itch.io. This one was made for the Meta Game Jam 2018.

All you have to do is just push the button. It should be easy, although it's been a long time I didn't do it myself, so who knows? For example, the mouse no longer worked and I had to quickly patch keyboard to control pointer. Just use arrow keys, X and C. Hope I didn't mess things up. Coding is strange: you let everything for a while and when you're back, it's like functions have started a life of their own and nothing works like it used to be. Oh well.

The game runs at 60 fps, which is a bit demanding for the web player. For a better experience it is recommended you run it on Pico-8 (download the p8.png or just enter "load #justpushthebutton") or download the game executables from https://elgregos.itch.io/just-push-the-button.

[ Continue Reading.. ]

21
3 comments


Cart #kemobomb-2 | 2020-03-05 | Code ▽ | Embed ▽ | No License
30

Puyo with a twist: an arcade adventure with over 30 levels, and a unique soundtrack composed by Cello!

If you happen to like the game enough, completing the story will unlock Prestige Mode, where the campaign can be played again with increased difficulty.

30
13 comments


COVID-19 is an infectious disease caused by severe acute respiratory syndrome!

Those affected may develop a fever, dry cough, fatigue, and shortness of breath. A sore throat, runny nose or sneezing is less common. Cases can progress to pneumonia and multi-organ failure.

The infection is spread from one person to others via respiratory droplets produced from the airways, often during coughing or sneezing. Time from exposure to onset of symptoms is generally between 2 and 14 days, with an average of 5 days.

Those who suspect they carry the virus are recommended to wear a surgical face mask and seek medical advice by calling a doctor rather than visiting a clinic in person.

Wash your hands after playing!

Downloads over on Itch.io

Cart #covid19-1 | 2020-03-05 | Code ▽ | Embed ▽ | No License
7

[ Continue Reading.. ]

7
3 comments


Cart #lunar_blackout-0 | 2020-03-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

"Lunar Blackout"

279 characters

t,m,v,z,r,c,p=0,16,64,128,rectfill,circfill,pset::_::cls(1)c(99,24,20,7)r(0,v,z,z,0)for i=0,8 do
x=z-i*9y=abs(sin(i*.11))r(x,v,x+7,v-y*44,0)for j=0,z do
c((1+j%4)*t/9%z-i*5+j%63*m-z,m+y*4+j%2*m,6-y*2,2)end
g,h=i*m-t%m,i*32+t%32p(g,v,7)p(h,v)p(g+1,v,8)p(h-1,v)end
t+=1flip()goto _
0 comments


Stepped away from P8 for a while so I find myself a bit confused about the draw and update behavior.

I am trying to make a game where pieces fall and I am using cicfill to create these.

function build_pill(x,y,color,y2,color2)
	radius=2.2
	x2 = x - 3

	pill={circfill(x,y,radius,color),
				circfill(x2,y2,radius,color2)
		}
		add(pills,pill)

		return pill
end

I call it in update:

function _update()
	cls()
	build_pill(30,30,5,30,9)

end

The cls() function keeps erasing my object. However when I remove the cls() function the screen doesnt look right either.

SO

When is the right place to put the cls() and still be able to draw my shapes?

Thanks!

2 comments


WARNING Brief strobe effect in intro. More optimized code and small sprite improvements. Finally got around to adding the menu and sounds. Almost all of the updates after this will be additions to the rules and settings pages.

Cart #mukeheweji-1 | 2020-03-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

2
0 comments




Top    Load More Posts ->