New games every week!
✂️ - 05 - SmileBASIC - Text (no style) Blog
5th August 2025
I put a little more work into SmileBASIC on Switch 2, yesterday.

-=-=-


Play Video


The framework's being written .. Mostly.. from scratch.
..I couldn't be bothered rewriting the jRand() function, so copy+pasted it from the old version! But other than that, everything's fresh and new and redone from scratch, mostly so I can try doing a few new and interesting things with it, and also learning from what I do, and maybe crossing that back over to JSE. Who knows.

So, I started with getting the sprite function working correctly, and from there got the Particles working.
These are mostly the same as you get in JSE.
DrawImg x,y,image (But with SmileBASIC, things are 100% colourable.. Man, how I wish we could have that in JSE)
ThrowParticle x,y,type,direction,speed,image,hue
\o/yeay\o/!

I had to write an image handler, and particle handler, and coded all the different Particle types that I have in JSE.

I added a AddImage which draws an "additive blend" edition, and GlowImage which.. tries to make a glowy version (but doesn't do a very good job of it, yet! I'll keep tweaking that)

Then I headed over to do Text, and remembered that in the last framework I had to draw my own bitmap font.
... I could either copy+paste the old one, or redo from start.

.. So I redid from start, and copied the Amstrad font pixel by pixel!
Took bloomin' ages, so it did, but now I can stick text on the screen at different sizes and such..
Text x,y,"Text",centered

Everything's coming together lovely.

I might see about adding TextStyle, too. Why not!

Next will be adding controls and such, and then figuring out the best way to do audio. Using the default sounds, or see about somehow porting JSE's new audio generation code across.
Hmmmm..

A.I. Corner


Lyrics : By me
Sound Imported : Nothing Xeric
> Reveal 🔎

| Download
| Suno Link

Alternative versions
| Download
| Suno Link

| Download
| Suno Link

| Download
| Suno Link

Sung by Suno


"Cartoon @Derek has a keyboard plugged into his Nintendo Switch," by ArtFlow.ai

... My own fault for not clarifying that..

> Reveal 🔎
Views 416, Upvotes 4  
Daily Blog , Smilebasic
New games every week!
Site credits : Jayenkai made this.
(c) Jayenkai 2023 and onwards, RSS feed 6

Blog - ✂️ - 05 - SmileBASIC - Text (no style) - AGameAWeek