Yes. Construct 3 lets you add JavaScript through its Script events/blocks or a full scripting mode alongside event sheets. GDevelop lets you drop JavaScript Code events into any event sheet. Neither engine requires it – both are usable with visual scripting alone.
At a glance
| Fact | Value | Source |
|---|---|---|
| Construct 3 scripting approach | JS blocks + scripting mode | developer.mozilla.org |
| GDevelop scripting approach | JS Code events in event sheets | |
| Engines exporting to web | Multiple major engines supported | developer.mozilla.org |
Yes, both support custom JavaScript. Construct 3 has dedicated Script events and script blocks you can mix into an event sheet, plus a full scripting mode where a layout’s logic is written entirely in JS instead of visual events. GDevelop lets you insert a JavaScript Code event anywhere in an event sheet and read/write the engine’s runtime objects from it – useful for math, third-party libraries, or logic that’s awkward to express visually.
Common reasons to reach for JS in either engine: calling browser APIs the editor doesn’t expose (Web Storage, WebSockets, custom analytics), integrating an SDK, or writing performance-sensitive code by hand. If you need the game to talk to the surrounding web page – saving progress, reading URL parameters, calling an ad or platform SDK – that’s exactly where a JS block or Code event is the right tool, since the visual editor alone can’t reach outside the game canvas.
When you’re ready to ship the same build across multiple sites, integrating that browser-facing code by hand for each platform gets repetitive. Playgama Bridge is an open-source SDK with a GDevelop and Construct 3 plugin that wraps ads, storage and platform calls behind one API, so your custom script talks to Bridge once instead of to each platform’s own SDK.
Where to check the exact syntax?
Both engines document scripting in their own manuals; check the current Construct 3 and GDevelop docs for the exact block/event names, since editor UI changes between versions.
Once the logic is written, export to HTML5 and test in a real browser before choosing where to publish: Poki, CrazyGames, GameDistribution, itch.io and playgama.com all accept web builds.
Sources
- MDN: Game development
- Playgama for developers
- Playgama Bridge (GitHub)
- Poki for developers
- CrazyGames for developers
- GameDistribution
- itch.io creators FAQ
Related questions
Do I need JavaScript to make a game in Construct 3 or GDevelop?
No. Both are designed to be usable entirely with visual events/blocks. JavaScript is optional, for cases the visual system doesn’t cover well.
Can custom JavaScript call browser APIs like localStorage or fetch?
Yes, JS blocks in Construct 3 and JS Code events in GDevelop run in the page’s JavaScript context, so standard browser APIs are reachable.
Last updated: 24 September 2026