siroos's Forum Posts

  • 14 posts
  • Do you mean joints? xD i didn't use any and physics settings for objects are default.

    I just arranged the objects on the scene using the layout screen.

    4 long objects are immovable and 3 smaller ones are movable .

    Iphone4s system is updated to newest version, even if i close all the other running apps the physics freeze still happens.

    On Galaxy note 3 (4 core device) it has an almost unnoticeable 0.2 sec freeze.

    Thank you : D

  • yapiiiii thank you : )

    event sheet is empty and every setting for project, scene and objects are default, thanks for asking : D

  • yapiiiii thanks

  • Hi!

    Situation: 3 secs after game is running there is a 2 sec freeze and i tested with debugger it shows cpu: 181%, Physics simulation: 172% on iphone 4s.

    -Game has no logic and only 7 physical objects on a new project.

    -I also disabled the physics behavior of objects and enabled them 5 secs later it is the same situation, when the behavior is enabled it runs for 3 secs and then 2 secs of freeze, after that is runs on 58 FPS.

    Have anyone seen this happening before and how do you solve it?

    Thanks!

  • Hopefully the above method will solve the problem for some of users.

    But the problem i face is this:

    Create new project -> 2 immovable physical objects and 2 movable physical objects.

    On Galaxy note 3 there is only a little slow down (which is almost unnoticeable)

    When the game layout loads on iPhone 4s for 3 seconds there is slow down (which is ok...), and after that 2 seconds of game freeze which looks very bad >.>.

    -I used debugger and i noticed just after the freeze the physics engine cpu usage had a spike on one test 170+% and on another test 190+%, so somehow this must be related to physics engine?

  • MadSpy you are a genius! XD

    I will try your method also i found these two links which might be useful for others:

    Plugin for layout transition:

    plugin-updated-layouttransition-v1-2-layouts-transitions_t129279

    Transition with code:

    https://www.scirra.com/tutorials/384/sc ... ers?page=2

  • Hi!

    When the layout starts there is initial slowdown and mini freeze, in some games i see people solve it with a "screen coverer/loader" thingy but their's last for like 2 secs . but for physics (template: example physics basics) it tooks 3 seconds slowdown then the 2 seconds of freeze happen after that FPS is ~58 (on iphone 4s),

    But the 5 secs per layout will not be acceptable for the player >.>

    How do you guys solve it?

  • I personally think there are optimization tricks for games like Motherload like:

    -Fake physics since only the vehicles seems to be physical

    -Only blocks with one empty block near them have physics activated because otherwise no one will know them they have physics or not anyway!

    -When digging disable physics and collision for the block and make the vehicle do a fixed move like "go 1 block height down in 1 second" so there are no continuous physical collision.

    -Blocks that are not in scene do not exist and only are created when they have distance of 1 block from the scene borders, and removed when distance is more than 1 block from scene borders.

    I wish you success

  • Entry No2. it seems that no one is answering!

    Testing on galaxy note3 ...

    Scene size is 480x640 with 20 units of 32x32 sized objects performance is quite similar between different objects (unique, family, tiled background, tilemap) with 1-2 mini hiccups during initial start of game then it is smooth so the performance difference can be ignored i guess!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think that game was made by 4 experienced devs, so why don't you start with something simpler like monkey farmers idle game or something xD, then you will have much more knowledge to take on a larger project.

  • Hi

    Currently working on a physics game prototype on mobile.

    I was wondering which of bellow 3 situation has better performance and the possible reason

    A. 20 different physical objects (and immovable).

    B. 1 family with physical behavior (and immovable) and 20 members

    C. 1 tileset with physical behavior and with 20 different shapes

  • Hi

    I was testing my Html5 game protoyte, i tested it on desktop, then android but on iOS/iphone after the loading bar was completed it showed error and refreshed the page, after 8 hours of thinking and trying i noticed it was caused by a short length audio file (0.02 secs), after i replaced it with the same file but extra length (total length of 0.1 secs) the problem was solved!

    I hope if anyone runs into this problem this will help!

  • This list is so massive! lots of good stuff, thank you!

  • Hi

    I just finished watching the youtube tutorials, i wanted to thank everyone who helped making them including Yann, Kyatric, Ashley, Ed, and others.

    And specially Yann from country of wines xD, your explanation was very detailed with useful examples, friendly, and also including lots of good practices and tips.

    And see you all later!

  • 14 posts