How to use less events

1

Stats

461 visits, 563 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 12 Feb, 2023.

THis is a tutorial for who uses construct 3 free version and needs to save events to make a better game. I hope it helps you :)

1. One object for two.

Normally you uses many objects which costs too much events like this:

You can use one obj as two

note that frame coin frame = 0 and heart frame = 1

this helps you to use 1 event instead of two

2.Use json files to keep text

I've seen some tutorials that teach you to use one event for each phrase in your game like this:

But i know a better way

first create a json file with all of your texts

Use a global or instance var as index and use it like this

you can use infinite strings with just 3 events ^^

Well to sum up you need to learn how to use frames as variables and json to store data. I still need to learn too so if you know better ways to save events or tell us below :)

  • 0 Comments

Want to leave a comment? Login or Register an account!