emoticon's Recent Forum Activity

  • Just kill the skeletons... Nothing else matter

    https://kill-the-skeletons.web.app

    "I'm using blocks of sprites as parts of every building and implementing ZSort. As a result... laggy LOL."

  • You do not have permission to view this post

  • I submitted a suggestion to add more ACEs to JSON. If you are interested, you can add a 👍 emoticon to the OP.

    https://github.com/Scirra/Construct-feature-requests/issues/8

    BTW, how to add 👍

  • Whoaa.. I didn't expect you to have explored this plugin so far...

    I really agree,

    Construct should add more attention to this plugin, because this plugin is very important in game development

  • Wow,, you're amazing bro!

    the last one is:

    How to stop the JSON foreach

    I'm using

    System: Stop Loop

    But it's not working

    Therefore, I use boolean variable to indicate the 'found' state:

    I wonder if there is another efficient method to accomplish this situation.

  • Hello,

    I want to create empty array to root level JSON like this:

    []

    so then i will add new objects with it later.

    for example:

    [ { "name": "outfit1", "image": "top1.png" }, { "name": "outfit29", "image": "top29.png" } ]

    I'm using this:

    JSON: Set "" to array size 4

    but it didn't work

    Tagged:

  • Try Construct 3

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

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

    I really like the cube animation on the construct 2 front page. How can I put it on the front page of my Consruct 3 tutorial blog

    Tagged:

  • I made a few changes to the HTML:

    (links to external site)

    ...and Event Sheet:

    ...and it worked fine too.

    You save my day XHXIAIEIN, thank you.

  • Whoa... I previously thought HTML Elements were elements within the application body itself.

    I didn't know that we could create complete HTML using HTML, HEAD and BODY tags.

    Is this legit?

    Thank you for your example. It works like a charm.

  • Maybe this sounds silly , but I'm really lazy about writing my own CSS.

    So I thought about using bootstrap as a style.

    But I couldn't find where to embed external source for the css, so, I put the huge amount of bootstrap css source code into file.css.

    Is it worth it, or are there any side effects to this?

  • Answer your own performance questions with measurements

    Thank you Ashley

    Sometimes I'm faced with the case that, when I prioritize performance, the code becomes a mess, and vice versa.

    But I think, it would be better to prioritize code neatness as the first move, then performance

  • The first option only changes when the animations are different so it is really the most efficient although the efficiency gains aren't very big. The second and third (2nd: every tick, 3rd: no condition) are exactly the same. They both happen every tick. The last option is basically an every tick situation but only 1 of the 2 options is happening every tick depending on if the character is moving or not.

    With all that said though, the animation engine, as far as I understand it, will handle all these pretty close to the same. You aren't going to get huge gains from choosing any specific option above.

    Thanks for the input, yes maybe it's true that it may not have much impact in code that is simple and only involves a few objects.

    I personally prefer the first option, because I prevent the system from continuously carrying out unnecessary processes.

    The last option, I think is not efficient in terms of writing code because I group events based on certain criteria. So that the codes are not spread wildly across various lines.

    Thank you for explaining to me how the system works. I need to get this fundamental information early, so that when the code starts to get complex, I can do code maintenance more easily in the future.

emoticon's avatar

emoticon

Member since 19 Jun, 2014

Twitter
emoticon has 1 followers

Connect with emoticon

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • x6
    Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies

Blogs