shinkan's Forum Posts

  • I suggest You to disable all of your events and eneble them one by one to see which one's are causing this framerate drop.

    same with effects if you are using any.

  • I think it's more of a firefox issue. I test it on my brothers pc (he's got firefox and chrome installed)

    chrome - 60fps all the time

    firefox - 20 - 45 and keeps changing

  • You can set speed of your animation in the Image editor - when You click on animation name there is an option to set Speed on the left in Properties window.

    Or by events - using "Set speed"

  • Still needs "CSV to Array".

  • After 4 minutes works fine in Chrome 24 (r119 64-bit). It would probably bounce forever if I did not close chrome.

  • I can't open your file, You are using third party plugin "CSV to Array".

  • Well in your file it says "Set with the animation editor:" for the top ones and "Set with the event sheet:" for the bottom ones

    Top ones have different animation speed (set in image editor) - and you are changing animation speed for them in events

    Bottom one have all the same animation speed = 24 set in image editor. (nothing for them in event)

  • Your file works fine but You are setting speed for wrong sprites in events.

  • Could you upload it somewhere? 35 fps with ~400 objects it's kind of low.

    Your pc might be not powerful enought to handle this or you doing something wrong in C2.

  • Containers are kind of limited in that situation - you can't destroy only one object in container because destroying one will destroy whole conteiner.

    viking78 will You use Spriter for animations only or with spriter C2 plugin to anmate them in C2?

    I'm not sure how Spriter plugin will behave if one or few of the objects used in animation are destroyed (@lucid will animation for others part continue?).

    For chopping body part You could use bullet behavior with gravity - to shoot them a little upward and slowly fall to the ground.

    For that you can either destroy and create new sprite with bullet or activate bullet for currently chopped part - again not sure how this will behave with spruter plugin.

  • You can add sub-event for this condition

    +expenseCount => totalCount

    +or

    +coinsCount => totalCount

         +sprite is on layer = 1 -> destroy - or whatever you want

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do You mean something like that ?

    <img src="http://dl.dropbox.com/u/34375299/Construct%202/bugs%20and%20fixes/onend.JPG" border="0" />

    If not, could you upload an image of that part of Your code, if You don't want to upload capx file?

  • There is a condition "Is on layer" - on the bottom of the Add event window, under Z Order section.

    Are your collectibles instances of one sprite?

    If so you could create boolean for them and set it to true after picking them up.

    Then on the layout end you can do:

    collectibles.boolean = false - > destroy

    it will only destroy the ones that not have been picked up.

  • F4 Preview project from first layout

    F5 Preview current layout

    F6 Export project

    And here is the list of all shortcuts.

  • If I would set every stone, tree and a single river as a object I would still need a hitbox for each object which would double the amount of objects.

    For backgrounds like grass, road... use tileBG's

    For objects you can use sprites and make them all as a frames

    frame = 0 - stone

    frame = 1 - tree

    etc.

    And using sprites you can alwasy set collision polygons for each object.

    However I would not recommend using single trees or single stones if you don't need to. If you can make small groups of them (little forests ;)) to keep your object count at reasonable amount.