Evonevo's Forum Posts

  • Hi Guys,

    I have one object OBJECT1 with 4 frames. This object has one instance variable 'VarNumber' - Number

    I'm creating for instances of this object on Start of layout with random SetAnimationFrame.

    After all objects are created I would like to compare either animation frame value or 'VarNumber' value ? Basically see if any instance match to another.

    How to do that ?

    It seems that after all objects are created I can't just use OBJECT1.AnimationFrame variable as it will always be set to last created object frame. Also not sure if I can set instance variable on system create object so new instance could have own value.

    Note that I cant also use trick with passing OBJECT1.AnimationFrame to global variable or to array because what if I would want to have 50 objects ? or might want to perform comparison of farms / instance variables when objects are overlapping ??

    Thanks

    E

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I figure it out.

    I didn't unchecked 'Active on start' when I created the group event.

    Sorry for spamming the forum but if anyone run into the same problem, that's the answer.

    Regards

    E

  • Hi,

    I'm following one of the tutorial on this site. It shows how to use group events. It's 1945 game tutorial.

    I have Group event 'MainCharDestroy' and it's being called in another event which says when global variable LifeCounter is less or equal 0.

    But for some reason the event group is called immediately after I lunch the game.

    I suspect that this is because group event has no trigger (trigger is empty) so it fires of immediately but somehow it's wring on the tutorial the way it should.

    My capx is here on filedropper dotcom slash 1945

    BTW it's really annoying when you can't post a link and you are not aware of it, then message pops up and you have to go back where blank form waiting for you and you have to write your post all over again !<img src="smileys/smiley7.gif" border="0" align="middle" />

    Could anyone spear 5 min and tell me what I'm doing wrong ?

    Thanks

    E

  • Hi All,

    Sorry for basics question, I'm new, but still I would like to try to start my first project right way.

    I'm looking for a tutorial describing approach to the overall efficiency of a project.

    I'm talking about

    1. How to create assets, (which?)import formats to choose so it would result in less MB of ready to rollout game.

    2. How to manage assets/animations and create a game with good fps ?

    I know that question is general and answer might be very different depends on type of the game created BUT there must be some general rules on how to make game efficient and available for both low end and high end devices / PC's ?

    I know that the same *.png file saved with the same properties in one tool can be 14 kB and in other 24kB. Multiply that by number of Sprites you have and you might end up with significant different overall MB of the game and performance as well.Not mentioning about reach backgrounds when you want them to look good on HD monitors.

    Any advice, links to tutorials much appreciated.

    Regards

    E

  • Guys,

    Is there any way of collecting statistics of user behavior in a game created in C2 ?

    e.g. which button users clicks most often, on which screen spends most of the time etc.

    IF yes could you point me right tutorial ? Is it some default C2 or third party functionality ?

    Thanks

    E