joelbelo's Forum Posts

  • i tried to insert the spriter plugin in my project, but i have some issues:

    1 - when i run the animation inside construct 2 with spriter plugin some little movements of the animations look like they are only 4 frames.. like everything is 60 fps smooth and only the head, that moves only a little is like 4 fps..

    2 - i have z order by y in my game, and i dont know how i can do this with spriter..

    3 - my enemies have a brightness webglfx that lights up when enemies take a it, im not sure how i can do that with spriter (having 5 sprites with effect against 1, i dont know the performance impact)

    4 - im not sure if the perfomance is better in cocoon..

  • thank you!

    tiny png is very nice, i download a software named PNGoo.

    now i can reduce my pngs to half the space and it has the same quality.

    i will try do that to all my graphics in the game and see how it works.

    im doing it right now, but i can see that the download size is going down but the memory use is the same..

    thats because construct2 already does the png compression

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am making a game that has almost 20 enemies.

    Each enemy has 3 animations.

    Each animation has 60 frames.

    Each frame rounds between 102x200 to 200x200.

    In terms of space, each enemy requires around 5 mb, with all the animation frames.

    With 20 enemies it requires almost 100 mb, only from enemy sprites!

    That's a lot...

    Im doing my animations in Spriter, but im exporting it to construct2.

    I plan to do my game for mobile and desktop.

    Im exporting larger sprites so it can go to 1920x1080 desktop and not lose quality.

    But the game is so so large, it takes lots of time to load on weaker smartphones and pcs..

    what is my solution here?

    thank you!

  • the animation looks different than exported or inside spriter.

    only the head of the monster, it has a little bit of movement, but when i play it on construct 2 through the spriter plugin its like the head is moving only in some frames..

    everything is smooth except the head..

    its like the monster body is 60 fps and the head is like 5 fps..

    i dont know what can cause this..

  • i want in my game to have a bar that fills smootlhy.

    it should start fast and then slow down when is nearest to fill.

    right now im filling the bar with every 0.01 sec, but its allways the same speed..

    i heard somewhere that lerp function could do the trick but im not sure how to use it.

    if anyone can give me some help..

    thank you

  • how about the performance in cocoon?

    i have around 10 enemies in my game, each one has 3 animations of 60 frames each.

    exporting from spriter it goes around 5mb for each enemy.

    if i can put only the pieces of each enemy and do the animation and for all the enemies it is only 1 mb.

    that will give faster loading and download time i think.

    please tell me if I'm wrong

  • im sorry for my ignorance but spriter plugin works with cocoon?

  • i solved it! thank you both! :D

  • I have a problem in my game.

    My arrows are set to hit only one enemy, do damage to that enemy and destroy the arrow.

    But when 2 enemies are very close the arrow does damage to the 2 enemies.

    I have changed the collision box of the arrow to very small but it doesnt work..

    I need only that the arrow hits the enemy and destroys without hiting any more enemies.

  • i have the same problem without using any external plugin.

    i disabled the visual fx and it worked, but i want to use the fx...

  • never mind..

    i downloaded the plugin again and it worked

    thanks!

  • with the new construct 2 beta version 150 I cant open projects that use spriter. it says: "---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Action ID does not appear to exist in related plugin

    Condition: plugin->HasActionID(act_id)

    File: Projects\EventAction.cpp

    Line: 43

    Function: __cdecl EventAction::EventAction(class EventBlock &,class ObjectClass *,class BehaviorType *,int,class std::vector<class std::unique_ptr<class EventParameter,struct std::default_delete<class EventParameter> >,class std::allocator<class std::unique_ptr<class EventParameter,struct std::default_delete<class EventParameter> > > > &&,unsigned __int64)

    Build: release 150 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally."

    So I cant open the project.. any update coming or something?

    thanks

  • Hello.

    I making a game like Little Clan for android and im having a problem with the units.

    the game is:

    You have gold, each unit costs 20 gold, you click in the yellow square to spawn a unit.

    the units run to the base and attack.

    more units, more damage because i want them to attack the base at the same time

    they bug when they attack at the same time but i want to make them attack at the same time.

    I have the capx if someone can look at it.

    Thanks!

    dropbox.com/s/jc9o84yjihtbqp0/teste1.capx

  • I had the same problem, I put the cocoonjs plug-in and the option to run standard web-based but now when I open the game in cocoon the screen is black and it says "2 fps" fixed and after 5 seconds the game closes..

    it is frezzed so i cant click in the fps to see the errors..

  • It's working! Thank you!

    Now with 4 enemies I have 62 fps.

    Now I have other problem.

    I have a type of enemy that runs and falls (dont collides with invisible blocks).

    And also, I have and pushable box that I use platform behavior also.

    And it drops the fps a bit on the levels with that objects.

    How can i fix this?

    Thank you!