Discuss Scratch

marblestripes
Scratcher
61 posts

Could GDscript be converted to Scratch?

Hi guys! I'm a Scratch and Godot user which is both owned by MIT. I am trying to make a game by using my knowledge of Godot's GDscript and putting it in Scratch. My question is that. Is it physically possible to make Godot's GDscript and rewriting it in Scratchblocks?
jettypumpkin07
Scratcher
1000+ posts

Could GDscript be converted to Scratch?

I don't think Godot is owned by MIT… and no there isn't any way I know of to convert between them.
You'll have to either stick with Godot or rewrite all of your code into Scratch.

Last edited by jettypumpkin07 (Jan. 7, 2021 02:18:17)

PlatoHero_
Scratcher
500+ posts

Could GDscript be converted to Scratch?

The only way is manually, by translating the program command by command.
mybearworld
Scratcher
1000+ posts

Could GDscript be converted to Scratch?

I couldn't find Godot's site on the search results of MIT, as opposed to scratch's search results of MIT, where the top search result is the site itself.

Last edited by mybearworld (Jan. 7, 2021 10:53:52)

DipLeChip
Scratcher
1000+ posts

Could GDscript be converted to Scratch?

Godot is released under the MIT license. Don't think MIT directly owns it.
DipLeChip
Scratcher
1000+ posts

Could GDscript be converted to Scratch?

Okay, I have been messing around with Godot for the past day.
Godot and Scratch are two very different programs, Godot is a lot more advanced than Scratch and quite different.


Examples of differences include:

Godot projects are structured in trees, starting from Nodes. - Scratch has backdrop, then all your sprites and their script areas

Godot handles collisions, specifically hitboxes, completely different from Scratch. While Scratch registers collisions from the sprites image itself, Godot
registers collisions from specific CollisionShape nodes, which can be customized in size, and where they are.

Godot handles animations different from Scratch, while Scratch uses costumes, Godot uses frames of an image and specific animation types to animate Kinematic bodies, static objects etc. Including advanced things like AnimationTree's to structure your animations and transition between them.

Godot also does not have a set backdrop like Scratch, instead relies on layers, Texture mapping etc. to make up the background.

Those are just 4 examples, but all in all, they are two very different programs, so they most likely if not certainly cannot be converted between one another.

Powered by DjangoBB