what's the difference between EvenSheet and JS?

Not favoritedFavorited Favorited 0 favourites
  • 2 posts
From the Asset Store
Spot the Difference - Zoo Detectives is a fun and challenging game where players take on the role of zoo detectives
  • I'm not a professional programmer, but I'm very interested in game development. I've studied Construct 3 extensively and even tried making my own games. However, I've encountered a problem. The code I wrote using event tables in Construct 3 and the code I wrote using JavaScript in AI produce the same result. So, my question is: what's the difference between these two methods?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The difference:

    • EventSheets are more accessible for non-developers.
    • EventSheets state is integrated with the "Save & Load" actions (if you use JS, you need to handle state yourself).
    • EventSheets are mostly type-safe, which helps prevent type-related bugs. (If you use TS instead of JS, you'll also get type safety.)
    • EventSheets are not so practical and can get quite verbose for more complex logic. (compared to JS/TS)
    • EventSheets are more difficult to copy & paste and share. Because of how its type safety works, it can block you from pasting in certain situations.
    • Currently, EventSheets are not well understood by AI. The level of AI assistance you'll get is more limited.

    It's worth highlighting that you can use both at the same time: simple logic in EventSheets and JS/TS for more complex or intricate logic.

    You can call EventSheets from JS/TS using runtime.callFunction(name, ...params)

    and you can also interact with your JS/TS from EventSheets via scripts in actions and importsForEvents

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)