Log In  
Follow
TetraPengwin
[ :: Read More :: ]

SpritePaper

A general tool to use sprites a Picotron wallpapers

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


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

P#146452 2024-04-12 12:06 ( Edited 2024-04-12 12:07)

[ :: Read More :: ]

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

P#145955 2024-04-07 06:46 ( Edited 2024-04-11 06:37)

[ :: Read More :: ]

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
P#123505 2023-01-02 10:49 ( Edited 2023-01-05 08:16)

[ :: Read More :: ]

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

P#119234 2022-10-17 22:12

[ :: Read More :: ]

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.

  • If an arrow is facing down and has a small shadow, this indicates that the move cannot be blocked by other pieces along the path.

  • The Pengineer has a special ability that makes its attacks ranged, allowing it to kill other pieces without moving, as long as it has a line of sight.

  • The Flying Penguins divebombs create a devastating shockwave. Opponents pieces on a tile marked with an X will be killed if the Flying Penguin lands directly next to them.

  • The color of the cursor indicates which players move it currently is!

This cart will more than likely be no longer updated, as I will be doing a complete rewrite of the underlying system, although this may take a while

P#114985 2022-07-29 23:59 ( Edited 2023-03-12 22:10)

[ :: Read More :: ]

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)

P#101853 2021-12-07 09:54 ( Edited 2021-12-08 08:33)

[ :: Read More :: ]

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

P#95899 2021-08-11 22:54 ( Edited 2021-08-11 22:57)

[ :: Read More :: ]

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

P#94775 2021-07-12 23:21 ( Edited 2021-07-12 23:23)

[ :: Read More :: ]

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 _
P#94279 2021-07-01 01:52

[ :: Read More :: ]

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


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!

P#89081 2021-03-22 22:44 ( Edited 2022-01-31 08:35)

[ :: Read More :: ]

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?

P#88191 2021-02-26 05:29 ( Edited 2021-02-26 06:03)