Je Fawk's Recent Forum Activity

  • While I did not download the zip file, I really did not understand what's this about. Is it a game made in Construct 2? Is it made in something else? The title is quite confusing @

  • I have tested an event sheet with 500 On start of layout that were adding numbers. The conclusion was that all the events triggered correctly but I cannot say in which order.

  • Thanks for the info

    I shall try a few tests and come back here with the results.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Greetings

    I am wondering if there is any limitation on using the "On start of layout" trigger. Does it depend on the device? Do they trigger in the event sheet order (top On start of layout first and subsequent ones down the path?)

    Is it bad practice to use more than one? I would expect so, as from c# programming for example having more than one Window Load event is not a good idea. However I am interested to know if there would be any problems as my project would be much better organized if I could use more of said triggers.

    Thank you for your time reading this

  • Oh this was for Construct 1! Oh damn, sorry, my bad. Thanks anyway chrisbrobs !

  • Link to file-

    https://dl.dropboxusercontent.com/u/22173473/AdvancedColour.cap

    It's a .cap file :S not capx hmmm

  • Yep. Gief capx :F

  • Thank you for the details

  • Thank you very much LittleStain !

    If the event sheet would be more complex, would the wait need actually more time? Like wait 0.5 seconds?

    I still don't understand why without the wait it doesn't work. The way I see it is that the object is getting created, then the engine jumps to the on created event which pins it. I really don't see how the engine doesn't do what it looks to be something really simple and basic.

  • Greetings everyone

    I got a pin behavior which initially was in the same block where I created the sprites. Now I wanted to organize my project better so I created some "On Created" events in which I added the pin behavior too. This did not work. I do not understand why it did not pick the correct instance to pin the sprite to.

    I've attached a capx showing my problem.

    Is this a bug of the game engine? Am I not fully understanding how On Created event works?

    Please take a look and tell me if you can spare 5 minutes. In the event sheet you will find 2 comments telling you how to replicate the bug.

    Download capx: http://www.jefawk.com/games/PinProblem/PinProblem.zip

    Thanks for your time

  • I'll take your word for it for the moment Ashley

    If I had enough time I would have tried to see if there's any performance gain/loss on a crappy device I got.

    Thanks

  • Greetings

    I have a project with a lot of different sprites. I'm making a point and click adventure game. The estimated number of interactable objects is around 500-1000.

    Now my question for debate would be regarding Families and how they affect performance.

    I would like to use several families, all holding the all the objects.

    One family for the localized description, let's say "ObjectsDescriptionFamily" which would hold instance variables of the sort "ObjectsDescriptionFamily_EN" , "ObjectsDescriptionFamily_FR", etc, for all the languages that my game will support.

    Then I would have a family with the object's positions, like InitialPos_X, InitialPos_Y, CurrentPos_X, CurrentPos_Y, etc

    And the list would continue.

    What would be the performance difference between using let's say 5 families holding all the objects but certain instance variables each rather than 1 family holding all the objects with all the instance variables?

    Would the game perform better if I would drastically reduce the number of instance variables and replace them with global variables?

    Like instead of having Object_0001.ObjectsDescriptionFamily_EN = "description string" I would have it pointing to Object_0001Desc_EN_globalVariable, and this variable would hold "description string". The global variable part would help with organizing the project much better.

    I'm eagerly awaiting your thoughts on these 2 matters: 5 families vs 1 and family vs global variable

    Cheerio!

Je Fawk's avatar

Je Fawk

Early Adopter

Member since 7 Jul, 2014

Twitter
Je Fawk has 3 followers

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x6
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

19/44
How to earn trophies