lionz's Recent Forum Activity

  • I made an instance variable to the text.

    then in the event sheet at layout startup i set the text to the instance variable which i made global

    Why?

  • If it's that different then clone the object and call it the boss, easy fix.

  • Looks to me like the jump isn't high enough even with the second jump and roll animation it doesn't reach the height of that platform so the player is stuck inside it.

  • There could be many reasons it's not working. I would start by checking the global variables in debug preview and verify they are as expected.

  • I feel like this would've been faster to check it yourself instead of post? The action actually runs straight away when it's triggered and then every 8 seconds after that.

  • You'll have to share the project so I can see how you've made the inventory.

  • The easier thing to do is add more global variables if you have different weapons. pistolAmmo, shotgunAmmo etc. You can have another variable for 'currently equipped weapon' where 0 is pistol and 1 is shotgun. You subtract from ammo depending on the equipped weapon.

    When you use instance variables like that all you're doing is moving what could be a global variable into a more difficult way of doing the same thing because now you have to pick instances.

    You could think about using instances and variables if your items and ammo are being stored in an inventory array, then they could relate easier but I think you're not using an array.

  • If you said to group all effect based actions into a group called 'effects' then I would've agreed and that makes more sense to me. To further sub categorise what is in front of you under layers seems a bit unnecessary.

  • If you use 'system save' then it will save the game and you can load it next time. However if user deletes their local browser data then it will wipe the save game, or of course if they use a different computer they won't have it.

  • Yes exactly that except you had two bugs at the same time because the tiny range was not working on the snake anyway. If in doubt check in debug preview, you can select the actual objects and check their position, you will see the text object on the UI layer and static off screen.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Move it to the ingame layer and increase the range, 20 is too low and doesn't stretch past the player object. Make it something more reasonable in front of the player to detect the snake.

  • It's because the text is not in the position you think it is, you've put it on the UI paralax layer so it is always off screen, move it to the Game layer.

lionz's avatar

lionz

Online Now

Member since 5 Aug, 2013
Last online 15 Jan, 2025

Twitter
lionz has 72 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