Log In  

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

Hallo ,
I am making a game with a monster and need your help.
I want that when the monster touches the figure the figu death.
This is the code:
monster = {}
monster.x = 30
monster.y = 30
monster.sprite = 10

and

player = {}
player.x = 8
player.y = 8
player.sprite = 0

and

monster.sprite = monster.sprite + 1
if monster.sprite > 015 then
monster.sprite = 010

Thanks for your help!!!

2 comments


Cart #54274 | 2018-07-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

0 comments


Cart #54370 | 2018-07-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Hello all -

Here is my first completed Pico8 cart - also my first programming project, as I am attempting to learn all this from scratch (programming in general, and Lua and Pico8 in particular). I've been trying to slowly let things sink in without much of a rush in order to not get too frustrated too quickly :D

Nothing to write home about about this cart - this is a simple countdown timer, showing progress over 5 sub-tasks for a desired total length. Eventually I'd like to make it a little prettier, like this :

... but that would require me to get down the rabbit hole of a custom triangle fill function, so I'll leave that for another day :)

Also uploading this here in order to have access to on-screen controls on mobile. I actually first imagined this as a standalone app for desktop ... but with Pico8 running slower when not in focus that made it unusable :D So, mobile it is then.

Thank you for your time !

2
4 comments


Cart #54262 | 2018-07-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
247

Rolly

Jump, Roll, Hop and Dive your way through sharp caves to rescue your friends.

Huge thanks to everybody who helped us make this - for contributions big or small. Also, a massive thank you to the Pico 8 community for showing us how it's done!

Controller recommended - here's a link to the game on itch.io which supports xbox controller in browser.
https://davbo.itch.io/rolly

Davbo and Rory~

247
38 comments


Cart #54247 | 2018-07-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

Mausoleum Quest is a small action adventure game where you explore an old and ruined place, inhabited by dangerous drones. It looks peaceful, but the quest will be difficult.

The controls are simple: an attack key, and a dash key to escape your opponents attacks and jump from a platform to anther.

Credits:
pathfinding from picozine 4 by richy486
collision script inspired from this cart by Zep
animation function by Scathe

8
8 comments


Cart #54241 | 2018-07-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
12


Made my own version of 2048 to get familiar with Pico-8

12
6 comments


Cart #54229 | 2018-07-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

Use the arrow keys to move the cursor, Z to rotate the cell. Levels are randomly generated,infinity challenge.
Any suggestions please level a comment, let me know, thank you.

18
7 comments


Cart #54232 | 2018-07-17 | Code ▽ | Embed ▽ | No License

Testing out some ideas.

Cart #54220 | 2018-07-16 | Code ▽ | Embed ▽ | No License

Just the barest bits of the beginning of a game here. Uses the mouse to aim, Z to shoot.

1 comment


Cart #54216 | 2018-07-16 | Code ▽ | Embed ▽ | No License
3


This is my first game with pico-8. I made the graphics similar to the original Windows XP version of Minesweeper.
Use the arrow keys to move the cursor, Z to reveal a tile, and X to place/remove a flag.
You can start a custom game from the pause menu. If the board doesn't fit in the screen, you can move the view with ESDF.

3
0 comments


Cart #54193 | 2018-07-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1


A small little program to play Conway's Game of Life in. It supports randomly populating the screen, as well as creating your own designs with an editor.

I started out making this as a quick little project, but I ended up also using it to figure out how a title screen menu would work.

1
0 comments


Cart #54184 | 2018-07-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

This is a quick and dirty cart exploring some AI methods for boardgames in pico8.

The implemented AIs are:

1- Purely Random
2- Random Avoiding win/loss moves
3- Playing randomly a number of times, counting win/losses and choosing "best" moves
4- MCTS (Monte Carlo Tree Search)

(Method 3 can be thought of as an MCTS of depth 1)

You can switch the AIs that the game uses by changing the AI_cofun table. Player_AI just
let's the player pick the move. You can make two AIs fight each other, or make two players
fight each other too.

It was pretty cool putting the AI co-routines together. The code is not the pretties or the most
token efficient, but I might polish it a bit if I find some time on the summer. Hacks are welcome!

1 comment


Cart #54180 | 2018-07-15 | Code ▽ | Embed ▽ | No License
3

Hey guys!

We've made a little fangame with my girlfriend based on a fanfic she wrote with Black Sails characters.
If you're afraid of spoilers, don't be! There's no connection with the story of the TV show.

The game is also available on itch.io. Here's the description from the page :

[box=ffeedd]This is an arcade fangame of "Black Sails" that makes absolutely no sense, with or without context! ^^

The idea actually came from a crack!fic I wrote on ao3 in which Silver drinks coconut water and then becomes crazy with want. I had a hard time writing at that time, so a friend of mine made a silly fanvid to cheer me up. In the end, this silly fanvid inspired my partner and me, and that's how this fangame was born. :)

[ Continue Reading.. ]

3
2 comments



Mow the lawn! Currently you just go around mowing but that will change! I will add a point system, weeds to mow over (gives you points), cats to avoid, among others. Thanks! (PS: Also works as a drawing program)

CONTROLS:

E: Up
D: Down
S: Left
F: Right

1
2 comments


Cart #54158 | 2018-07-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1


Cursor keys to move
Z to shoot

1
1 comment


Cart #54179 | 2018-07-15 | Code ▽ | Embed ▽ | No License

Cart #54154 | 2018-07-14 | Code ▽ | Embed ▽ | No License

0 comments


Cart #54150 | 2018-07-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

I like to solve math problems but i'm not a good game designer so i put this demo here. If you want to adapt this for your project, tell me and i will help you.

0 comments


Cart #pico_pirates_v1-0 | 2019-09-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
136

Pico Pirates is an open world adventure game featuring deadly monsters, rival pirates and beautiful sandy beaches!

You set out on your quest to find The Pirate King and claim the crown for yourself. To do this, you'll need to find the 4 compass pieces scattered around the vast, procedurally generated world and keep your crews spirits high throughout (pirates lovely treasure and a good fight!).

Art, programming, design

Craig Tinney

Music

Chris Donnelly
@Gruber_music

Special thanks

Daniel Caaz for their excellent font compression solution (https://8bit-caaz.tumblr.com/post/171492623783/rendering-a-font-from-a-layered-sprite-sheet-in)
Josh Richter for the constant testing and excellent ideas
Alex Wall <3

Follow me on Twitter for more Pico 8 goodies @ctinney94

Previous versions

[ Continue Reading.. ]

136
23 comments


So apologies if this has been asked before,

I am looking to build a sentence with random strings that will be stored in a table.

For example:

    text = {}

names = {"a", "b", "c"}

name = names[rnd(2)] <-- doesn't work :(

foo = {
str = "Hi my name is" .. name
}
Everything I have found is in the Non P8 version of Lua.

8 comments



I developed a visualizer further I found here (by kittenm4ster):

  • Some piano keys to the left
  • Fake spectrum analyzer :D
  • Pimped up notes and the text scroller

The song is inspired by a last ninja 2 song by Matt Gray

6
1 comment


Cart #yunotuhabi-0 | 2020-10-30 | Code ▽ | Embed ▽ | No License
2

This was inspired by a minesweeper puzzle I saw in a paper magazine years ago.

  • tag bombs with (X). once you've tagged 20 cells the board is revealed
  • tag free cells in green with (O) (in easy mode only)
  • the bomb count does not include the cell itself (a '0' cell can contain a bomb)

  • new version with mouse support (from 2019, forgot to post ¯\(''/)/¯).
  • some polish still needed, so still w.i.p.

older version:


Cart #54769 | 2018-08-06 | Code ▽ | Embed ▽ | No License
2


2
0 comments




Top    Load More Posts ->