Log In  
BBS > Lexaloffle Community Superblog
This is a combined feed of all Lexaloffle user blogs. For Lexaloffle-related news, see @zep's blog.

All | Following | PICO-8 | Voxatron | General | Off-site
[ :: Read More :: ]

PixelBasket

A singleplayer basketball game

Cart #pixelbakset-0 | 2024-05-27 | Code ▽ | Embed ▽ | No License
1

Game objective

Get as many points as possible before time runs out. Take advantage of throws from different scoring zones. Jump during throws and to get the ball.

Controls

  • Movement: arrows
  • Jump: [z]
  • Throw: [x] (the longer you hold, the harder you throw)

Main game music was created based on beat of RBI Baseball: Nobody On Base (sequenced by Sivak Drac) and with Denote tool.

P#149045 2024-05-27 20:26 ( Edited 2024-05-27 20:28)
[ :: Read More :: ]

Cart #sherbetshuffle-2 | 2024-05-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Sherbet Shuffle was a quick game I threw together this weekend inspired by the Arcade Paradise mini-game Stack Overflow.

Match all the same flavor ice cream together in two different game modes. Casual mode has no timer, you can reshuffle the puzzle with the new button if you get yourself stuck with no penalty, and it's just there to be a relaxing time. Career mode starts you with 180 seconds, and you gain a few seconds every time you make a match of 4. If you get yourself stuck you can reshuffle the puzzle with a 10 second penalty, so it is recommended that you start with Casual mode until you know how the puzzles work.

Every puzzle is possible, as you have two hands that can each grab a scoop of ice cream, but since these scoops can only be placed on top of the same flavor or an empty cone, you can get yourself stuck if you aren't paying attention, and will need to reshuffle the puzzle. You can figure out some nifty tricks since you can grab two different scoops, and you can maneuver yourself across some sticky situations.

Since I made this one quickly, I tried to make sure no bugs existed, but would love to know if anyone runs into one!

P#149017 2024-05-27 05:36 ( Edited 2024-05-27 11:13)
[ :: Read More :: ]

HeadKnight

Defenders of the kingdom

Cart #headknight02-0 | 2024-05-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

This is the title of my little game project I've been working for a while, even as it's development has slowed down due to life events it still continuing and I'm happy to announce I'm releasing a small demo of the game.

It's a simple arena horde 2d game where you kill enough monsters to proceed to the next horde until the boss horde.
Currently there's only 1 boss, a couple hordes and an infinite mode, with 5 playable characters, 3 enemies and 2 items.

Planned features are coop multiplayer, dialogues between characters and the bosses, a full story, more enemies and bosses and much more.

Controls:

Left-Right : direct the player left and right

Z: Jump

X: Special Ability(DLC - Coming soon)

Conclusions

Hopefully i will not abandon this project and one day i will finish it.
for now have fun with this small demo!

P#148998 2024-05-26 21:13
[ :: Read More :: ]

This is yet another implementation of snake and my first pico8 cartridge. I've shamelessly "borrowed" some of the code from nemo_dev's nemosnake for the particle effects. Thanks nemo_dev! It could probably use a bit more polish, but I need to let this one go and move on.

Cart #simplesnake-0 | 2024-05-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Feedback is welcome. :)

P#148992 2024-05-26 18:52 ( Edited 2024-05-26 19:20)
[ :: Read More :: ]

Cart #rudodumabo-0 | 2024-05-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

P#148991 2024-05-26 18:05
[ :: Read More :: ]

Stonekeep's Dungeon is simple a Dungeon Crawler inspired by first Wizardry and its clones.
All comment and critics are wellcome.

Version 0.9.1 (2024-05-27)

  • Improved info during combat
  • Improved info in the "Book of Knowledge"

Cart #snake_pdung-3 | 2024-05-27 | Code ▽ | Embed ▽ | No License
1

Version 0.9.0 (2024-05-26)
This is an "early access" version.
It lacks little content and balancing is not tested.

P#148985 2024-05-26 16:22 ( Edited 2024-05-27 16:44)
[ :: Read More :: ]

Cart #firestarter-0 | 2023-08-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

firestarter

Some small game I have been working on that I managed to not quite finish.
There are some bugs I still need to adress and I don't like how the transitions turned out.
Fixing the issues requeres a lot of the code to be rewritten because the current version is a bit messy.
Would like some feedback on wether the concept even works too.

P#132729 2024-05-26 11:36
[ :: Read More :: ]

Cart #laserrangefull-0 | 2024-05-26 | Code ▽ | Embed ▽ | No License
2

have fun :3

P#148983 2024-05-26 10:32
[ :: Read More :: ]

any unfinished ? command outputs garbage errors:

?5+
?5>>
?5>>>>>>
P#148981 2024-05-26 07:51
[ :: Read More :: ]

Cart #scannies-0 | 2024-05-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

A small little scanline test I made out of boredom..

I know it isn't top-tier, or the most efficient, but I tried, atleast.

If you care a bit for how this was done, I basically set a couple FOR loops, get certain pixels' color, retrieve a certain value from a table, set a pixel with the recently retrieved value from that table at the position of the pixel that we retrieved its' color from, and, then, repeat that ~8192 times, and then you got some mediocre scanlines! :D

I get that was a bit vague, but if you want a more detailed explanation, just look inside the cartridge.

(passive aggressiveness not intended.)

P#148977 2024-05-26 02:04 ( Edited 2024-05-26 02:08)
[ :: Read More :: ]

so i didn't know if i was gonna share this or not, but I've spent a bit of time on this version.

Cart #teddbluemonv0_6-0 | 2024-05-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Additions

battle system rewrite:
battle system was written a while back and needed to be cleaned up. now it is

battle loading:
battles can now be triggered by the init_btl() function. it is currently being used during NPC interaction and wild encounters, which work but are currently disabled. In addition, NPCs havea new interaction node that triggers a battle. You can try it out by answering "no" to the NPC.

code improvements in loading data:
cleaned up, rewrote, and overall made loading data neater and more token-efficient. a new read() function added to assist in this mission. All parts of the code written as table["attribute"] have been rewritten to table.attribute (i blame python for my weird writing of it).

monster and move data load:
the bulk of time spent on this update was used to make and debug the loading systems for monster data and move data. I don't feel like explaining it other than that this data is loaded at the start as opposed to before being used like the maps are.

in other news, i wrote a variation of the sprite compression system used in gen 1 and 2 Pokemon games. I'm not yet ready to share this, but you'll prolly see it in an update soon. the read() function was made for this part of the project. The important thing is that it finally works and really ups the scope of the game.

Next update

Currently i am very tired so i don't want to type too much more. I will say that v0.8 will be out soon. Turns out work goes a lot faster when you're not trying to fix the umpteenth data loading problem. One thing i want to get done before releasing v0.8 is finding a good title. If anyone would like to help with that, heres some LORE!

Lore

all the monsters have been blipped into our world, and have completely overtaken native wildlife in their small territory. These aliens are connected to the rhythmic phenomenon that got them here. instead of "capturing" you need to connect to their "rhythm" by petting them just right. Then a special device can blip them over to you for battling. I know this is pretty complicated, but ill have something better written for v0.8 and I'll answer any questions you have.

Anyways

Thank you for taking the time to check in! please leave any questions, comments, concerns, advice, or anything else for me to read!

P#148965 2024-05-26 00:47
[ :: Read More :: ]

Pico 8 Linux Laptop

Intro

The guide below shows how to configure a laptop to automatically boot and launch Pico 8. The laptop will shutdown when the SHUTDOWN command is issued in Pico 8 console.

Requirements

Install Ubuntu

If Windows is installed use MMC / Disk Management to shrink the Windows partition.
Install Ubuntu 22.04 Server (e.g. USB - press ESC or F2 to enter bios);

After booting the Ubuntu 22.04 Server Installer:

  • Select Install Ubuntu Minimal
  • If you want to keep Windows, make sure you are not overwriting the partition. Ubuntu will dual-boot if not installed on a full disk.
  • During installation, configure the administrative user. You will use this to update Pico8, etc.
  • You may want to install OpenSSH Server if you'd like to ssh to / scp from the Pico8 Laptop.

Configure Ubuntu 22.04 Minimal Server

Either log-on to local console or, if OpenSSH was installed, remote in using ssh.

Install dependencies

sudo apt install xinit xterm alsa-utils mingetty unzip

Create and configure Pico8 user

The p8 user will run Pico8. Auto-logon will be configured as well.

sudo useradd -m -s /bin/bash p8
sudo passwd p8
sudo usermod -aG sudo p8
sudo usermod -aG audio p8
alsamixer

Reboot

sudo reboot now

Test audio

To test speakers use either of the following:

  • speaker-test
  • alsabat-test

Press Ctrl+C to stop.

Test video

startx xterm

Move mouse to go over the terminal and press Ctrl+D to exit.

Configure auto-logon for the P8 user

Taken from <https://askubuntu.com/questions/168706/how-do-i-auto-login-as-root-into-the-tty-upon-boot>;:

sudo su
mkdir -p /etc/systemd/system/[email protected]

cat > /etc/systemd/system/getty\@tty1.service.d/override.conf <<- "_EOF_"
 [Service]
 ExecStart=
 ExecStart=-/sbin/mingetty --autologin p8 --noclear tty1
 _EOF_

systemctl enable [email protected]

Reset and test auto-logon:
reboot now

After reboot, p8 user should automatically log-in (no password required).

Important:

  1. To switch to another terminal/user at any point: Ctrl+Alt+F2 (or F3-F6).
  2. To terminate pico8 from another console: sudo killall pico8

Download Chromium and Pico8

We will use Chromium to log-on to and download Pico8.

sudo snap install chromium
startx chromium

Download your Linux purchased copy of Pico-8 from https://www.lexaloffle.com/. Match your CPU architecture (x64 is most common.)

Exit Chromium and search for your download:

find ~/snap | grep pico

Copy the zip file to p8's home folder. Extract the linux pico-8 into ~/pico-8.
Note Press TAB to autocomplete file names. Folder names must match in order for auto-run to work.

cd ~
cp <location_of_pico8_zip> .
unzip pico-8<version>.zip

Test Pico-8

Note to eliminate mature content, you need to pass -splore_filter 1

cd ~/pico-8
startx ./pico8 -fullscreen_mode 0 [-splore_filter 1]

To exit Pico8, type SHUTDOWN.

Configure Pico 8 (Optional)

You can also use nano or any other editor. At a minimum, fullscreen_method must be set to 0 for input to work in xinit/startx:

vim ~/.lexaloffle/pico-8/config.txt

Note Likely cause for fullscreen_method is that SDL2 requires a Window to work: (https://stackoverflow.com/questions/44777929/sdl2-keyboard-detection-doesnt-work)

Set Pico-8 Autostart

cat > ~/.xinitrc <<- "_EOF_"
cd ~/pico-8
./pico8 -fullscreen_method 0 -splore_filter 1
shutdown now
_EOF_
cat > ~/.bash_login <<- "_EOF_"
startx
_EOF_

Restart the system:

sudo reboot now

The system should now auto-boot Ubuntu, auto-login p8 and start Pico8.
When you SHUTDOWN pico8, your computer should also shutdown.

Recovery

Ubuntu Console

In case you need to make changes, at any time you can log-in with the administrator user you've configured during Ubuntu install to another console:

  1. Ctrl+Alt+F2 (to F6)
  2. Log-on with admin user

Booting back to Windows

During boot, you will see a menu for GNU GRUB. Select Windows Boot Manager to go back to windows.

When you restart Windows, the menu goes back to Ubuntu default.

Optimizing Boot Time

Grub Wait Time

By default, GRUB will wait for 10 seconds for the user to make a selection. This is changing to 1 second. Note that 0 means default.

Use the Recovery step to log-on to another console.

sudo vim /etc/default/grub

Edit the file to change GRUB_TIMEOUT=1

sudo update-grub

Remove Unneeded Services

From https://askubuntu.com/questions/10290/how-do-i-improve-boot-speed
Use the following to identify long-running tasks during start-up.

systemd-analyze
systemd-analyze critical-chain
systemd-analyze blame

A few services I have disabled. It's important to maintain the Internet, Wifi services to allow splore access.

sudo systemctl disable snapd.service --now
sudo systemctl disable snap.lxd.activate.service --now
sudo systemctl disable snapd.seeded.service --now
sudo systemctl disable cloud-init.service --now
sudo systemctl disable cloud-final.service --now
sudo systemctl disable cloud-init-local.service --now
sudo systemctl disable snapd.apparmor.service --now
sudo systemctl disable cloud-config.service --now
sudo systemctl mask systemd-networkd-wait-online.service 
P#148953 2024-05-25 17:11 ( Edited 2024-05-25 17:18)
[ :: Read More :: ]

Cart #ptdd1-0 | 2024-05-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

you can show your high score's for this demo stage

P#148950 2024-05-25 17:04
[ :: Read More :: ]

Cart #lich_kings_gauntlet-1 | 2024-05-27 | Code ▽ | Embed ▽ | No License
8

Compete in the ultimate tournament of the realm's most powerful mages. Do you have what it takes to rise to the top?

Controls

  • Arrow Keys - movement
  • (X) set the target in motion, press it again to detonate
  • (C) dash
  • Enter/P to Pause Menu (Reset Cart to get back to menu)

(Alternative mapping to C is Z and to X is V)

Lich King's Gauntlet is also available on itch.io.

Description

In the Lich King's Gauntlet, you play as a wizard competing in a deadly tournament. Fully utilize your fireball and dash abilities in frantic combat against various types of wizards. Will you survive all the rounds for a chance to fight the Lord Supreme himself?

Game modes

  • Tournament,
  • Endless,
  • Training.

Lore

Our gracious Lord, in His eternal wisdom, calls forth a tournament. 
All the mages are to compete for the glory of a fair duel with our immortal Lord, 
a chance to win his crown and throne...
Every thousand years since the ascension of our most generous Lord, 
a tournament is held. 'Tis a great opportunity to clear the tensions 
between the mageocracy and the Church of Eternal Rule...
Everyone who fails to attend the tournament will be executed... 

The High Priest, Essays Honoring the Lord, 5563 After Ascension

I write these words into stone, as it cannot be burned. 
It took us hundreds of years to learn what we once knew...
They call it eternal wisdom; I call it deceit. 
They call it a tournament; I call it a slaughter... 
Tomorrow it begins, and the day after, the only magic left 
in this world will be his. 

Unknown, Stone shards, 1563 After Ascension

Acknowledgment

This game was made in Pico-8 for the Minigame a Month Jam - May2024. Special thanks to all the playtesters; without you, this game wouldn't be what it is.

*Update 2024-05-27 - The boss attack indicator is fixed and dead enemies no longer drink potions.

P#148942 2024-05-25 09:28 ( Edited 2024-05-27 14:46)
[ :: Read More :: ]

Cart #space_face-0 | 2024-05-24 | Code ▽ | Embed ▽ | No License
6

For TweetTweet Jam (or Toot Jam) 2024 - CODE MUST FIT IN 500 CHARACTERS! [expertly minified by PANCELOR - tiny version in jam entry] NOTE: This cart isn't minified completely and has sounds/restart for fun.

=== INSTRUCTIONS ===

Shoot the Space Faces as fast as you can!

Get get more points for shooting a space face faster!

Go for record time AND score!

Mouse to aim, mouse button to fire space lasers.

Press Z/X to play again.


WORLD RECORDS SO FAR:

Record Time: 3.8883s, Solitalker.

(Former Record Time: 5.8667s, John Romero.)

Score: 8200, George Broussard. (Tie: Solitalker.)

P#148907 2024-05-24 16:17 ( Edited 2024-05-24 16:18)
[ :: Read More :: ]

Cart #prospectus-2 | 2024-05-24 | Code ▽ | Embed ▽ | No License
2

P#148885 2024-05-24 01:02 ( Edited 2024-05-24 01:06)
[ :: Read More :: ]

Cart #rebutt-2 | 2024-05-24 | Code ▽ | Embed ▽ | No License
6

P#148882 2024-05-23 22:29 ( Edited 2024-05-24 08:56)
[ :: Read More :: ]

Bowmen

a silly little game about shooting arrows at murlocs

Cart #pl_bowmen-1 | 2024-05-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Hello everyone,

I've been having so much fun working on this but I keep running out of tokens!
I'm trying to find ways to refactor so I can add my murloc summoner mechanic, it's going to be awesome.

v0

Here's where I am so far

  • basic game loop
  • torches, locks
  • basic murloc

Basics

Become a bow-wielding hero in this game, battling pesky murlocs to reclaim the land!
Jump around, shooting arrows and setting fire to their tents. Collecting pickups as you go until everything's back to normal, oh and there's a blood moon every now and then...

Todo

Music

  • Still tinkering around, I don't really know what I'm doing here yet.

Graphics

  • Polishing some sprites and adding more variety in the ground

Clean up

  • General clean up and token saving

Summoner

  • a murloc with the bone stick can spawn which can turn torches green during the blood moon
  • when there green torches can hurl fireballs from them (need to dash through the flames to extinguish)

I'm not sure if it's even possible to finish atm...

Anyway let me know what you think!

edit v1

  • summoner murloc
  • graphic polish
  • token saving

P#148879 2024-05-23 22:11 ( Edited 2024-05-27 09:53)
[ :: Read More :: ]

I'm pretty sure this is a bug; I'm on pico8 0.2.6b / linux

You can turn on character wrapping with 0x5f36 / 24374, but it acts unexpectedly when you move the camera:

cls(1)
poke(0x5f36,0x80) --turn on character wrapping
msg='0123456789abcdefghijklmnopqrstuvwxyz'
?msg,0,0,12
camera(16,0)
?msg,16,12,13

Expected behavior: both prints should wrap at the edge of the screen.
Actual behavior:


There's a similar issue with p8scii "\^r" wrapping:

cls(1)
msg='\^rf0123456789abcdefghijklmnopqrstuvwxyz' --note p8scii wrap at start
?msg,0,0,13
camera(16,0)
?msg,16,18,14
P#148878 2024-05-23 21:45 ( Edited 2024-05-23 21:47)
[ :: Read More :: ]

Hey, I just updated my AppleThing to Monterey 12.7.5 and now I cannot run Pico-8 anymore though I have updated Pico-8 just recently and it had no problems or whatsoever until now. Does anybody face similar problems? I have not yet dug deeper in what could be causing failure but I appreciate any kind of help or information.

Thanks in advance and I am looking forward to any response.

Cheers! (:

P#148846 2024-05-23 11:40
View Older Posts