New games every week!
Struggling.. Blog
17th February 2021
Today hasn't gone very well.

-=-=-

The Plan


"Busy Road"

A simple Frogger clone for Browsercade. That's the plan. Feel free to suggest ideas in the comments below.

What My Head Did


Frogger?! Come on, Jay, that's like a "mini game".
You could do that in a mini script or something.
Except you don't have an ability to make a mini script.
That'd be handy, though. Like a mini game scripting engine?
Build yourself a giant sprite sheet full of re-reusable tiles, maybe get it to recolour greyscale ones over a set of default INK colours. No need for extra sprite loading.
Use the JMTrackr engine to insert a string into the mini game script for music. No need for separate downloads for those.
And a script that fits into an easy string for portability.

You could do that, Jay..
You could.. .. You COULD!!

Go on, Jay.. Go on.. ..
Do That!!!

-=-=-

Timeout..


So I headed off to SoCoder for a bit of a cool-off.
Pakz has posted an example of a Godot maze generator.

The script can make nice looking mazes.
To get it to run, simply copy and paste the code from the code-box, then take that and open up the Godot online-site, then..
um..
It needs a zip, I think.
You have to zip it up and put it somewhere? What do you call the script?! What do you call the zip?

How....?
...

....!!?

I ranted a bit.
It should be easier than that.
You should be able to code something, then copy+paste the code elsewhere, then copy+paste the code back into a simple interface to run it.
.. Right?!
That's how scripts are meant to work..

What My Head Did


.... Oh, Jay!!!

You could do that, Jay..
You could.. .. You COULD!!

Go on, Jay.. Go on.. ..
Do That!!!

-=-=-

How Far I Got


I started a new framework, with the intention of making the code relatively easy to port back into Browsercade once it's ready to go.
I've made a couple of simple functions. One to load the script, the second to run during the main loop, and perform the script work.
I've added a timeout so that if a script gets stuck, the parser can escape safely and not explode!

What I Haven't Done


Any commands, any scripting, any loading, any .. ... anything!!

Is this going to happen!?
I honestly haven't a clue..

Thoughts and suggestions below.
Views 131, Upvotes 10  
Jse
New games every week!
Site credits : Jayenkai put all his heart and soul into everything you can see on this site.
(c) Jayenkai 2023 and onwards, RSS feed

Blog - Struggling.. - AGameAWeek