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

Cart #tankzilla-5 | 2021-02-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

P#87933 2021-02-20 16:27 ( Edited 2021-02-26 11:58)

Cart #jetpico8-0 | 2021-02-20 | Code ▽ | Embed ▽ | No License
8

A carefully crafted Pico-8 demake of Rareware's ZX Spectrum classic, lost in space and with only your blaster to protect yourself, you must collect all pieces of your spaceship, fuel it up and escape as soon as possible

Credits/Special thanks:

-Main game and most music/graphics by myself, Coffee Bat
-In-game song 3 by the outstanding Blameitontherobot
-Original game by the amazing Ultimate/Rare
-A couple of ideas and the main inspiration to make this game thanks to Asobitech and their amazing Super Jetpak DX

P#87931 2021-02-20 15:51 ( Edited 2021-02-20 15:52)

Cart #leadersfinal-0 | 2021-02-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

I participated in the 5th Brackeys Game Jam, and here's the final version! Tutorial ingame. Here's the itch version!

P#87925 2021-02-20 10:41

Hello.

This is the first game I have made in PICO-8, and by far the most fun I've had making a game. It is a platformer inspired by Celeste. (Original, I know)

This game is actually being made as part of a school project, so any feedback would be much appreciated. Whether bugs I missed or just something you think would improve the game.

Also, the code I've written for this is sort of a mess - we don't talk about it.

Cart #yupsemb-0 | 2021-02-20 | Code ▽ | Embed ▽ | No License
5

P#87915 2021-02-20 04:45

I'm very new to linux and raspberry PIs, but I saw that pico 8 had a raspberry pi option so I thought it'd be fun to try it out. All the instructions I saw online looked pretty plug and play so I extracted the folder to the home directory, but when I double clicked the pico8 file a window would briefly pop up then disappear, and upon trying to run it from the command line I got the error message "segmentation fault". Are there any settings I should change? I am using a Raspberry pi 4 4gb model.
Thank you for any help you have.

P#87917 2021-02-20 04:44

TL;DR: Do you like your pixels razor-sharp? Do you like PICO-8? Then get this handheld.

Looks

This is the new Game & Watch

This is the Game Boy Micro

And this is the new Waveshare GPM280.

Looks good, don't you think?

And it runs PICO-8 perfectly. The screen, oh, yes the screen. In a word: razor-sharp pixels.

Screen

128x128 is such an oddball resolution. Practically no screens in use can scale that resolution easily, the only exceptions are 1024x768 screens and the iPhone 4's 960x640 retina screen. The solution to this conundrum? A smartphone-like high DPI screen plus an intelligent scaling algorithm. An approach taken by the upcoming Analogue Pocket for example. But that won't run PICO-8.

Take a look. On the bottom is the pixel-perfect iPhone 4 screen (5x integer scale), on the top is the GPM280 screen. Also notice the 45° diagonals, on the RG280V they don't look right because of uneven scaling. Here they are perfect. (Right-click on this picture to enlarge.)

Here is another comparison (Right-click to enlarge). Oh, yeah, razor-sharp pixels. How is this possible? Again, high DPI: 286 DPI to be exact. That's almost iPhone territory.

Controls

A responsive D-Pad with some clickyness and buttons with plenty of travel. All good.

Performance

The Pi 3 (in the compute module variant) handles 60 FPS carts with ease. No complaints here.

Battery

This one is really unfortunate. You get two hours of play time. The select and start buttons also show the battery status with green, blue and red LEDs. If it's close to drained the LED starts blinking. The battery will only charge when the power button is in the off-position. Try turning off the Wi-Fi when not in use. If it weren't for the battery situation I would declare this to be the perfect PICO-8 handheld.

Software

I didn't manage to add PICO-8 to recalbox but I succeeded with Batocera. That OS is much more polished anyway. It does have out of the box support for PICO-8 but it's an PICO-8 emulator with some compatibility issues, not the real deal. Let's fix that.

I created an nifty installer package so you can install PICO-8 with very few steps. That includes extra features like shortcuts, sharp picture scaling and swappable controls.

Pixelpunker's PICO-8 Installer

How to install

Prerequisites

  • Download Batocera for the CM3 and write it to a MicroSD card using the Raspberry Pi Imager. Use a SD card marked A1 or A2 (Application class).

  • Download GPM280 DTBO and unzip it to the overlays directory. Edit config.txt and add the following lines to the end of the file:
dtparam=spi=off
dtparam=i2c_arm=off
gpio=0-27=a2
dtoverlay=dpi24
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
display_rotate=3
dpi_output_format=0x7F217
hdmi_timings=480 0 26 16 10 640 0 25 10 15 0 0 0 60 0 32000000 1
extra_transpose_buffer=2
hdmi_ignore_edid=0xa5000080
dtoverlay=gpm280-pwm-audio

Prepare Batocera

  • Turn on the Game Pi Micro. Once you are on the home screen, access the menu with the menu key and connect to your local Wi-Fi under Network Settings/Hostname
    Turn on security under System Settings/Security

  • Now reboot under Quit/Restart System. Write down your IP address under Network Settings. Now write down your password under System Settings/Security.

Finish Setup

Login to your Lexaloffle-Account and download the PICO-8 zip file for the Raspberry Pi to your downloads folder.

Enter this command in Windows Terminal, Mac Terminal or a Linux Terminal.

scp ~/Downloads/pico-8*_raspi.zip [email protected]_IP:/userdata/

It will ask for your password you noted earlier. Now type (and enter your password again)

ssh [email protected]_IP
cd /userdata/
wget https://github.com/Pixelpunker/Pico-Host/releases/download/0.1/install-pico8.sh
chmod +x install-pico8.sh
./install-pico8.sh

After successful installation the system reboots.

Your new home screen.

Features

PICO-8 is properly installed with the following additional features:

  • Sharp scaling
  • Left and right triggers additionally function as ❎ and ⭕
  • Press select for a screenshot
  • Hold select for 0.5 s for a video

Launch PICO-8 in splore mode by choosing 'console' You can also swap controls between "Xbox style" ❎⭕ (which is the PICO-8 default) or "Nintendo Style" ⭕❎.

Browse screenshots and gifs you took with the select key directly on your Game Pi Micro.

Play PICO racer using the shoulder buttons.

Controls

Have fun. The fantasy console is no longer a fantasy. It's in your hands.

P#86878 2021-02-19 22:46 ( Edited 2021-02-26 06:41)

I like to play with my kid but the cartridges are too many. How can i remove a cartridge?
Also if the available cart list gets auto-updated can i change that?

Thanks.

P#87896 2021-02-19 16:36 ( Edited 2021-02-19 16:37)
P#87895 2021-02-19 16:10

Cart #helloworldmodernised-0 | 2021-02-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

So, yesterday my brain exploded when I messed around with the new music filters introduced with 0.2.2, and went on a rampage of updating songs in my local carts to use them where neccesary, and just now I changed the music in the hello.p8 demo. I hope you like it!

P#87889 2021-02-19 13:22

I'm making a collection of songs called Noclip, which anyone here in the community can use with credit, a bit like ToyBox. Here are the tracks I've made so far, enchanced with 0.2.2 music effects!

Track One: Seen. Not sure what you would do with this one, but surprise me!

Cart #noclipseen-0 | 2021-02-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Track Two: SysNull. Spacey vibes. An expanded version of a song I made a bit of time ago.
Cart #noclipsysnull-0 | 2021-02-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

If you use these, comment on the post so that I can see what you've done with them! I'm excited to see the uses of these songs.

P#87887 2021-02-19 12:54

I tried making a 60 FPS game and noticed a weird behavior of my PICO-8: it's refresh rate stayed at 29-30 FPS even though the game was supposed to be running on 60 FPS according to stat(7) and CTRL-P widget. Movement looked choppy and the builtin FPS counter (stat(9) and show_fps config) shown 29-30 FPS. My monitor is capable of 60hz refresh rate and my CPU and GPU usage wasn't even remotely close to 100% (or even 8%, which is half of a processor core and can be a limit for single-threaded apps). It works properly on the web version.

Pls halp!

P.S.: It works just fine on Linux on the same machine with the same cart and default config.

Relevant config:

show_fps 1
foreground_sleep_ms 5
background_sleep_ms 10
host_framerate_control 0

Some stats and readings:

stat(7) and CTRL-P: 60/60
stat(9) and show_fps: ~30
stat(1) and CTRL-P: ~0.3
CPU usage: ~7%
GPU usage (3D): ~30%

Soft/hardware:

PICO-8 v.0.2.2
Windows 10
Intel core i7 gen9
Nvidia GeForce GTX (I don't know which exactly but not a bad one)
Screen refresh rate 60hz

Cartridge:


Cart #cube_warld-3 | 2021-02-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#87885 2021-02-19 12:35 ( Edited 2021-02-21 15:44)

How can I translate the options menu.
Would it be possible at least in web target?

P#87883 2021-02-19 08:29

Cart #tayowikoki-0 | 2021-02-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

P#87872 2021-02-19 02:20

Cart #zarukidetu-0 | 2021-02-19 | Embed ▽ | License: CC4-BY-NC-SA

P#87871 2021-02-19 02:10

Cart #remains-0 | 2021-02-19 | Code ▽ | Embed ▽ | No License

controls:

  • arrow keys: move

A short little game. I'm quite proud of how it turned out

P#87870 2021-02-19 01:17

Cart #typefight-1 | 2021-02-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

a standard normal typing game

controls:

  • a: a
  • arrow keys: move/menu select/etc
  • b: b
  • backspace
  • c: c
  • d: d
  • dash: -
  • e: e
  • enter: confirm/begin/etc
  • f: f
  • g: g
  • h: h
  • i: i
  • j: j
  • k: k
  • l: l
  • m: m
  • n: n
  • o: o
  • p: p
  • q: q
  • r: r
  • s: s
  • space:
  • t: t
  • u: u
  • v: v
  • w: w
  • x: x
  • y: y
  • z: z
P#87864 2021-02-19 00:14 ( Edited 2021-02-19 21:56)

Here is a Beta Build of Lil Dozer for testing. Full version to be released Spring 2021. Please be nice and don't steal it.

Cart #dozerbeta-4 | 2021-02-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

P#87859 2021-02-18 22:27 ( Edited 2021-02-20 21:54)

Cart #creeps-15 | 2021-02-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

A WIP where I'm experimenting with making my code as modular as possible for easy unique room creation.

No gameplay to speak of yet, just the ability to open doors, have a shadow in the door light and spawn doors through buttons.

P#87853 2021-02-18 18:45 ( Edited 2021-02-20 15:24)

I've seen a significant performance difference between the latest v0.2.2 and v0.2.1b.

For this particular cart, it runs significantly slower on the latest version when measured with a stop watch, but when using the stat(1), the system claims the opposite--i.e. that it's faster. (These are both being run from the .exe on Windows.)

  Version    stat(1)           Stopwatch Timed
  v0.2.1b    285               30 seconds
  v0.2.2     219               8 minutes, 14 seconds

I've included the cart for reference.

-ElectricGryphon

Cart #render_speed_dif-0 | 2021-02-18 | Code ▽ | Embed ▽ | No License

P#87830 2021-02-18 06:27

Cart #rotate_sprite-0 | 2021-02-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

I started working on a new project and was wondering how i could rotate sprites and came up with this. It's not very efficient but once the rotation is done, the rotated sprite is cached in the sprite sheet. Please use it with care :)

I hope this can be useful to someone else too! Happy coding!

P#87828 2021-02-18 04:06
View Older Posts
Follow Lexaloffle:        
Generated 2021-02-26 16:45 | 0.214s | 4194k | Q:210