lionz's Recent Forum Activity

  • Well I fixed the dragging so you can calculate distance : dropbox.com/scl/fi/1rksost2ts9xr714kzxha/drag-test.c3p

    To differentiate between tapped or dragged you can say if distancedragged = 0 for tap or distancedragged > 0 for dragging. Because you have the drag and drop behaviour a tap is actually a drag and will trigger 'is dragging' condition.

    Regarding the drag arrow file, I'm confused, can you not build on that file to get what you want? Seems to be close to what you're describing.

  • Bug is with the set width action, you used castbar.timer when treasure has the timer.

  • Good job, looks fun ^^

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What problem are you having? What have you tried so far?

  • Check out the free RPG with Construct to get an idea : construct.net/en/blogs/construct-official-blog-1/demonoire-new-bundled-rpg-949

  • It's half price for the first year if you've come from C2 license before Feb 2018 so you could pay that and try it.

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

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