Is there a recommended limit to instance variables?

Just started using Construct 2? Post your questions here

Post » Wed Mar 30, 2016 7:10 pm

Quick question. The number of variables I have in my 'Enemies' Family has just reached the 20 mark on 26 different Sprite objects, and I was just wondering if I was pushing it. There's only one text variable, by the way.
B
20
S
5
Posts: 23
Reputation: 1,283

Post » Fri Apr 01, 2016 4:31 am

Should be fine mate.

Good practice in general though is to always have a look in debugger after implementing new features for your games. Clicking on the profile tab will give you a good idea of how things are going.
ImageImage
B
130
S
23
G
7
Posts: 1,078
Reputation: 13,280

Post » Sat Apr 02, 2016 4:53 pm

Will do. Thanks.
B
20
S
5
Posts: 23
Reputation: 1,283


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 5 guests