thesecretweapon's Recent Forum Activity

  • I want a VARIABLE platformer speed. That means, I want the speed to increase by 20 as the player goes further in the game. I want the game to speed up as the player progresses. Here is what I am doing and it works:

    Platform on moved:

    Player score<300: Set platform maximum speed to 375

    Player score>300: Set platform maximum speed to 450

    I have to add this or it won't work:

    Platform on landed:

    Player score<300: Set platform maximum speed to 375

    Player score>300: Set platform maximum speed to 450

    But, the problem is that when the player reaches 300 score, the speed DOES increase but the game starts lagging heavily (jerky movement of the platform) ONLY ON mobile not on desktop.

    However, when I delete this code and run the game on mobile with CONSTANT speed (450) it doesn't lag.

    Is there any other way to achieve this speed increase without the lag?

  • Is there a way to integrate Google Analytics? What about AppAnnie or other Analytics services?

    Also, I never got how to implement CocoonJS's Analytics service. How do you use it?

  • I want the platformer to be upside dow. How do I achieve this?

  • The Ludei logo still flickers in my game. I am using the latest CocoonJS 2.0.2 . Why is this happening? It looks very ugly.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Capx updated..

    Noooo ... I just bought a CAPX for timberman at CodeCanyon for $12. I could've gotten it got free!!! :'(

  • How is it? Do most app work? What about C2 apps exported using CocoonJS?

  • Google released ART experimentally and announced that it will replace Dalvik in the next version of the OS. https://source.android.com/devices/tech/dalvik/art.html

    Does games exported using CocoonJS or CrossWalk work on ART? Has anyone tried it?

    If anyone here reading this have ART running on their phone, can you please install a simple CocoonJS and/or Crosswalk project and post here whether it works or not? I don't have ART so I can't test it.

  • There are (probably) some issues with your capx..

    Even with 7 FPS you should be able to have a look at the debuggers info to see where that is coming from..

    Ashley It'll probably be a problem with my project as there are several good performance games wrapped using CocoonJS.

    LittleStain

    It says Collision detection: 227 (avg)

    Object count: 35 (avg)

    Is this the problem?

    I read somewhere on the forums that doing something every tick is bad for performance on mobile.

    I am doing these things every tick:

    Every Tick:

    1. Simulate Platform pressing right

    2. Scroll to player

    3. Add time spent to variable TotalDistance

    4. Add time spent to variable CurrentDistance

    5. Set text "Score" to variable "TotalDistance"

    All these "every tick" actions are vital to the game's basic gameplay and I can't seem to find a way to avoid using Every Tick.

  • Using the Debug-mode you can see what takes the most amount of processing time and memory etcetera..

    You could (read should) use that to find out what the bottleneck is..

    You should be glad it doesn't crash on windows, for that will give you enough time to figure it out..

    First thing I would look at is if there aren't objects being created all the time and if the collisionchecks aren't too high.

    It could also just be a part of your programming (events) that is taking up a lot of your cpu time.

    This is exactly what the debugger is for, debugging..

    The problem is using C2's debugger is that when using the debuger to run the game, the game experiences EXTREME lag. The kind of lag which is worse than on a mobile. On mobile the game has about 50-60 FPS, on normal windows its 60 FPS and in dubug mode its 7 FPS!!

    Is this normal with all C2 projects or is it just because of my CAPX?

  • bump

  • Many people here on the forums said that the newest update of CocoonJS fixed it. But I am using the newest version in my C2 and newest (2.0.1) to compile in Ludei's cloud compiler and I still get the ugly flashing ludei logo.

    How can I fix this?

  • I'm having a very hard time optimizing my game. My game is an endless running game and I make sure that everything is destroyed once they get outside the window. But I am wondering if using "Tiled Background" instead of "9-Patch" save memory and improve performance in mobile?

thesecretweapon's avatar

thesecretweapon

Member since 28 Jun, 2012

None one is following thesecretweapon yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies