Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Begginers how to: extension example of (any) blockly game

74 views
Skip to first unread message

Ilias Birdas

unread,
Apr 27, 2025, 6:50:33 AMApr 27
to Blockly
Dear community

This is a novice questions, but in my desperation I place it regardless.

I have managed to build the blockly games in my local Ubundu VM.
I installed Visual Studio Code, I can navigate to my installation , I can make changes to files like Maze>scr>maje.js and compile it again (make Maze) .

Can I find somewhere a practical guide or tips on
1) where to find actual reusable extensions and modules and how to use them?
perhaps this is the place? : https://google.github.io/blockly-samples/
2) a hands on advice or guide, how to take one of these plugins  how to add it in the actual code of my local Maze src (or any of the blockly games) and compile it so that I actually see it working ?

Thank you

Neil Fraser

unread,
Apr 27, 2025, 7:33:23 AMApr 27
to blo...@googlegroups.com
Note that Blockly Games doesn't use the current version of Blockly.  We are unable to upgrade since using the current version would increase the download size by a factor of six and decrease stability.  Blockly Games uses its own low-maintenance fork.

--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/blockly/df3da752-2b6e-47f2-9688-27cce9f33616n%40googlegroups.com.


--
Neil Fraser, Switzerland
https://neil.fraser.name

Ilias Birdas

unread,
Apr 27, 2025, 7:49:33 AMApr 27
to blo...@googlegroups.com
Thank you for sharing this information. 
What does this mean practically for the beginner, are there limiting options to achieve extensions as per my example?

The reason I am asking: I have an obligation to make an extension in one platform like blockly.
Should I stay on course or would you suggest to look into another platform?

Kind Regards
Ilias

You received this message because you are subscribed to a topic in the Google Groups "Blockly" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/blockly/V3HIA9VGuOM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to blockly+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/blockly/CAEx9HWGbXEcaoyZJ7%2BoWQafK9m2%2BWUyfV4a3sDunfgEpnj%3D41Q%40mail.gmail.com.

Neil Fraser

unread,
Apr 27, 2025, 8:04:57 AMApr 27
to blo...@googlegroups.com
Oh, absolutely make an extension for Blockly.  That would make a great project that's relatively easy to do.  However, your extension won't run in a copy of Blockly Games.

Other members of this group can assist with the extension and how/where to use it.

Ilias Birdas

unread,
Apr 27, 2025, 10:37:39 AMApr 27
to blo...@googlegroups.com
I remain hopeful for any answers that may occur.
In the meantime , if the suggestion is not to use a copy of blockly games, what is my alternative?


epas...@google.com

unread,
Apr 28, 2025, 12:14:18 PMApr 28
to Blockly
Hi there,

If you haven't used Blockly in any other context yet you could go through the Getting Started Codelab so you have a basic local app to experiment with. Once you have a basic app you could then use it for testing your plugin. You can also find more details about plugins on this page.

Cheers,
Erik

Ilias Birdas

unread,
Apr 28, 2025, 2:10:37 PMApr 28
to blo...@googlegroups.com
Thanks for your reply


I understand doing it locally may be a challenge.I went online here:
and I started my own codespace , it opens an environment which is similar to my local Visual Studio code

can you please tell me

a) which one is the command to build-compile any changes I make there?
b) which is the command to run the private instance of blockly games from my codespace?

Thank you




Erik Pasternak

unread,
Apr 28, 2025, 4:18:16 PMApr 28
to blo...@googlegroups.com
As Neil said, trying to write a plugin using Blockly Games is where you'll run into problems, not trying to do it locally. Please try going through the codelab I linked first as that will walk you through setting up your project and building it.

Cheers,
Erik Pasternak | Unblocker | epas...@google.com     


Ilias Birdas

unread,
Apr 29, 2025, 6:56:17 AMApr 29
to blo...@googlegroups.com
Guys , thanks for your help , I am now unstuck !

I have had some success and I would like to share with you what happened to give you an alternative perspective.
Some times you have to deal with people who are not that familiar, thus unable to progress stumbling upon problems that may be invisible (due to their triviality).

Things I learned in between:

1) I dont actually have to download a local copy and build blockly games on my PC !!!
Github offers this option to clone a branch of the master code online via this codespace option
I can understand how fundamental this may sound but I was not aware there is such an option , I would not have spend soooo much time trying to set a development environment locally
I started using it , launching my local visual server code installation and it works wonders 

2) Using the newly acquired knowledge of the github online cloning & codespace, I followed the steps from codelabs .
The part I could not achieve was how to run it and see my actual change changes
(what I was previously asking , admittedly not with factual accuracy , how to compile and run it )
well it turns out  I had to install an extension in the Visual Studio server called 'Live Server'
This allows you to fire up the browser to pull all the latest changes and see what you are changing ....
that removed my last blocker .

I am far from done and probably will hear from me on some other topic
however at least now I can spend my time on the actual code extension and not the environment

Thanks for all your help
Regards



Erik Pasternak

unread,
Apr 29, 2025, 1:47:31 PMApr 29
to blo...@googlegroups.com
Thanks for reporting back and I'm glad you were able to get unstuck!
Erik Pasternak | Unblocker | epas...@google.com     


Reply all
Reply to author
Forward
0 new messages