lionz's Recent Forum Activity

  • When you use 'on touched object' it picks the object you are touching and then you can grab its data. If it has a variable then you can pull the object.variable value from that object. If you want something more specific you'll have to elaborate instead of spamming question marks.

  • You must be disabling keyboard or platform behaviour with other events, post a link to the game file or a screenshot of all of your events then it's easier to troubleshoot.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Was it ever working? You probably need to use if A or D 'is down' to simulate the platform behaviour.

  • Object.PickedCount

  • The layout size is infinite, you can scroll forever, and it doesn't affect performance. You should only really be concerned about the number of objects, especially the objects that use large images and take up a bunch of memory. Objects that are off screen are not rendered and hardly affect performance. Just take into account the total memory usage for that layout and try and keep it under 100mb. I would say best practice though is to do what you're trying to avoid and mimic the scrolling, creating a large level isn't too useful although you can make use of the tilemap object that helps to keep memory usage down when drawing a level.

  • Pretty much impossible to assist without seeing what you've done with events.

  • Probably because the Y co-ord can be to many decimal places so it's struggling to get an exact match. Try using floor(sprite.y) to round to a whole number or use the good old less than or equal to sprite.Y.

  • I would do something like this : have health as a family instance var if not already. Give the health bar object you're using an instance var i.e. ID. On mob created, create health bar, set health bar. ID to mob.UID (now they are related). Then to display health you evaluate by saying where healthbar.ID = mob.UID set healthbar.health to mob.health.

  • klabundee

    sidetrack I know but ooo nice looking game

  • Using 'On created' to pick the ship you can then store UID somewhere, depends what you want to do with it.

  • My guess is that if the text worked then the animation change worked but you have code elsewhere that overrides the animation displayed. for example, you have if sprite.UID=1 set anim, but elsewhere you could have the sprite animation set to be idle if its a player that isn't moving or something similar. A possible issue is also a typo with the animation name.

  • Do you mean to get the data and use it in code or simply view it? In debug mode you can see the ID of the objects. Also think about putting the ship and antenna in a 'container' where you can create them as one object.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 73 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