All JavaScript APIs and a GUI editor

169 views
Skip to first unread message

mcmxx...@gmail.com

unread,
Apr 27, 2019, 3:40:35 PM4/27/19
to Blockly
Hello everyone.
As in subject, is it there any Blockly implemententation of the whole JavaScript APIs? In eg, canvas, web audio, etc.

Then, is it also available any GUI editor to generate code with?

Basically, I'd like to create offline apps/games with Blockly.

Thanks in advance for help.

mcmxx...@gmail.com

unread,
Apr 27, 2019, 3:53:05 PM4/27/19
to Blockly
P.S.: I mean HTML5 Forms

Rachel Fenichel

unread,
Apr 29, 2019, 5:38:16 PM4/29/19
to Blockly
Can you clarify your question?

Thanks,
Rachel

On Saturday, April 27, 2019 at 12:53:05 PM UTC-7, mcmxx...@gmail.com wrote:
P.S.: I mean HTML5 Forms

mcmxx...@gmail.com

unread,
Apr 30, 2019, 1:27:06 AM4/30/19
to Blockly
I'd like to create HTML forms with an editor, but this is not main.
I'd mainly like to "code" in Blockly, generating JavaScript, but having nodes for ALL JavaScript APIs, so that I can create almost anything I can already see on the web.

Again, forms are not main, but I'd like to edit them to provide a frontend to my code.

mcmxx...@gmail.com

unread,
Apr 30, 2019, 7:38:42 AM4/30/19
to Blockly

Rachel Fenichel

unread,
May 1, 2019, 1:31:59 PM5/1/19
to Blockly
No, we don't have blocks implemented for every single thing you can do with JavaScript.  You'll have to decide which parts you need and create those blocks yourself.  You'll also need to decide what level of abstraction is most useful to your users.

Rachel

mcmxx...@gmail.com

unread,
May 2, 2019, 1:25:21 AM5/2/19
to Blockly
Yes, I know you don't.
I just wonder if anyone else does, but I guess you don't know any.
Message has been deleted

Ivano Da Milano

unread,
May 6, 2019, 3:28:49 AM5/6/19
to Blockly
Yes, thanks.
Do you mean you'll only include 2 APIs?
Message has been deleted

Coda Highland

unread,
May 7, 2019, 6:21:04 PM5/7/19
to blo...@googlegroups.com
That's not really "two" APIs. That's two entire sets of APIs. If you're really volunteering to build Blockly bindings for DOM manipulation (document) and event handling (window) then that's a very generous offer, although it's one that I'm not entirely sure is an appropriate use case for something like Blockly. 

In general it's a far better idea to figure out what it is you're trying to do and what you want your users to be able to do, and create blocks appropriate to that specific task. Trying to create a broad, generic binding for something as large as the DOM is going to end up with you having a ton of blocks where you only end up using a few of them.

/s/ Adam

(P.S. Please don't use unnecessary formatting in mailing list emails. It's distracting and hard to read. Background colors are especially bad.)

On Tue, May 7, 2019 at 5:07 PM Dadsam Gamer <dads...@gmail.com> wrote:
yes.. only 2 APIs
Document
Window
---------------------------
The Inclusions for Basic WEB Design. To Save the variables in "LocalStorage" or in "Cookies".
But i will start do building after of "Blockly + LOVE2D"
(Blockly2D  If someone suggests me a good name. let me know!) and my others projects


Testing "Dark Background".
By Dadsam Gamer

--
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 on the web visit https://groups.google.com/d/msgid/blockly/d56897ea-f776-4b93-91c4-d35914534cd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Coda Highland

unread,
May 7, 2019, 7:31:23 PM5/7/19
to blo...@googlegroups.com
I'm afraid I have no idea what you're talking about. Are you saying you want to be able to construct a GUI using Blockly? Then I would advise going for a more declarative approach, with blocks that represent the components that you can put into your GUI. You can use statement inputs to make layout tools like lists and tables. You can associate variables with UI elements to get the information back out, and when the user adds a button you can automatically create an event block that gets run when the button is clicked.

Another option is the way I'm doing it in my project: Use Blockly for defining functionality, and build other editors for layout and appearance and such. This will let you offer a more visual style of UI construction to the user, but of course you have to make those editors yourself (or find other libraries that provide it).

/s/ Adam

On Tue, May 7, 2019 at 6:13 PM Dadsam Gamer <dads...@gmail.com> wrote:
But the GUI editor is hard.
but maybe the GUI Maker might have to use my Clickteam Fusion 2.5 to create this.
probably my version of Blockly will be in windows application

Since i don' t see the word GUI editor

--
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.
Message has been deleted

Coda Highland

unread,
May 7, 2019, 8:25:24 PM5/7/19
to blo...@googlegroups.com
Hm? I'm not upset. I'm just laying out what I see as the options available. I understand you're still learning, which is why I was pointing out that it's all going to end up being a lot of work no matter how you go about it.

But really, the core of my point is to make sure you're using the right tool for the job. Blockly and CTF are meant to serve completely different roles. Blockly is, at its core, an embedded scripting language. If your goal is to build something to let other people control objects in a game, then Blockly is an excellent choice. If you're looking for a block-based programming language to build games or other programs in, I'd recommend Berkeley Snap instead.

/s/ Adam

On Tue, May 7, 2019 at 6:46 PM Dadsam Gamer <dads...@gmail.com> wrote:
Calm down. I'm starting to learn Javascript almost now. That's why I talked about my "Clickteam Fusion 2.5".

--
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.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages