Posted May 23, 2025 by ironaxia
Hey, it's been a while since my last update.
First, the file system has been updated.
The new file format only saves what is necessary, and files are almost four times smaller.
To update your games:
First, make a backup. Then, load your file with the LOAD command as usual.
Then, type SAVE, and the file will be updated.
The Sprite Editor has been updated.
First, the image banks are superimposed to help visualize the full sprites.
This also makes it possible to draw sprites that overlap between two banks.
New tools have also been added.
You can now draw lines, rectangles, and circles.
The Sprite Editor can now import images.
Click the Import Image button and select your image.
However, there are restrictions on importing images:
Images greater than 128 pixels horizontally or 2048 pixels vertically will be ignored.
The music editor is now available, but it is still incomplete.
It's a tracker-style editor.
The playlist commands are in the top left column.
The play/stop and record buttons are located in the top center.
The music button lets you add or delete music.
Music is actually a pattern playlist. Patterns are shared between each music file.
In the top right corner, you can adjust the tempo and ticks.
Ticks define the number of divisions of each beat per minute.
For example, four ticks is equivalent to 4/4 time.
Finally, octaves indicate the current octave on your keyboard.
You can edit notes by selecting a row within a sound channel.
Channels are separated into four parts as follows:
In this version, however, the volume, instrument, and effect cannot be edited correctly.
POLYGON and POLYGONF for drawing polygons.
POLYGON(points, [c=31])
POLYGONF(points, [c=31], [bgc=c])
Example:
POLYGON(50, 50, 100, 100, 50, 200)
This will draw a polygon for the following points: (50, 50), (100, 100), and (50, 200).
For POLYGON or POLYGONF to function correctly, an array of points is required.
An even number of values is also required, with alternating X and Y values.
If no results are displayed on the screen, it is most likely because there are fewer than four values in the points array.
If the background color (bgc) is not defined, then POLYGONF will also use the color parameter (c).
PRINT has been updated.
The last PRINT parameter (color) now accepts an array of colors to create a multicolored gradient.
Example:
PRINT("EXAMPLE", 120, 120, {25, 24, 28})
Print the text with a gradient effect on it.
SWAP(o, n).
SWAP()
Swaps a color index with another and reallocates colors when they are drawn.
Changing the draw palette does not affect anything that has already been drawn to the screen.
Example:
SWAP(31, 25)
Instead of drawing in white, color 31 will draw in red.
SWAP() without parameters resets the palette's color indexes.
The EXPORT command in the console export the current game as an HTML file.
All code and assets are combined into one file.
This allows the game to be played directly from a default browser without installing third-party web server management software.
Please note that this feature is not yet ready for exporting to sites such as itch.io and is only available for preview purposes.
Thank you, and I hope you have a pleasant time!