lionz's Recent Forum Activity

  • If the objects are already in the layout then they should be preloaded fine and the transition should be really fast, especially with only 30mb. Are you creating the objects in run time for the mini game? There could be lag if you are transitioning to a blank layout and creating 30mb during the actual run time. A good practice is to put everything you need for the layout in the layout view then destroy what you don't need at the start of any layout.

  • Pick all instances, if on-screen add 1 to a global variable for each instance on screen. Check every tick. If global variable ever drops to 0 turn off the audio. Is how I would do it. There are a few ways though. Rather than add to a variable you could probably use picked count in the comparison as another way of doing it.

  • Whether you are disabling the behaviours, which isn't possible with these ones, or using 3 different bullets, seems like about the same amount of code. i.e. not much

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hmm it's not totally clear what you're asking for. If I'm understanding it correctly you can set up a completion % as a global variable and display it in text. Add to the % as you complete certain objectives in the game.

  • It'll be something to do with the logic as pressing Z key will work instantly.

  • Then you probably need three types of bullets. One that collides and bounces off a wall, one that is destroyed when it hits the wall and one that doesn't collide with the wall and has wrap behaviour.

  • Any object in a global layer is global so you don't need to also make the object global. If you do this, it keeps the global object between layouts and then creates everything from the global layer as well.

  • I don't think you can toggle those behaviours on and off, and I don't see why you would want to. If you really want an object that can sometimes wrap round and then sometimes is destroyed I would just create two separate object types.

  • https://dl.dropboxusercontent.com/u/495 ... n%202.capx

    Like that? Your original capx was already fine although yes you don't need to set an isCollided variable. If you are overlapping the tile then collision is true.

  • It moves towards the position at a constant speed and it is exact, probably what you are looking for. If you want to just teleport to a position you use set position.

  • System Pick by evaluate, Pick Sprite by evaluating Sprite.IID=0 - Set text to Sprite.UID.

    That will display the UID of the Sprite that has an IID of 0.

  • UID is a unique ID given to each instance in the game.

    IID is a number given to identify its order in a given object type.

    You can have a Sprite and a Sprite2. They can both have an IID of 0 but never have the same UID.

    What is it that you are trying to achieve? Yes, you could pick a sprite with iid=0 and find it's UID.

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