Log In  

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

Here's a very weird bug I just discovered accidentally.

  • Visit a page with a comment that contains a bullet point list, like this (and possibly a page 1|2 section at the bottom, not sure).
  • Click and drag your mouse to highlight the text.
  • While still holding drag, move your mouse cursor to the right. A horizonal scroll bar will appear along the bottom, apparently equal to the length of the largest line of text in the bullet point list, if there wasn't any word wrapping. It seems very weird but related to the length of the text, so I'm just going to ramble on here for a bit to prove my point. Doesn't seem to work with the post preview though, so maybe this is comment-only.

More funny than anything, tbh. You can see this bug in the wild on this page: https://www.lexaloffle.com/bbs/?pid=46706#p

Bug occurs in Chrome on Windows 10.

3 comments


Especially in tweetcarts, using sub(s,i,i) has always felt like a waste of so many chars, and less intuitive than the standard s[i] in most other programming languages. Also, because of the massive amount of string parsing that happens in Pico-8 for data compression, and the fact that Lua does support this feature with a small amount of work, I'd really like this feature added. chr and ord were a step in the right direction (as previously, these needed two lookup tables generated at startup), but I think with the recent addition of sub(s,i,_), it's clear that a major string parsing use case is missing.

See this link, the implementation of __index that will still support t:func(a) is at the bottom of the page:
http://lua-users.org/wiki/StringIndexing


Why should this be added to the API though? Unfortunately, the main issue with people implementing this feature themselves seems to be that the basic Lua string library isn't present. getmetatable('') returns nil in Pico-8 code, so you can't assign functions to it. You could assign a custom metatable via setmetatable that re-implements all of the string functionality in every string created, but that would destroy your token count, as it would have to cover concatenation, construction, tostr, etc. And since the carts that usually need this are character limited (tweetcarts and maxed out carts), you don't have the space to do it yourself anyway.

[ Continue Reading.. ]

8
17 comments


Hi!

I'd like to rename the older Pico-8 games that are only labeled as numbers. I know the game name can be seen in the first few lines of code - so I was hoping for an automated method using a script or program or something since there are several thousand of them.

Thanks!!

7 comments


Cart #mahjong-0 | 2022-08-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
26

Rules

I guess most people will already know how to play Mahjong solitaire, but if you don't:

You will be given a pile of tiles. A tile may only be removed when it is possible to move it either to the left or right and no other tile is in the way, and no other tiles covers it either fully or partially. Remove tiles by pairing together same glyphs. Remove every tile to win.

There are four of each tile and they match only a tile with the exact same face. An exception to this are the flowers and seasons which may match any of the others of the same group:

Flowers:

Seasons:

About

[ Continue Reading.. ]

26
7 comments


Cart #squashy-1 | 2022-08-20 | Code ▽ | Embed ▽ | No License
1


Hello everyone,
this is my new Game, Squashy. It has a special Function, which you can test out.
Gameplay:
Right / Left arrow key to move the paddle to the Right or Left
X for a paddle boost
O to start the Game
The Goal of the Game is to hold the Ball over the Bottom. When the Ball comes to the Right/left or Top of the screen, the ball is coming back.
When you see something in the game that is wrong, it would be great, then you me write a comment.
Hope you like this Game.

1
1 comment


Marking as resolved - this is a "feature" of printh to stop at \0.
Solution to export p8scii to clipboard is given here: https://www.lexaloffle.com/bbs/?tid=38692

Repro cart:

Cart #haguramako-0 | 2022-08-20 | Code ▽ | Embed ▽ | No License
1

Outcome:

  • p8scii correctly copies bytes on screen
  • bug: clipboard gets only a truncated command (should be 612 chars)

Note: works as expected if background is not 0

1
0 comments


Cart #hakai-3 | 2022-09-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
149

The game's finally released! Hope you all enjoy it as much as I did making it!

Gameplay

HAKAI is a momentum based aerial fighting game that takes cues from Dragonball Z.
Win three rounds to beat your opponent. If the timer runs out, whoever has the lower amount of health wins, and if the players' health are equal it's a draw.

You can choose whatever combination of character, bullet and super type you want. All changing character does is pick your color, though if you're in Practice mode, the character of your opponent matches the AI that character would have in Arcade mode.

Arcade Mode

The 28th HAKAI Tournament has begun! Do you have what it takes to win?

In this mode you can fight four increasingly-difficult AI opponents across the four maps.

Local Versus

Fight against your friend!

The camera is set to zoom out much further to try to keep both players inside the screen at all times.

Practice

No time limit and infinite health versus a dummy.

You can use the menu to enable/disable the dummy AI and command info. You will select the dummy's character and skills after confirming yours.

Controls:

Movement and Jumps

Input left and right with the arrow keys to move on the ground. If you have some speed and input the opposite direction you will skid.

Press Z/C on the ground to jump. If you jump while skidding you will "side jump" which cancels all your horizontal speed.
Hold down before jumping to super jump, adding much more vertical speed. You can also do "super side jumps"!

Dodging

Press Z/C while airborne to dodge in the direction held with the arrow keys. If no direction is held you will dodge in whatever direction you are moving.

Hold Z/C while a direction is held to fly. This drains energy, but you can still fly when you have none left.
-Flying is a fast movement option and good for covering large distances.

Charging

Hold Z/C while no direction is held to charge energy. Charging for longer increases the speed at which energy is gained. You will also slow down and stop moving, even in midair.

Physical Attacks

Press X/V while a direction is held to do a dash.
-The dash will auto track towards the opponent, and will automatically do a strike upon reaching them.
-The direction held will choose the direction of the initial burst of speed.

Hold X/V during a dash to start a heavy dash.
-The heavy strike deals more damage and stun, and launches the opponent much farther.
-The heavy dash gives an addition speed burst and is overall faster, but doesn't track as much making it easier to dodge it.
-During a heavy dash,energy will be drained.
-You cannot start a heavy dash if your energy bar is gray.

If you press X/V while no direction is held you can cancel a dash. You cannot cancel a heavy dash!

Projectiles

Press X/V while no direction is held to shoot a projectile.
-Projectiles auto aim and track on their own. They consume some energy to fire. You cannot fire a projectile without enough energy!
-There are four kinds of projectile: Bullet, Heavy, Sniper, and Track.
-Bullet has a higher fire rate.
-Heavy has a low fire rate but is larger and deals more damage and stun.
-Sniper travels faster than the others.
-Track travels slowly but follows the opponent very well.

Supers

Hold X/V while no direction is held and your energy bar is flashing to charge a super!
-There are four kinds of super: Barrage, Nova, Beam, and Bomb.
-All supers interrupt and damage players, even during dash or heavy dash.
-While charging and firing a super you are immune to only projectiles. You are not immune to either kind of dash attack or any super.
-The exception is the Nova attack, which after charged is immune to any other attack, including supers.

-Beam will slow down a Nova.
-Only the "beam" part of Beam has a hitbox. You can flank the beam and strike the opponent's backside.
-If two beams collide they will do a beam clash. This restores energy to both players.

Stunning

All attacks stun the opponent a varying amount. The amount of stun a player has left is indicated by the combo meter.
-While stunned you cannot do anything! Stunning opponents and combo-ing them is key to doing more damage, so keep this in mind before using a heavy dash and launching the opponent far away.
-If a player hits the ground or the walls while stunned, they will receive more stun. All players bounce off the walls, but you need to hit the opponent hard into the ground to bounce them otherwise they will slide. "Bounces" deal more stun!

Blocking

All non-super projectiles and regular dashes can be blocked. This is done by holding the direction key opposite to where the attack is coming from.
-Use blocks to gain advantage on an opponent!

General Tips

-You can dodge while doing other attacks. Use this to aim the heavy attack.
-Your speed affects how far you launch an opponent upon doing a strike. Dodge into the opponent right before reaching them to launch them much further!

-The dash is invincible to projectiles. Be aggressive if the opponent is trying to zone you!

-If the opponents hit each other while both are doing a dash, they will bounce off each other.
-If they are in the heavy dash state, they will do a short clash animation before bouncing away. During the animation energy is restored to both players.
-If a player doing a heavy dash hits a player just doing a regular dash, the player doing the heavy dash will get the hit.

149
40 comments


Cart #escape_pod-2 | 2022-08-20 | Code ▽ | Embed ▽ | No License
8

Hi, this is a game in the style of the Gameboy game Resident Evil Gaiden.

It's a work in progress, let me know if/when you get stuck or confused.

8
3 comments


Cart #dungeons_and_diagrams-5 | 2022-11-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
43

A Dungeons & Diagrams demake.

Dungeons & Diagrams started as a pen & paper puzzle designed by Zach Barth, followed by a video game version in Last Call BBS.

It’s a nonogram/picross-like game where you fill a dungeon map according to the numbered clues and the monsters and chests’ positions.
[29x11]
[12x9]

[ Continue Reading.. ]

43
24 comments


Cart #frog2lake-0 | 2022-08-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

here is a game that i have made 6 hours while i was on the airplane.

2
0 comments


Cart #furlockbones1-0 | 2022-08-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

Hello folks, this is my first PICO-8 cart! Yay.

I decided to use PICO-8 for my CS50 final project.

I hope you enjoy the game and I plan on adding more to it.

Cheers and good luck to everyone out with their projects, unfinished or otherwise.
Mackeriah

6
0 comments


Cart #detyopaki-0 | 2022-08-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Controls & Rules
Press X when the blue line goes into the red box

Behind The Scenes
This game took me about 10 minuets and was only made to test my speed.

Credits
All programming and art is done by me.

1
4 comments


MANIC CTF

Cart #king_swood_manicctf_1_1-0 | 2022-08-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

Controls

Player 1 (orange) - ESDF
Player 2 (blue) - Cursor Keys

Gameplay

A simple multiplayer button-mashing game where the aim is to capture the flag from your opponent and hold onto it for the duration of the round.

If the flag is dropped, just run over it to pick it up.

If your opponent has the flag, run into them to steal it from them.

A player must hold onto the flag for a total of 15 seconds to win the round, and the eventual winner is decided by 2 round wins out of a possible 3.

Starting positions are randomised each round.

[ Continue Reading.. ]

3
4 comments


Cart #want_you_gone-1 | 2022-12-04 | Code ▽ | Embed ▽ | No License
20

Here it is: The great song from Portal 2.

Want You Gone
Original song by Jonathan Coulton

Made with ♥ by domske

Controls: ❎/🅾️ to toggle repeat mode.

20
8 comments


yet another redo of a past song I've remixed
except this time I started from scratch
took quite a while
so uhh...
enjoy!

Cart #sml2athletic-0 | 2022-08-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

2
1 comment


Cart #brp_towersofsurvival-0 | 2022-08-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
13

This game is my submission for the LOWREZJAM 2022, which requires games to have resolution of 64x64px.


Enemies are approaching. There are 10 waves of them. We need to survive.

There are 3 types of towers you can build:

  • laser - the fast one,
  • v-beam - the stronger one; its beam covers all tiles above and below, therefore you cannot build anything else on its way,
  • booster - this one makes all surrounding lasers and v-beams shoot longer and re-charger faster; you can "stack" boosters to increase total boost – each laser can be boosted up to 8 times and each v-beam up to 6 times (not 8, because 2 tiles are reserved.

[ Continue Reading.. ]

13
4 comments


I need some help with the math for making an object move between 2 fixed positions, then slow down smoothly to the final position.

The cart contains my attempt to make this work but I cannot quite reach the end point, and therefore the mode variable does not change.

Can anyone see what is missing here, and what could I do to make the last few steps a bit faster? (It slows to a crawl at the end...!)

Many thanks in advance :)

Cart #demenifji-0 | 2022-08-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

1
5 comments


Cart #butter_rooster-13 | 2022-08-28 | Code ▽ | Embed ▽ | No License
5

A game with a fighting rooster with butter in the foot.

Select a city on the menu and try to beat it's residents.

You need to get the rock, get impulse and shoot it on the zombie roosters.

Kill all the enemies to go to next wave.

Beat all the waves to defeat the selected city

CONTROLS

GET THE ROCK -> JUST COLLIDE WITH IT
SHOOT THE ROCK -> X
MOVE YOUR ROOSTER -> ARROW KEYS

1.0

  • First official launch

1.1

  • New maps for Grooster (grass and roooster, get it?)

1.2

  • Menu added
  • Outlines added
  • Complete reform on graphics

1.3

  • New cities added
  • New tiles added

1.4

  • Cities completely setted up
    Game in constant work and various things can change
5
5 comments


Cart #toadtaxi-2 | 2022-08-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3


Platform game inspired by crazy taxi.

Version 1.11 fixes a small issue highlighted by @The21zonz and @dw817

3
2 comments


Cart #quickchessyness-4 | 2022-09-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
12

A snappy little chess engine

1.41 small bug fix
1.4 Fixes an issue with castling and improves king safety.
1.3 Brings some small fixes and improvements.

12
5 comments




Top    Load More Posts ->