lionz's Recent Forum Activity

  • You don't set the boolean to true so the timer doesn't start, or it's already set to true and so the not true condition doesn't work. If you're checking against whether a boolean is true or false you need to toggle it to those values when you do or do not have an item.

  • Right-click on event > Make 'OR' block

  • On any number. I had it wrong though, floor is to round down, ceil to round up and round picks the nearest if that is useful. So you can say round(1.2) and that returns 1. round(1.6) and that returns 2.

  • If you want to use random in future with whole numbers you can use 'round' to round up or 'floor' to round down. i.e. round(random(1,10)) or floor(random(1,10))

  • Use export project > HTML5 website into a folder. Then drop the folder into something like bitballoon where it will host the game and give you a URL to share. People previously used dropbox but this no longer works.

  • Well that escalated quickly. If you are changing the limits per level then you can do something like this :

    Points collected = add to Score2 (score for that level)

    Another variable, limit (varied limit to hit per level)

    Then say, if Score2 >= limit, go to next layout

    Then you set the limit variable separately, if level 1, limit=1000. if level 2, limit=2000 etc

  • I just use 2 variables for this that count up together. One is the general score, the other is a variable that counts up to 1000 and upon hitting 1000 resets to 0. When the second variable hits 1000 you can change layout.

  • You do not have permission to view this post

  • Hi, do you mean an exported playable version of the game?

  • Nice, good luck with it :)

  • Yes it's all possible. You can play any animation and sounds based on a trigger in gameplay. You could even test out small scenarios on the free version before you buy it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > Every tick : set health.animationframe to global variable. You pick it from the object, set frame.

    Use "Every tick" is not a wise option.. just IMHO. it is unnecessary use

    It is like force the CPU doing something every tick change the animation frame which is useless if nothing change. So I think that is not a good programming design

    pilpgam

    That was just used in response to how to set a global variable as the knowledge of op seems like beginner. If you look in my original post to the question you will see how I put 'on hit' adjust health which would be a trigger. Also I think my example is better as it accomplishes everything in one event, where the animation frame number matches the global variable. Aside from that, setting an animation frame every tick has minimal effect, you must be thinking of text.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

25/44
How to earn trophies