Tricks to staying under the 100 event limit?

Discussion and feedback on Construct 2

Post » Fri Mar 22, 2013 5:25 pm

So I have a design for a game for the Newgrounds game jam, and I am really worried about this 100 events limit. Especially if globals and subevents count.

Are there any general tricks to keeping the event count low (even at the expense of readability or maintainbility or whatever) that I should be using when I try to implement the game?
B
5
S
1
Posts: 11
Reputation: 422

Post » Fri Mar 22, 2013 6:24 pm

Cant you use the pro version and use families? ;]
B
38
S
8
G
3
Posts: 438
Reputation: 6,869

Post » Fri Mar 22, 2013 7:24 pm

Here's a few ideas:
1. Utilize a formula to do the same thing as multiple events. As a simple example instead of doing this:
variable = 0
--- set variable to 1
else
--- set variable to 0

Do this:

every tick
--- set variable to 1-variable

2. Use functions if you are using the same thing in multiple spots.

3. Use third party plugins or make your own.

4. Make your own scripting language that you run using the 100 events and put the scripts in the instance variables of the objects.
B
79
S
24
G
54
Posts: 4,746
Reputation: 40,755

Post » Fri Mar 22, 2013 8:59 pm

Use functions and buy a license as soon as you can afford I guess.
B
6
S
1
Posts: 16
Reputation: 464

Post » Fri Mar 22, 2013 9:14 pm

A+ ideas R0j0, I'll definitely write custom scripts if that can reduce the number of events.

And yeah, I was thinking about getting a license since this seems like a really good engine, but I don't know how much I would use it beyond this one test game (I'm more of an engine-from-scratch kinda guy).

Besides, if I get top 8 in the Newgrounds contest I'll get a license anyways.
B
5
S
1
Posts: 11
Reputation: 422


Return to Construct 2 General

Who is online

Users browsing this forum: 99Instances2Go, Aphrodite, Eisenhans, R0J0hound and 14 guests