lionz's Forum Posts

  • That's not a normal action, you would use set basiccost to ceil(basiccost) under system like the other events, not sure why you opted for that change. Is that scripting?

  • That should work, are you using round then changing the value after in the events? Screenshot of the event could help someone work out where it's gone wrong.

  • If the player doesn't exist you need to create and place the player object in each level, or you can make the player object Global in its properties, this means it will continue to the next layout

  • You do not have permission to view this post

  • It should use the origin, maybe the origin is in a different place per frame or animation so I would check this.

  • Depends how you made the inventory. If it's a visual style one then probably making the sprites global will work, there is a global setting in the object properties

  • As mentioned above it's standard, you should make your own buttons with Sprites.

  • Can combine as many conditions as you want, so it would be condition 1 : slot.used=false and condition 2 : pick nearest slot to (item?)

  • There is a 'pick nearest' condition

  • What is it doing instead of the expected outcome? Try picking the list with a different kind of condition, maybe it's picking the wrong one or can't find it if the instance variable is not set correctly.

  • Use 'Simulate Control' on the platform behaviour to make it walk automatically to the right, you could do this for a few seconds on a timer then stop and give control to the player.

  • You'll have to make your own buttons from sprites, I think this is normal for the html elements

  • When you get it from local storage it will be the name of the item so a string

  • Add a text object and set text to coins variable. You can add that to a typical UI layer, one that is potentially global and exists between layouts/levels.

  • You get an item called "highscore" but set a different item called "highscoretext" that seems odd to begin with. Also your event if score = highscore then set highscore to score seems redundant, maybe you tried to do something else there.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads