Hi,
I just started with Construct a few days ago, and I'm already making good progress. Finally I have a tool where I can develop my ideas into a real game in an amount of time I'm comfortable with =). However, I have a few questions:
1. Trigger other events
Is there a way to trigger one event from multiple others without using global variables? Lets say I have an event that reloads a weapon, and I want to trigger it by pressing the R key as well as when I'm trying to shoot but don't have enough ammo. I have split my project into several event sheets to make it more organized. I have one for player controls, where the manually reloading event is triggered, and one for weapons, where the check for ammo event is located as well as the reloading event itself.
The best possible solution for me would be to have an action like "trigger event X" that I can use in multiple locations (and event sheets), but it seems there isn't such a thing? Am I missing something or do I really have to set a global variable, like "DoReload"?
2. Performance on conditions
Coming from more traditional game frameworks like Unity, where I had to do actual programming, I also always try to take performance into account. Putting an event with a condition like PlayerHealth < 0 into a sheet does ring some alarm bells for me, as it seems construct is now checking every tick if this condition is true. Naturally I would only check for this when for instance the event is triggered that reduces the player health, but this gets more and more complicated the larger the project gets (at least without the ability to trigger other events like described in question 1). Should I be concerned about performance in those cases, or does Construct do some magic to reduce the impact those checks have on performance?
I'm still not quite sure how the performance of html 5 games in a browser concerning game logic is, compared to lets say a stand alone Unity game.
3. GUI sprites & text
What is the best way to make GUI sprites and text? I just put them into an own layer named GUI, and give them the anchor behavior. However, when I move around in my top down shooter, those elements stay in place on the screen (perfect), but jitter (not so perfect). I'm using chrome and I think I somewhere have red ("lost" the tab with the website unfortunately) that this seems to be the issue, but I'm wondering if there are any other (better) ways to make the GUI, and/or if there will be a fix for that issue in chrome?
Thanks in advance!