Log In  

BBS > Community Superblog
All Users | Following | GIFs | Postcarts | Off-site

I think all Retina screens are affected.

The image is a little bit blurry. The smaller the window is, the more blurriness is visible. But it's blurry even in the full screen mode, just much harder to notice.

In order to compare images you may need to download them and open them in a non-blurring-when-zooming-in image viewer. I think the old good MS Paint zooms image with integer scaling.

Picotron on my MacBook is not pixel-perfect:

PICO-8 on my friend's MacBook is also not pixel-perfect:

Pixel perfect image for comparison, made using a different retro game engine called Pyxel https://github.com/kitao/pyxel

1
2 comments


Thinking about putting together a collection of free instruments for the community - simple stuff with one or two nodes and one or two envelopes, like this:

...so as to leave a lot of room for modification by users.

What instruments would y'all want in a free patch collection? Right now we have crude versions of:

  • violin
  • piano
  • pipe
  • organ
  • kick
  • snare
  • hat
  • crash

but a single .sfx file can hold up to 24 instruments, so it feels like we should offer more than eight.

edit: instrument collection cart!

7
21 comments


Cart #buzapokizi-0 | 2024-04-08 | Embed ▽ | No License
3

I'm trying to learn myself about bitmap rotation algorithms. I've been documenting my exploration in the attached cart. If you run it in your browser, what you're seeing is the same sprite from the spritesheet being rendered in four different ways:

1) rotating each pixel location via standard sin/cos rotation matrix
2) rotating each pixel location via the 3 shears method
3) rotating each pixel location via 3 shears + a fix for Picotron's rounding during tan() calculations
4) rotation each texture endpoint via standard sin/cos rotation matrix, then drawing with tline3d

Each method is labeled with a title and the approximate CPU usage each one uses when being drawn alone. You'll note that the tline3d implementation is the fastest, but also has the most "holes" along non-orthogonal rotations.

[ Continue Reading.. ]

3
1 comment


Flappy Yoyo Demake

This is a flappy bird clone, and it is also a "demake" of my other game flappy yoyo.

Cart #hmeniroma-0 | 2024-04-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

1
0 comments


Cart #flying_picotron-2 | 2024-04-09 | Embed ▽ | License: CC4-BY-NC-SA
12

classic screensaver

V0.3 UPDATE: now contains a settings window

running the p64 from filenav will open a window where you can change the settings to this screensaver

the same p64 can be called as a screensaver from the system settings and will use the settings saved on it

main.lua contains screensaver settings program
screensaver.lua contains screensaver code and all info the settings program uses to build itself

you can reuse main.lua and write your own screensaver.lua to make your own screensavers with settings screens

note: to quit screensaver test you need to press esc. this does not seem to work on the embed at the moment.

have fun

12
4 comments


Working on some 16 x 16 sprites for Love Letter. From left to right:
Guard
Priest
Baron
Handmaid
Prince
King
Countess
Princess

1
0 comments


Cart #rainbow_rays_deluxe-0 | 2024-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5


you guys probably don't care that i released another one but here are the changes:

press x/o to turn invisible
updated menu
music (credits to peter hodgden as i used the main soundtrack from his game: sushi boi)
updated palette

thanks!

ps: this was a happy birthday to my brother.

5
1 comment


Cart #btnwut-0 | 2024-04-07 | Embed ▽ | License: CC4-BY-NC-SA
1

I cannot figure out what's happening with btn(). It seems totally random. I made this cart so you can see. I thought it was supposed to imitate PICO-8's btn() function, but that's clearly not happening.

Also, if anyone knows how to get data from different controllers, please share. Usually I would do something like btn(btn_num, controller_num) but with btn() acting the way it is... 🤷😂

1
6 comments


In Pico-8 I can do this:

d={ "one",
"two",
"three"
}

print(d[1][2])

This would return the 'n' from 'one'

Picotron returns nil.
I have to use

sub(d[r],c,c)

Has lua syntax changed or is this a Picotron thing?

2 comments


🎮 Join the Picotron Game Jam! 🚀

Are you ready for a week of intense coding and fun? The Picotron Game Jam is here! Code your game in a week (any theme!), vote the next, and see if you can become the community favorite.

👾 Starts: April 10th, 2024
🏁 Ends: April 17th, 2024
🗳️ Voting: April 18th - 25th, 2024

No prize, just glory! Only game submitters can vote, so your game is your ticket in.

🔗 Join now: https://itch.io/jam/picotron-jam

May the best game win!

4
0 comments


A simple SameGame clone with limited and endless modes.

Cart #raziwapafe-0 | 2024-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

Rules

In SameGame, you need to remove groups of like-coloured tiles from a randomly-generated board. Clearing larger groups of tiles will award you more points. You cannot remove individual tiles.
Tiles will fall downwards if the tiles below them have been removed. If a column is cleared completely, all of the tiles to the right of it will be shifted left to close the gap.

Modes

Both modes start with the grid full of random tiles.

  • Normal Mode
    In Normal Mode, the goal is to remove as many tiles from the board as possible. The score and move counters don't really mean much in this mode.
  • Endless Mode

[ Continue Reading.. ]

6
1 comment


Cart #jaw-0 | 2024-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
22

Jaw

> The year is 1974. You just got out of the theater and saw that scary shark flick. As you walk home thinking about the movie, you pass an arcade and there it is: A brand-new game based on the movie you just saw. You check your pockets for quarters. Let's do this.

This is my entry for the 2024 FishFest Game Jam. Help Kalea the shark get her dinner. But beware! Barrels of gunpowder, harpoons, and a guy named Quint are out to hurt you. Try to string fish bites together for more points.

How to play

Hold Z or X and release to jump out of the water and eat fish.
Avoid barrels, harpoons and oxygen tanks!

[ Continue Reading.. ]

22
0 comments


Here's a proof-of-concept for a zoomable camera:

Features

  • Multiple cameras
  • Set target coordinates, drawn at the camera center
  • Set zoom factor, for drawing scaled map and sprites

Functionality

  • camera.get_center()
  • camera.set_target(x, y)
  • camera.get_target()
  • camera.start_draw()
  • camera.draw_map(tx, ty, tw, th, x, y)
  • camera.draw_spr(s, x, y)
  • camera.draw_sspr(sx, sy, sw, sh, x, y)
  • camera.end_draw()

Relies on this smap function. Code is below or via GitHub.

Cart #zoomable_camera-1 | 2024-04-09 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

[ Continue Reading.. ]

8
4 comments


Is there a way for a keyboard entry when I need an integer from the user?
Especially for this:
https://www.lexaloffle.com/bbs/?tid=141477

On the line of

local playerHand = drawCards(5,cardDeck)

to which 5 can be modified…

btw can the F keys be overridden to a specific integer? (ie. pressing F12 for an integer of 12)

2 comments


This is a silent tutorial video; skip to 2:10 for the juicy bit:

This is an animated wallpaper that shows your custom PNG files -- just place them in a particular folder! It also works as a screensaver. It's cpu-friendly, only drawing during transitions.

Installing

  • load #photo_carousel
  • mkdir /appdata/system/wallpapers
  • save /appdata/system/wallpapers/photo_carousel.p64
  • run the cart once, to generate the appdata folder
  • cd /appdata/photo_carousel
  • folder
  • using your host OS, copy any PNG files into this folder (don't put them in subfolders)
  • set your wallpaper to photo_carousel in System Settings

Settings

Run podtree /appdata/photo_carousel/settings.pod to edit the settings. Be sure to not press enter while editing (this crashes Picotron 0.1.0e) and you must save with the mouse, not ctrl-s (another Picotron bug(?) -- ctrl-s saves the current cart, instead of the settings file)

Set the transition time to 0 to disable transitions

[ Continue Reading.. ]

7
4 comments


Hi all, here's a tutorial for creating a clone of the game 'Tron' (click the image below):

The code can be found below, or on GitHub

Cart #tron_clone-0 | 2024-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

1
0 comments


Hi all, here's a tutorial for creating circular movement, including 'wavy' and circular text (click the image below):

The code can be found below, or on GitHub

Cart #circular_movement-0 | 2024-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

2
0 comments


Cart #crumbling_crypt-0 | 2024-04-07 | Code ▽ | Embed ▽ | No License
10

How to play:

Arrows to move, X to start. You can step twice, before most monsters stepping once. There are exceptions to this rule.

Find Swords and Shields to help you overcome the enemy horde!

Search the key, uncover where the trapdoor is, and progress further to grab the McGuffin.

Devlogs:

If you are interested in game development articles, code breakdowns and alikes, I try to document all my projects over at my Ko-fi Page, free to read!

https://github.com/Achie72/kofi-articles

The cart is fully commented out, feel free to download and check things if you are interested in the inner workings.

[ Continue Reading.. ]

10
0 comments


Cart #rebootrdemo-0 | 2024-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Currently a demo, still a lot of things to add.

-- controls
➡️⬅️⬆️⬇️ to move

-- pitch of the game
Rebootr is a game about porn addiction, each level represents a situation you're faced with, each little red guy represents urges trying to get to you, each little green guy represents a task you have to accomplish.
Get as far as you can into the dungeon, run away from the red guys, run after the green ones.

Made by Charlie B. (https://www.fiverr.com/charlie_boud), ordered by J.K.Emezi.

0 comments


Picotron will convert all path/url strings to lowercase, invalidating some URLs.
I've uploaded a few small files (lowercase_file.txt, UPPERCASE_file.txt and incorrect_case.txt) to showcase this

function _init()
	--will try to fetch "lowercase_file.txt"
	lower = fetch("https://www.lexaloffle.com/bbs/files/51368/lowercase_file.txt")
	--will try to fetch "uppercase_file.txt"
	upper = fetch("https://www.lexaloffle.com/bbs/files/51368/UPPERCASE_file.txt")
	--will try to fetch "incorrect_case.txt"
	wrong = fetch("https://www.lexaloffle.com/bbs/files/51368/INCORRECT_case.txt")
end

function _draw()
	cls()
	?lower.."\n\n" --should succeed, succeeds
	?upper.."\n\n" --should succeed, fails (notice how error specifies a request to "uppercase_file.txt")
	?wrong.."\n\n" --should fail, succeeds
end

this issue has been addressed in the future 0.1.0f update

1
0 comments




Top    Load More Posts ->