Log In  
Follow
MrAwesome

I make things sometimes

You can see my website here

[ :: Read More :: ]

So I have a launcher-type game. I want to load local, on-disk carts. It works fine in the editor, but as soon as I export it, it fails to work.

The basic code for loading looks like this:
load(cartid, 'back to launcher')

I have also tried putting a './' at the beginning and a '.p8' at the end to no avail.

I put the .p8 files into the same directory as the exe, like:
windows
-- game.exe
-- data.pod
-- sdl2.dll
-- jelpi.p8

How might I go about making an exported game that can load carts from disk?

P#135548 2023-10-06 23:03 ( Edited 2023-10-07 14:47)

[ :: Read More :: ]

Exactly what it sounds like: a sand simulator.

Use the mouse to control where to put sand, left-click (or X) to place sand, and right-click (Z) to place normal, non-falling blocks.

it is very computationally intensive, be warned

Cart #sand_simulator-0 | 2023-04-16 | Code ▽ | Embed ▽ | No License
3

P#128599 2023-04-16 00:01

[ :: Read More :: ]

4/1/23

Cart #rockfall4-0 | 2023-04-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

P#127961 2023-04-01 14:01

[ :: Read More :: ]

Space Game

a continuation of this project but with actual gameplay

Cart #spacegame-1 | 2023-03-17 | Code ▽ | Embed ▽ | No License
4

Use arrow keys to turn and move, z to explode (currently just to test the feature, will be removed later)

The Idea

A game that mixes many popular space games, with movement similar to Asteroids, space fights like Galaga, and maybe more in the future. There will be an element of upgrading your spaceship and a currency and whatnot as well.

Current Features

  • Parallax background effect
  • Goodish movement
  • Cool particles
  • Runs at 60fps

Planned Features

  • Asteroids / Asteroid mining
  • Space Pirates
  • Space Stations
  • ???

Updates


v1.0.1

  • Fixed cart image

v1.0

  • Created the game

Before you tell me that space has no air resistance, I know that. It just makes the movement feel easier to deal with than having to go in the opposite direction to slow down and often overshooting destinations, so I added it in. It also makes particles look better like that.

P#127266 2023-03-17 21:37 ( Edited 2023-03-17 21:40)

[ :: Read More :: ]

Today is 3/14 (In America, sorry everyone [?] else). This is Pi day.

I present a "fun" program that kinda calculates an approximation for Pi. It uses a Monte Carlo method, which isn't exact, but can get close over time. Being in PICO-8, it can't run for very long before running out of memory, but it still kinda works.

For more on Monte Carlo methods, I adapted mine from this Wikipedia page

Cart #happypiday-0 | 2023-03-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

fun fact: If you edit the program to have the line srand(314) toward the top, it will get 3.1416, the closest you can get to Pi with only 4 decimal places (It would be 3.1415, but the next digit is 9, so rounded, it's closer).

P#127147 2023-03-14 21:59

[ :: Read More :: ]

stars

a parallax background thing

I was looking at a friend of mine's game and saw a cool star background effect. I decided I wanted to make something similar. I ended up with this. It's not quite the same, but still cool.

Opening the pause menu (enter or p) lets you configure options for it.

The mouse does not work on BBS carts, however it works fine in the app. Run load #stars_effect to use it.

thoughts?

Cart #stars_effect-0 | 2023-03-14 | Code ▽ | Embed ▽ | No License
5


also, if you want this for any project of yours, feel free to use it!

P#127112 2023-03-14 02:04 ( Edited 2023-03-14 02:06)

[ :: Read More :: ]

Sealsurf

A game about seals, fish, and pollution.

Cart #sealsurf-0 | 2023-01-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

As a seal, you must venture out to eat all the fish you can find. But, due to those darn humans, there's trash everywhere! How much can you eat before hitting garbage?

P#124740 2023-01-23 22:55 ( Edited 2023-01-23 22:55)

[ :: Read More :: ]

Merry New Years!

Cart #countdown_to_newyears-1 | 2023-01-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

sorry if im late

P#123409 2023-01-01 05:19 ( Edited 2023-01-01 05:23)

[ :: Read More :: ]

Rockfall 3

Cart #rockfall3-2 | 2023-01-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

A brand new adventure in the Rockfall series!

Differences between 1 and 3:

  • CUSTOMIZATION! Give yourself a hat, and set the color of every part of Rockfall Person!
  • DIFFICULTY! Change the difficulty to make it easier or harder to play at your own level!
  • GRAPHICS UPDATE! Now with particles and screen shake, you can select different levels from the options menu.
  • EXTRA RANDOMNESS! A new engine allows for more randomness in rocks' falling and velocity.
  • NEW ENGINE! It runs much better, It's less buggy, and it's rewritten from the ground up!
  • BETTER HITBOXES! Rather than Pythagorean Distance^ for perfect circles, a square hitbox is used to fix bugs and have a better experience.

^ Finds distance with d=√((x_2-x_1)²+(y_2-y_1)²), but because of squaring and PICO-8's memory, it caused faulty collision in RF1.

PATCH NOTES:


v1.1.1b:

  • Fixed typos in names.
    v1.1.1:
  • Fixed menu items saying to use O instead of X after changes in v1.1
    v1.1:
  • Changed menus to all use X for closing/selecting, rather than a mix of X/O
P#123235 2022-12-29 18:16 ( Edited 2024-03-15 22:06)

[ :: Read More :: ]

I've seen a nice-looking text effect where it has an outline in a bunch of games and thought it looked good. I decided I wanted to figure out how I did it on my own. Anyway, I made it and think it's cool. Posting this in case anyone wanted to use it.

Cart #wazokusowu-0 | 2022-12-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

P#123200 2022-12-28 21:44

[ :: Read More :: ]

I'm working on a Minecraft (2d) clone. I have world generation pretty much complete, but I need to have a way to store said generation. I know that using printh() lets you write to files, but I want to read the contents from an external file like new_world.dat or something similar.

P#121961 2022-12-07 01:31 ( Edited 2022-12-07 01:31)

[ :: Read More :: ]

Lava Rockfall!

If you haven't already heard of Rockfall, it's the first video game I ever completed.

What is it?

Lava Rockfall is a floor-is-lava style game. Jump from rock to rock to not fall in the lava. Be careful, though. Being hit by a rock can shove you into the lava!

If you think that the screen gets too clogged up with particles and whatnot, or you are (somehow) lagging, you can pause the game and select Disable GFX to disable it, and Enable GFX to enable it again.

If you feel the game is too difficult, feel free to press Disable Deaths in the pause menu. You no longer will take any damage.

Cart #lavarockfall-3 | 2024-03-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

The only reason this exists is because my friend decided that it should.

Controls:
Z/C (Computer) or O (Mobile): Jump
X/V (Computer) or X (Mobile): Start the game
Arrow Keys (Computer) or D-Pad (Mobile): Move

Version 1.1 adds a volcano, background, and smoke plume. 1.1b fixes smoke still showing up with No GFX on.

Thanks for playing!

P#119274 2022-10-18 22:42 ( Edited 2024-03-15 22:10)

[ :: Read More :: ]

I'm trying to make a block-coding program, but I need to store a reference to a variable. As in, whenever you try and get a value of something, it returns the variable. If there's no way to do this, then I have other ideas. Anyway, heres what I got:

block = {
 func = print

 params = {
  x,
  63,
  63,
  7
 }
}

However, it just assumes the current value of x rather that storing a reference to it. How would I go about doing this?

P#118844 2022-10-09 17:13

[ :: Read More :: ]

[sfx]

cart for firefox'rs ex: @dw817

(now works for realzies now)

Cart #botozeraku-0 | 2022-09-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

made with denote

P#118009 2022-09-26 23:42 ( Edited 2022-09-28 21:54)

[ :: Read More :: ]

I was exporting stuff to be a web export, because I have a website with my games on it. But, do the HTML and JavaScript files both have to be included?

on a somewhat -somewhat- unrelated topic, I made this cool post a while ago and nobody saw it. It's a website maker for all you people wanting your own website.

P#117829 2022-09-23 01:14

[ :: Read More :: ]

I, during my free time, like to make games. I usually use the app, but on my school chromebook, I use EDU edition (found here). Said chromebook has a touchscreen. PICO-8 works until you touch it, and when you do so the mouse no longer works. This is what should be changed. It is incredibly annoying, because you have to save the file, reload the page, type load, find the file, and select it. It takes a while, and is annoying when your in the middle of something and just accidentally touch the screen (Such as when you are trying to point out something to another person), and I would love to see this changed. My solution? The little popup thing that says Sorry, touchscreen typing is not supported. Please plug in a keyboard! should have an extra button, 'Undo' (Or something, I'm not sure exactly what to call it). The button itself would then disable touchscreen mode.

P#117324 2022-09-13 00:13 ( Edited 2022-09-16 00:22)

[ :: Read More :: ]

If you look closely, there is an extra line of color than there should be in the leftmost and topmost rectangles in the sprite editor. The screenshots use the cursor (A perfect square of 7x7 pixels) to show that the sides aren't square. The second photo shows (annotated) the ones that aren't square

P#117234 2022-09-11 23:01 ( Edited 2022-09-12 02:09)

[ :: Read More :: ]

I know that I can make sprites bigger (with sspr()) but is there any way to display map tiles at, say, 2x size?

P#117207 2022-09-11 15:11

[ :: Read More :: ]

Rockfall Run

The next part in the rockfall series (oh no)

I'm actually pretty proud of this one. I spent quite a while on graphic effects, such as particles and clouds. Tell me what you think of it!

Cart #rfr-1 | 2024-03-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

Features

  • Fast-Paced Gameplay
  • 3 Difficulty levels
  • Pretty cool graphical effects (Like particles)
  • Powerups

Up now on Sealsearch (My website), and itch.io if you want it somewhere other than here for whatever weird reason.

P#117131 2022-09-10 02:17 ( Edited 2024-03-15 22:14)

[ :: Read More :: ]

This is a little tool to convert a big ol' list of strings into the PICO-8 map.
This has some very specific usage cases, and there's probably a better way somehow, but heres an example of when you might use it:

Imagine you are making a big parkour game, with lots of fairly big levels. You can't possibly hold all of them in the PICO-8's map together. So you use this tool to load in a new map on demand.

In this case, you may want to use this.

Here's the cart:

Cart #jodepunawi-0 | 2022-09-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

controls:
arrow keys to move camera position
X/C etc to change to map 2

P#116958 2022-09-05 23:49

View Older Posts
Follow Lexaloffle:          
Generated 2024-03-29 11:32:18 | 0.086s | Q:71