lionz's Recent Forum Activity

  • The above is one event only that is for all sprites yes. For the above you don't create or destroy anything, you have one text object that changes position based on the object you hover over. The object is picked by mouse cursor over object condition.

  • Assuming you can only show a tooltip on one sprite at a time you can have one text object and say mouse over sprite > set text object position to sprite. The text to be shown can be a string variable on the sprite then you can also say in the same event set text object text to sprite.textvariable.

  • The fix for the above is usually you create a Family with just the NPC in it, then you pick the object in question as NPC and say pick nearest Family (which is also the NPC but now a different object)

  • If you are now setting a gv instead of object iv then it's simple swap the action for this, delete the old one and add the new one

  • If I understand correctly what you're asking I think the answer is no

  • Yeah it's like this but you need to run it one time, and also set the variable to 0 right before you run it.

  • This is a common issue where different animations are trying to play at once, in this case because you are moving I guess it is trying to play walk as well was walk+shoot. To fix you need to add more conditions, such as on the walk animation you can say 'walk+shoot is not playing', or 'shoot key is not down', something where the walk animation cannot play at the same time as walk+shoot

  • Pretty much what you said, for each pile, add to a global variable pile.gold. Did you not try it ?

  • These are the only two events ? Seems ok. Maybe check the collision box on the objects. Try a different action like target destroy on click to determine if the clicking is working, if the destroy works then this means your variables are being adjusted and forced elsewhere.

  • When I said above, use an array file and load it in, this is what I meant lol, good luck !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Didn't quite get the response, as I understood your game the 30 names are already stored in an array and when you click on an enemy it picks a random one from the 30, so array should be good.

  • Not sure about Dictionary ? maybe ? but I would do what you described in an array yep. You can push 30 names into the array on start of layout or you could use an array file and load it in.

lionz's avatar

lionz

Member since 5 Aug, 2013

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