lionz's Recent Forum Activity

  • When you said you mouseover the button and pull the description from the array then it should be simple no ? Or how are you reading the array ? If they are global variables it should be easy.

  • Probably the RPG. For the fighting game you will need some animations and collision detection for it to make sense. A platformer is probably the easiest to try.

  • Hmm ok I didn't understand aspects of the design so for me it looks fine on the detection so it could be specific to their phone or they found a bug.

  • You only need one action per replaced string (set text to replace it) but not one event per description

  • Why not test it on the mobile if you are releasing it for mobile? That seems like a blunder. Check it out yourself on mobile to see the issue I guess ?

  • I don't think you did a great job of explaining the bug but from what I understand it looks like a code issue not device.

    For example just looking at level 60, it seems completely broken for detection but that's on your events.

  • I've managed this before by using Replace(), check the manual. So if you say "Fireball does %dam% damage" in the array, on the mouseover/set text events you can replace %dam% with the damage variable.

  • If I am understanding design correctly yep you can have for equip button click just very simply run unequip and then maybe a wait of 0.1 seconds and then run equip.

    Within unequip it looks like already if you have a weapon it will unequip it or skip if there is none which is fine.

    For equip this is also fine except you need to move the logic from the else about the inventory slot into the equip function to release that slot.

    Just a note you will probably encounter a future bug where if you try to equip a weapon and your inventory is full it will not unequip the weapon (expected) but it will still equip the item and move it to the slot so you have 2 in there. This is because the logic is really not a swap for swap logic but rather you are moving the weapon out to any slot then moving the item in. For a true swap you would need to edit the logic later maybe use the id of the inventory slot for item and move the weapon to it, then move the item to the weapon slot. As you know currently the weapon moves to the slot with lowest id and not the specific one the equipping item is in.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You didn't pick a bush correctly so you need to use the bush object and pick nearest to blockle, at the moment you have it backwards. The rest of it might work after this so you can get back to us.

  • Where do you set the selected item variable? You are no longer clicking on an item so that variable is important.

    If I am understanding the design of this correctly that on clicking equip button you unequip the current weapon and equip the one marked as 'selected' then you should remove most of the logic from the equip button click event and just run unequip function then the equip function. All logic can take place inside those functions now. That should work if the item you want to equip has the variable set. Also move the nearest inv slot check for the moving inventory item to inside the equip function.

  • There is a bit of an issue I guess as you are picking the same location object from and to. Setting global variables 'on arrived' may help for next location then you can say 'on keyboard up' pick location where name = gv nextlocationup and pathfind there.

  • Heroes4hire also you'll need to post contact details there are no DMs here.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 79 followers

Trophy Case

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

26/44
How to earn trophies