Log In  

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

Hello! I'm not sure where to put this? But...I am getting this error and i'm not sure what's wrong?

Syntac error line 24 (tab 0)
If poison=9 then poisoned=true end

'Then' expected near '='

Here is my code I am working on...

function _init()
sprite=1
stimer=0
last_frame=4
first_frame=1

table={} --example
coin=false --example
string="dragon",23,"fist"
-- example

x1=25
y1=0

x2=50
y2=5
hcolor=8

poisoned=false
poison=0
end

function _update()
if poison<=9 then poison+=1 end
if poison=9 then poisoned=true end
if posioned=true then y1=y1-10 end

--if stimer<=7 then
--stimer+=1
--else
--if sprite<=last_frame then
--sprite+=first_frame
--else
--sprite=first_frame
--end
--stimer=0
--end

function _draw()
cls()
spr(sprite,64,64)

rectfill(x1,y1,x2,5,hcolor)
rect(x1,y1,x2,y2,7)--20,5,7
print("health",0,1,7)
--health bar combo

[ Continue Reading.. ]

1 comment


Cart #coroutine_overload-0 | 2023-07-01 | Code ▽ | Embed ▽ | No License

Cart #galwaygamejam21-3 | 2023-06-30 | Code ▽ | Embed ▽ | No License

Cart #galwaygamejam21-0 | 2023-06-26 | Code ▽ | Embed ▽ | No License

2 player game being made for Galway Game Jam 21. Theme is 'Out of Bounds'.

0 comments


Cart #sozibabku-2 | 2023-06-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
12

This is my first attempt to create a playable game/gameplay loop while learning Lua and Pico8! Mostly an exercise in problem solving given my very (very) beginner knowledge, without using outside code or premade strategies.

Arrow keys to navigate the menu, x to select, and z to restart or redeal when prompted.

Enjoy!

12
2 comments




Cart #confess-0 | 2023-06-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
22

CONFESS

CONFESS

CONFESS

CONFESS

CONFESS

22
3 comments


I am trying to run pico-8 (raspi edition) on me raspi zero w. I have all the requirements installed but when I try to run pico-8 It asks me "select an application to open 'executable' files" I have tried all of the files andhey all do the same thing. Pls help.

UPDATE:

I fixed it by typing:
chmod +x pico8

1
0 comments


Cart #artery-17 | 2024-02-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
12

ARTery

A nice little drawing tool

version 2.7182... (e): "More than ever, hour after/ hour work is never over" edition

features:

  • multiple tools
    • brush tool
    • shape tool (rectangles and ovals, both filled and not)
    • text tool
    • select and move tools
  • multiple palettes
  • 4 steps of undo
  • zoom and pan
  • lots of keyboard controls
  • exporting, both as images and project strings
  • importing, any project strings and images <= 128x128 online, more in pico-8

controls: (keys in QWERTY layout)

  • scroll wheel can be replaced by up/down arrow keys!

  • press tab for in-cart control list! (currently limited info)

  • left/right to change tool
  • ctrl + scroll to zoom
  • 1...0 to zoom (0 = 10x zoom)
  • middle click or ctrl + left click to pan
  • shift + ctrl + scroll or R/F to change dither pattern
  • ctrl + Z to undo
  • alt + scroll to change palette
  • G for grid (zoom >= 4)

  • ctrl+S to save image (screenshot)
  • ctrl+E to export data string
  • ctrl+I to import data string
  • ctrl + ...

    • (B)rush,
    • (F)ill,
    • (T)ext,
    • Q => shape (yeah, idk),
    • (M)arquee (select),
    • N => move ('cause it's next to M)
  • ctrl H/V: horizontal/vertical flip (works with select!)

  • drag and drop to load an image (warning: 128x128 only in forum ...which means saved images are too big to be reloaded by default)

tools:

  • brush tool:
    • left click to draw
    • shift + left click to draw lines
    • right click for eyedropper (color select)
    • scroll to change brush size
    • shift + scroll to change color
  • fill tool:
    • left click to fill
    • right click for eyedropper (color select)
    • shift + scroll to change color
  • text tool:
    • left click to stamp text
    • keyboard input to write text
    • right click for eyedropper (color select)
    • shift + scroll to change color
    • write [\DATE] to append current date (ddMmm)
    • write [\TIME] to append current time (HH:MM; 24h, the better way /hj)
    • ctrl + V to paste clipboard (avoid non-standard characters, incl. newline and tab)
    • alt to clear current text
    • shift for upper-case and symbols
  • shape tool:
    • click and hold to draw shape
    • up/down to cycle shapes and fill
    • right click for eyedropper (color select)
    • shift + scroll to change color
  • select tool:
    • click and hold to make selection
    • just click to clear selection
  • move tool:
    • click and drag to copy and move selection (whole canvas if nothing selected)

[ Continue Reading.. ]

12
0 comments


Cart #znpefj-2 | 2023-06-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

5
1 comment


Cart #always-3 | 2023-06-22 | Code ▽ | Embed ▽ | No License
22

22
13 comments


Cart #drawpoker-2 | 2023-04-02 | Code ▽ | Embed ▽ | No License
4

4
0 comments


i'm doing a collab to make my first game and learn more lua

2
5 comments


Cart #skyaway-7 | 2023-06-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

Controls

Use Arrows to move.
Hold X to shoot.
Press Z to use EMP.

Rules

Collect 10 cherries to regain health. If you have maximum health, you will get 100 points instead.
EMP destroys enemy bullets and gives temporary invulnerability.
Killing enemies who are preparing to attack will give you more points.
Beat 30 waves to win.

More

This is my first game made in Pico8! It was difficult because my code is not optimized at all and i used all 8000 tokens, but it's here finally. Hope you will at least like it a little :)

[ Continue Reading.. ]

10
4 comments


Cart #wizard_in_backrooms-1 | 2023-06-22 | Code ▽ | Embed ▽ | No License
10


birds with guns, but longer and "stealthier".

CHANGES

  • major palette edits
  • very cool remix and death music
  • minor weapon edits
  • boxing glove is now a shield with 630 i-frames and 1 shot
  • map edits
  • enemy stat edits
  • cooler boss
  • some others
10
6 comments


Cart #ship_movement-2 | 2023-06-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

1
2 comments


Hello, all! I have a question about a project I am working on in pico 8 (Random name generator).

I tried rnd (command) at first and that failed for obvious reasons. And now I am in a pickle I can use print and say a = "tammy" and it work's.

But!

When I add more it only works on the first entry? In reading the manual it doesn't say anything that I can see that could help me. Online has been a bust though still interesting.

I also checked out the cart pico map generator (the world name generator part) which help's in that I need to write a function...? It is rather long (and beyond my understanding unless I squint really hard).

Anyone have any way to combine two (or more) names using the print command? Or something else?

Thank you, for your time!

Ps. I am still learning pico 8. I can make (very) simple games and I not versed in each command nor the terms.

1
5 comments


Cart #remco_hextrade-1 | 2023-06-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

HEXTRADE v1.0 manual

What is this?

A little trader game you should be able to enjoy a session of over lunchbreak.

Take care you don't run out of food or water, as each tile you travel (except cities) will take their toll.

When you start, choose a map (0 through 9999), each of which has 1 of 4 possible goals:

  • 'supersaver': get 1000 gold
  • 'marco pico': uncover the whole map
  • 'gem fantasy': play until you own four gems
  • 'all aboat': sell a boat the (only) island city on that map

(The game also remembers the least amount of turns per mission-type.)

Playing with the mouse is recommended, but care was taken that the entire game can be played with just the pico-8 buttons as well. (Just not when the mouse is on.)

[ Continue Reading.. ]

7
7 comments


Icebreaker v4.1

Cart #rakuwiyonu-3 | 2023-07-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

A skill-based arena brawler.
This build is unfinished, so not all features work properly!

Follow on Itch.io for new protoypes and versions: https://wsasaki01.itch.io/
Follow Icebreaker's development on Github: https://github.com/wsasaki01/icebreaker

Gameplay

Ice and Reflex

Ice enemies are attacking, and you're the last line of defense against the onslaught. Defeat waves of enemies using your hammer and reflexes!

Intense Combat

Throw the hammer to smash through groups of enemies, and roll to re-position and gain the advantage. Faster enemies are orange or red; kill them for even more points, and keep your combo up to get a multiplier and earn massive scores!

[ Continue Reading.. ]

2
2 comments


Cart #dragonmountain2-0 | 2023-06-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

This is a game I made a few years ago for my little kids.
They love saving the dragon.

7
2 comments


Cart #nodojonezo-0 | 2023-06-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

depite the name, its not an OS, its a launcher, you can use it to launch .p8 files, its meant to make things more tidy and be able to do the things you want, its based on actual OSes, but mostly, the graphical explorers that exist, like ones that don made for ms-DOS, its not as "tidy" as this though! i hope you love it!

1
1 comment


Cart #vinnyslemonadestand-1 | 2023-06-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Welcome to the Lemonade Stand!
Get Money, Upgrade your stand, and win!

You win when you fully upgrade everything

CONTROLS:
X - Open Upgrade Menu or Buy Upgrade
O - Close Upgrade Menu
Up/Down - Change Upgrade Selection

NOTE:
I know this game has been done before, and way better, but I wanted to make this anyway.

4
2 comments




Top    Load More Posts ->