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

Cart #earth-1 | 2024-04-17 | Embed ▽ | License: CC4-BY-NC-SA
10

I saw this post on stackoverflow and thought I'd give it a go in Picotron :P
https://gamedev.stackexchange.com/questions/147193/imitate-a-textured-sphere-in-2d

The earth texture is a downscaled version from this site: https://planetpixelemporium.com/earth8081.html

Change Log:
1.1 - Optimised! From 160% cpu usage to 80% (when rendering a 64*64 pixel image)

P#146715 2024-04-15 21:26 ( Edited 2024-04-17 21:27)

[ :: Read More :: ]

Cart #mandelbrot_set-0 | 2024-04-12 | Embed ▽ | License: CC4-BY-NC-SA
6

WARNING - This takes a ~10s to render so please be patient :P

A naive approach to rendering the Mandelbrot set.
I made this because I wanted to get a better understanding of the maths behind it, so I focused on making the code readable, not fast.

You can customise the colour by changing the parameters of the 'Gradient' function at the top of _init.

You could use this as a screensaver if you really wanted, but I wouldn't recommend it due to how long it takes to load...

P#146490 2024-04-12 21:17

[ :: Read More :: ]

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

ExternalLog
A basic Log window that can be used with any windowed cart
Running this will open a readme.txt with this same text in it
Look inside to find the actual ExternalLog.lua file
Also see 'Example.lua' to see how to use this

Simple Usage

  1. Place ExternalLog.lua into the same directory as your main.lua
  2. Inlcude the ExternalLog.lua file with: include("ExternalLog.lua")
  3. Call ExternalLogWindow() in _init()
  4. Call Log("Hello World") to add a log message

Other Features
PassPrintToLog():
Call this in _init to be able to use print() to send Log messages
(you can also pass 'false' as a parameter to disable regular printing)
LogMenuItems(OPEN_SHORTCUT, CLEAR_SHORTCUT):
Call this to create menuitems for opening and clearing the Log
(OPEN_SHORTCUT & CLEAR_SHORTCUT should be strings in the form "CTRL-X")

P#145829 2024-04-05 19:49 ( Edited 2024-04-05 19:49)

[ :: Read More :: ]

Cart #downloader-1 | 2024-04-01 | Embed ▽ | License: CC4-BY-NC-SA
21

A windowed app that should make downloading carts a lil' easier!

How to use:

  1. Select a download destination with the dropdown menu.
    NOTE: You can click 'Edit' to customise the options available - Make sure to save the .pod & restart Downloader for your changes to take effect.
  2. Click the 'Cart ID' field to enter the Cart ID you want to download.
    NOTE: You can use CTRL-V to paste your Cart ID - you don't even need to select the field first!
  3. [OPTIONAL] Edit the 'Cart Name' to change what the name of the file will be after downloading - it will default as the Cart ID.
  4. Click 'DOWNLOAD'
  5. [OPTIONAL] Click 'Open' to open the destination folder, for easy access to your downloaded cart!

Important Info:
This app will auto create the destination directory if it doesn't exist when you click DOWNLOAD!
If that directory is 'Screensavers' or 'Wallpapers', it will also copy over the default carts from the corrosponding /system/ folder.

Also, the colours are based on your theme, so if you think it's ugly... I'm blaming you :P

P#145411 2024-04-01 23:23 ( Edited 2024-04-01 23:24)