marcel1980's Forum Posts

  • Finaly its functional however it doesnt save the variables after restart. :/ Any ideas?

  • wow thanks ArcadEd :)

  • Nimos thanks but it seems that im making some mistake. Can you please give me more detailed instructions on how to do this:

    when i first finish a level i need to set this as a score and highscore aswell - i need to save the highscore. When the level is replayed, i need to load the highscore and compare it with current score. The higher will be set as text.

    thank you!

  • nimos thanks, i also need to check the highscore after restarting. I have to save the highscore to webstorage i suppose?

  • i have made a test where i had all the family collision events enabled and only disabled the platform behavior. That made the bigest impact on fps. When i only have moving sprites with animations {without platform behavior} the game runs perfect around 60 fps. So the speed has to do with collision detection.

    I also optimised ground tiles- using big blocks of tiled background as ground collisions which helped a bit.

  • how is the best way to set up the score system? So far i have a variable localscore which resets after level restart and only shows the score gained during the last play. Then i have globalscore which im not sure how to setup. Logicaly the globalscore should be only rewrited if the player has gained more score but i dont know how to set it up

    thanx in advance!

  • Littlestain from my tests, the only thing that makes huge fps drop is the platform behaviour. Other collision events that i have set on the family members {checking for edgemarkers, collision with main hero etc.} are making maximum 1-2fps so far on iphone5. The platform behavior is making huge fps drop even when 5 enemies on screen.

    Its very nicely visible when i have an area with no enemies or 1 enemy - it runs about 57 fps since i disabled platform behavior when family members out of screen. But from the moment when there's like 4 enemies, it goes to its knees...

  • Littlestain, is it the same as when i set the enemy family platform behavior to default: OFF and then turn it ON once the sprite is onscreen? And turn it OFF when its outside layout..

    Basicaly the default is OFF for the whole family

  • Hi there,

    anyone got an idea how do i disable platform behavior for offscreen or distant sprites? Trying to manage that but so far without luck. thx

  • Can anyone help me with Git? I want to try game closure but my skills are very basic in this area. When i try to run Git trough Terminal, i get: -bash: $: command not found   :/

  • thank you Ashley i will prepare the capx.

  • ah sorry you mean collision box. 4 points...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hollowthreat you mean imagepoints? 3 for each enemy.

  • could the size of the enemy sprite cause this? i have 150 x 150 px. Also im using families for the enemies

  • hollowthreat i have release 146, 64bit