lionz's Recent Forum Activity

  • Try increasing the range? Why is it 20 pixels?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can use 1 and 0 for true/false

  • Two things spring to mind, are they set to Custom and not Solids, and did you regenerate the obstacle map which you must do after adding obstacles.

  • That event looks correct for picking the instance that overlaps sensor 1 or 3, are you sure they're not all overlapping the sensor object?

  • I think no because the sprite object has one collision box. If it was one object but you need to click on different areas then you wouldn't be able to detect. You could overlap it with invisible sprites but in that case you may as well create them separately.

    You can put the group of sprites into a container and when you create one object it creates all related objects but I'm not sure if this is useful for a shop, you may as well create everything in the layout.

  • If you designed it that way then yes. Seems it would be easier to design it with one buy and sell button and you navigate between items. Depending on how you stored the items you could use one event for all items even with many buttons.

  • Not using the behaviour, yes you can do it with your own events as mentioned.

  • Enemy.count isn't visible so it must be in an event, let's see a screenshot of the events. Maybe you don't show or update it until 2 have been destroyed.

  • First event should be for each loot slot as you are creating the drag item for each slot. So the first event solves 1 and 2 right because it spawns the item. I didn't really understand the drag/drop bit, the player is dragging the object and why?

  • It's the Anchor behaviour on ToolBarButton, it doesn't like it. You can't force a position with Anchor while at the same time tell it to move.

  • Like I said kind of impossible to guess we would need the project. Of course after you punch the NPC that will keep the variables set, which I guess is what you are trying to do anyway. Is the player also the same object as the NPC? If this is the case then player will has some variables persisting that maybe should not be, or you talk about containers, what objects are in a container?

  • It's going to be impossible to guess, we'll need to see the project. If the persist behaviour is added to a random NPC that just exists in the level I'm not sure how it would affect the player object.

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