Log In  
Follow
TetraPengwin

SpritePaper

A general tool to use sprites a Picotron wallpapers

Cart #spritepaper-0 | 2024-04-12 | Embed ▽ | No License
5


to begin, simply place the cart at /appdata/system/wallpapers/ and select it as the chosen wallpaper from the Picotron settings.
a settings file will be automatically generated at /appdata/sprite_bg/settings.pod
there is also a readme file inside the cartridge which goes a bit further in depth on what all the settings do

5
2 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



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


Look at those cute little fluffballs, I sure hope they don't explode into a huge display of colours!

Chuzzles are very peaceful creatures, however, their friendliness can be their biggest downfall. If they are with a group of 3 or more friends of the same colour, they will explode into a cloud of fur.

Version History

v0

Initial release
Chuzzles will explode when X is pressed, assuming if they are in a group of 3 or more

v1

Chuzzles will now spawn and fall to fill in empty spaces left from previous matches
Chuzzles now automatically explode instead of requiring a button press

  • The X button has been repurposed to generate a new board
  • Chuzzles no longer stare and shake as they immediately explode instead
2
1 comment



This function allows the calculation of the distance between two points without squaring the numbers, greatly increasing the max distance before the number overflows.

function calc_dist(x1,y1,x2,y2)
	local xdif=x1-x2
	local ydif=y1-y2

	local atan=atan2(xdif,ydif)

	local xdist=cos(atan)*xdif
	local ydist=sin(atan)*ydif

	return xdist+ydist
end

it is also quite fast, doing 5000 calculations per frame (which is way more than you will ever need) uses around 0.63 CPU

12
17 comments



Cart #adelie_chess-4 | 2023-03-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7


The long-awaited spinoff to Chess is finally here! In Adelie, your goal is to destroy all of your opponent's eggs while keeping your eggs protected. Every penguin has a unique move set, and can even be evolved to gain different moves and abilities! Below is an image containing each penguin's move set and evolution path for your convenience.

  • Each penguin may move using the arrows indicated by the green box and may kill using the arrows indicated by the red box.

  • The distance each arrow goes is important! All moves have a limited range matching that in the image.

  • Evolve a penguin by moving it onto the same tile as an identical penguin. Evolving an Egguin allows you to choose one of the three evolution paths.

[ Continue Reading.. ]

7
6 comments



Cart #switchstick-1 | 2021-12-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1


This is a beta build of a multiplayer vs game inspired from Spinstick, which was originally made by @db0z

Any feedback / bug reports about the game would be greatly appreciated!

Controls / Rules

left / right arrows - move player 1 (pink)
S / F - move player 2 (blue)

Hit the ball above the white line to pass play to the other player
If the ball falls off the bottom of the screen while you are the active player, you lose
You can tell who is the active player by seeing who's paddle is lighter

Changelogs

0.1

Initial Release

0.2

Added singleplayer mode, simply hit the ball to get a point, see how many points you can get
Added configurable settings for gamemode, gravity and switchline height
Added highscore to singleplayer mode, high scores can only be set with default gravity (7)

1
1 comment



I think rotation would be a nice addition, even if it is only in 4 directions. Possible syntax:

-- draw sprite 1 at (60, 60), rotated 90 degrees clockwise 
spr(1, 60, 60, 1)

-- draw sprite 1 at (60, 60), rotated 180 degrees (effectively equivalent to flipping is both directions)
spr(1, 60, 60, 2)

-- draw a 2x2 sprite starting from sprite 1 at (60, 60), rotated 90 degrees counterclockwise 
spr(1, 60, 60, 2, 2, 3)

Syntax with rotation mode as the last argument could work similar to 'print' in the way that print reads the second argument as the color if not enough arguments are given

1 comment



Cart #sobcartv2-0 | 2021-07-12 | Code ▽ | Embed ▽ | No License
4


A modification of the Celeste SOBcart!

New features:

Save best times using cartdata, so times are saved even after closing the cart

Toggle spawning times being counted in your time w

Delete current level (or all levels on Summit) best time from pause menu

4
0 comments



Cart #dvdtweet-0 | 2021-07-01 | Code ▽ | Embed ▽ | No License
3


A dvd screensaver, made in just 198 chars!

r=rnd
x=r(107)y=r(116)h=r{-1,1}v=r{-1,1}c=r(9)o=ovalfill::_::cls(1)
if(x<1or x>107)c=r(9)h=-h
if(y<1or y>116)c=r(9)v=-v
x+=h
y+=v
?"dvd",x+5,y,c+7
o(x,y+6,x+20,y+11)o(x+7,y+7,x+13,y+9,1)flip()goto _
3
0 comments



Cart #descent-7 | 2022-01-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
21


You have made it to the summit of the mountain, but now you must find a way back down!

Congratulations to Kamera for winning the 0m Memorial Competition!

21
4 comments



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

Up is down, left is right, jump is even dash! Do you have what it takes to adjust to these changes and reach the summit?

7
7 comments