lionz's Recent Forum Activity

  • "I need to do a lot of checks to see whether any Sprites containing certain instance values exist, and I don't want to have to manage a Dictionary or a set of variables in order to do each such check."

    ?

    I mean there are ways of doing it but without using a variable I don't think so...

  • You do not have permission to view this post

    Define success? I don't know what people's revenue is on their mobile games but the engine is here to make those games. Look up a game called Small Saga you will see what is possible.

  • It doesn't work on the actions because text_value is in a container with item and not items. You could try bringing out the set text action to either every tick although not really advised for too many text objects, or having a function you run every time you change the inventory that picks all text_value and sets them to items.value to kind of refresh them. You always want the text to be correct so imo better you refresh it often to have some control.

    Yes it is good for making hypercasual mobile games.

  • Hiya, you can sometimes encounter problems when multiple instances finish in the same tick which is what would happen here as all instances of Sprite2 begin their timer together and finish together. A possible fix is to add a condition 'for each Sprite2' with the On timer trigger.

  • This is a strange check to have because if the text box is focused you are entering text and the shift button use is part of that. If on shift pressed > set unfocused doesn't work then I can't think of a workaround.

  • My approach would be to have a variable on the little energy blocks that is the value of energy you need so it will appear. So if you are above 99 then the first block would appear and if you are above 199 then the second one would appear etc, this would be one event that relates to the variable on the blocks - set visible if player energy total is greater than block.var.

    For half filled blocks you could use logic where if the total energy is higher than block.var and a second variable on the block which is the max limit, then you could adjust the height accordingly for how much it is above block.var, so for example 150 would be seen as between 99 and 199 and adjust the height by a number of pixels. To start with though for testing you could try opacity since you have a range of 100, so in this case the opacity of the block would be 150-99 = 51

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Great :)

  • You can keep the variable as the % chance so 25, then you generate another number to compare against. So if you set another variable to random(1,100) it will give you a random num from 1 to 100 and the logic would be if the generated number is less than or equal to % chance then it would block. So for example 11 generated would block and 79 would not.

  • Try clearing browser cache, it should reset everything so when you launch Construct next it is the stable version and ignores betas.

  • You need to share some way of contacting you :)

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 73 followers

Trophy Case

  • 11-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

24/44
How to earn trophies