lionz's Recent Forum Activity

  • What are you using at the moment, a random x,y ? You could create the objects at player position + value so they are always away from the player.

  • Hmm it looks like the character object does need to be in the layout for it to work with the 3D object. You can destroy the character object on start of layout to free up memory but I don't think it would stop the freeze.

  • Try the option of selecting the layout from the drop down instead of by name and see if it works

  • Well I hate to post the same thing again but use Pick nth instance

  • There is no doubt it is why the game freezes as described above, it is preloading around 600-900mb of assets on transition. Notice how it doesn't freeze when you transition to the level select screen? If it doesn't have to load these characters then it doesn't freeze at least for me on PC because the memory usage is more reasonable.

  • If you mean pick the two that are overlapping there is something called 'Pick nth instance' under System, where 0 and 1 are the two instances overlapping.

  • What are you showing us? Please explain the problem. If it's a bug of invisible character that's secondary to the performance issues at the moment, you need to chop down those character animations. You should delete the characters from that level and an object bank isn't totally necessary.

  • Ok the memory usage is almost entirely caused by these characters you've got underneath the level that are not really part of the level. Delete them. You've used the level as a kind of object bank but this should be in a different layout. They will need to be optimised in general though as one is spawned for the player.

    Also they appear in the character select screen, consider using a different object for this - objects with one frame of the character. The tutorial is also approaching 1gb because of all the characters, they just need to be optimised I think each char adds about 200mb which is a lot when you consider that memory usage should be around 100mb max total for all graphics in the layout. This could work on mobile if you reduce those characters down.

  • I had a look and the freezing is from memory usage, it jumps from 5mb in level select to up to 900mb in the level so it's loading the assets.

    Also sorry to say but these look like mobile controls and this is never going to work on a mobile device, did you test it yet? The memory usage is so high it even freezes on a PC. Mobile should be around 100mb or less ideally and yours creeps up to 600-900mb on each level.

  • On button clicked > go to layout

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Should be fairly simple, conditions 'if player is overlapping sprite' set arrow visible (or create it above the sprite if it doesn't already exist). Then you can say 'if player is not overlapping sprite' (right click and invert event), then set arrow invisible or destroy it.

  • Did you try system "save"? It might be easier to just save the game.

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