lionz's Recent Forum Activity

  • Now i want make a diminishing return on the cost increase, anyone knows how to do that?

    Please explain?

  • You can invert conditions, spawn object is an action you can't invert that. Yes you invert in the same way, right-click and invert. If you want to stop the firing, you invert the thing that is causing it to fire on the left of the event sheet, such as a variable being true.

  • Great, no problem :)

  • Do you understand the issue though? I don't really have time to look into a fix but you should be able to make one based on your method. The bug occurs at the item switching, not on the right click. If you look at the array in debug mode you will see when you switch items, the X value remains the same which means the old animation frame is in the array, if you replace a 1 with a 2, it stays as 1, but the amount at Y updates correctly, you need to detect the anim frame of the other item and replace the value at X as currently you don't have any logic to do that.

  • Ok I've done some investigation and I believe the cause could be :

    bug 1 - the values in the back end array are actually correct it's just the text hasnt updated because you didnt run the update inventory function again when you swap items, you only run it when you pick items up

    bug 2 - you don't update the anim frame value at X to reflect the new item, your focus was on changing the amount at Y which is correct, but the X remains for the previous item. So you update the animation of the item in hand, and the hand amount in the array but not the X value for the type.

  • Clicking an inventory slot does nothing for me, what did I break?

  • Line of sight sounds good. Also on your screenshot you have done some weird picking, you should be simply saying if zombie is on left or right of the player, then move the zombie.

  • Faro Did you finish it? 2 years have passed!

  • You can use another variable i.e. 'cost' to replace the '1' and say Gold greater equal to Cost. Then on the right side actions AFTER you have set the damage and subtracted the gold, you set 'cost' to a value for next time, if the gold taken only increases by 1 for each level then you set 'cost' to self+1. Also remember to subtract 'cost' from Gold on the right side.

  • Ashley ah, cheers ^^

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As a QA tester it annoys me when I go to this page haha.

    Click on Unanswered Topics, the main header is misspelt.

  • The manual informs you of how to pick a tile by ID, and also how to convert the tile to co-ordinates in the layout. construct.net/en/make-games/manuals/construct-3/plugin-reference/tilemap

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