lionz's Recent Forum Activity

  • The closest thing I found to what you're describing is tokenat() expression so for example for fire_1, tokenat("fire_1",0,"_") returns fire and tokenat("fire_1",1,"_") returns 1. The middle value is its position in the string and the final value is using the underscore as a separator.

  • It's the tutorial or events we need to see, not a video of the issue. Depends how you did lives, its with a global variable ? Do you have an event on start of layout to set lives to 3 ? Do you have a 'reset global variables' event ? Are the lives local variables ?

  • Use a global variable to toggle on/off so a bool or set to 0/1. Then have conditions, if var is on/off, related to actions 'platform object set collisions enabled/disabled'

  • Can you also remove that first move to action ? The reason they don't move again is because the spaces are all set to var=1. You can run a sub event after the for each card to pick all spaces and set var=0 again.

  • I guess pathfinding doesn't have the drifting so it will look different. You could always use pathfinding on an invisible object and have the car chase it by using set movingangle towards the object.

  • I would put them on a global layer which acts like a HUD and remains between layouts, so where you create the objects (layer 0 in the tutorial) give that layer a global property and make sure in the other layout you have the same named layer.

    Another option is to make the inventory and objects you can pick up 'global objects', checkbox on object properties, which accomplishes the same thing.

    Also if you happen to mean a design something like going to another layout then returning to an 'inventory layout' so the inventory is always in one layout then there is something called Persist behaviour you can put on the objects which means the inventory will look the same when you return.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah ok you need to do 'for each card' also on the condition. Also on the action above the move to like i said you need to set the variable to 1, this means it cannot be picked by the next card. In your current event the spaces are still 0.

  • The phone is going to be different to a desktop browser. You should test on mobile from the start really so you can see the performance.

  • Goomba on collision with wall, if mirrored set not mirrored, Else set mirrored.

  • Have a variable on space like to say it is in use (occupied) then say on touched shuffle, pick random instance of space where space is not occupied > set space.occupied to true, and move card to space.

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