CGamez's Forum Posts

  • Hello,

    for our new app-project we need a plugin to integrate the Kongregate Payment-API in our project, so that the users can buy Kreds in our game.

    If someone can offer us such a plugin we would be very happy

    If you are interested in this little job, please tell us the costs for a plugin like this.

    You can also pm me by mail:

    kevin.donhauser92[at]web.de

    Best regards,

    Kevin

  • Hi guys,

    I was searching here for some information about how to use the Payment-API from Kongregate in Construct2.

    There were 3 topics about it but very old and 2 of them without answers so I wanted to ask here if there is a Plugin to include the payment api from kongregate.

    Or will be there a plugin for this in a later construct 2 version?

    If not, can someone help me with that? I also would pay for such a plugin.

    Best regards,

    Kevin

  • Hi,

    thanks for interest and help, I have now someone who will optimize it for me.

    Uniform: Your game also have very bad laggs on mobile device

    best regards.

  • Thanks for help.

    I will try to make the fieldgrid with an array, thank you.

    Best regards.

  • I know that it's not working on mobile devices... I also know that it is because of the 250.000 collision-checks / second and that is what I need to fix

    So at the moment the match3-items are sprites with solid and platform behavior and this makes the 250.000 collision-checks / second.

    So it has to be changed that there are not so many collision-checks.

    Best regards.

  • ok, Link for Web-Demo and email for contact added.

  • Hello,

    At first, this is a commercial project, so we will pay for your work! So if you are interested pls let us know, how much you want for your work.

    We made a little match3-style game and have some performance problems with mobile versions (web-version is working, but for mobile there are too hard laggs).

    Here the informations about the game-layout with laggs:

    On start of the Layout I spawn 5 different sprite objects (53 * 55 px) and this so often, that there are 64 (8 * 8) objects on the field.

    They have the "platform-behavior" and the "solid-behavior" so that they are falling down to the ground of the field automatically.

    Than you have to click on 1 object (with mouse or touch) where 1 or more of the same obejects are next to it. And if you do this, the objects get destroyed and for each destroyed object a new one spawns, so that there are always 64 objects (8 * 8) on field. (simple match-3 game)

    For all of these objects collisions is enabled and that's why there are:

    -> over 250.000 Collision-checks / second

    -> 4.000 poly-checks / second

    -> 200 Moved cell / second

    -> 16 cell count

    -> 119 objects

    Now we need to optimize this, because the 250.000 Collision-checks / second make some insane laggs on mobile / table devices.

    For better information about the game we can send you the URL to the Web-Version-Demo.

    Please contact me by PM.

    Best regards.

    Edit:

    Link of Web-Version-Demo:(the Touch-Events in the game-mode are not enabled, just Mouse-Events)

    island-saga.creative-gamez.de

    If you cant send me a PM, here my contact-email: kevin.donhauser92 [at] web.de

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    that would be perfect, but I didn't find like prepared objects / functions for this in construct 2, so I have to make all functions over the eventsheet... but I wanted to use C2 for easier game-making

    Any Tips which functions I can use or are there some prepared functions / obejects I can use in C2?

    Best regards.

    Edit:

    ah ok I think I got it what you mean:

    I deleated all behaviors of the match 3 objects, but collisions still enabled for touching / clicking them.

    Now the 250.000 Collision checks / second are gone and there are only like 2000 Collision-checks / second.

    And now I have add events that makes the match 3 objects falling down right?

    Than there is another question:

    How can I make an event to let the objects falling down + setting up the fall-speed of the objects?

    Or do I have to add a movement-behavior?

    Edit2:

    I made it now like this:

    The objects have the behavior "platform movement". Now there are only < 10.000 Collision checks / second.

    But now I have to add an event, that the object dont fall threw other objects.

    Any ideas how I can make this without the solid-behavior?

  • Hi,

    I know that I have to reduce the collision checks, but I asked for how to make this? How can I make that the collision checks are not every tick but every X seconds?

    Or do I have to disable all collisions and than make this function with events?

    And the info to the project:

    On start of the Layout I spawn 5 different sprite objects (53 * 55 px) and this so often, that there are 64 (8 * 8) objects on the field.

    They have the "platform-behavior" and the "solid-behavior" so that they are falling down to the ground of the field automatically.

    Than you have to click on 1 object (with mouse or touch) where 1 or more of the same obeject are next to it. And if you do this, the objects get destroyed and for each destroyed object a new one spawns, so that there are always 64 objects (8 * 8) on field. (simple match-3 game)

    Best regards.

  • Hello,

    I made a little match-3 game with a field of 8 * 8 objects.

    Everything is working fine in browsers on pc, but for smartphone / tablets the performance is very bad.

    Here some information of the debug of construct 2:

    -> over 250.000 Collision-checks / second

    -> 4.000 poly-checks / second

    -> 200 Moved cell / second

    -> 16 cell count

    -> 119 objects

    The other layouts like "game-settings / highscore / playerinfo ... " working fine, but in the game mode I have the over 250k collisions cause of the match 3 objects.

    Is there an alternative for the collision-checks? I saw something, that you can change the collision-checks, that they are every X seconds and not every tick, but I couldn't test it because I didn't find anything how to change this.

    Best regards.

  • Hello,

    I tested a bit more and made the HTML5-Version including touch-events ready.

    On my Browser everything works fine. I tested it on a touch-tablet and it also works, but the performance is really bad. (only on mobile devices / tablets, on PC everything works perfect!)

    The Size of the HTML5-Version is like 3 MB and it also loads very fast, but than the game is just lagging...

    Are there any options to "tune" the performance of the app? Or is it normal that the HTML5-Version makes some laggs on smartphones / tablets?

    Best regards.

    Maybe this is helpful:

    I run the debugmode in Construct 2 and I got in the game mode (where the laggs are) following informations:

    -> over 250.000 Collision-checks / second

    -> 4.000 poly-checks / second

    -> 200 Moved cell / second

    -> 16 cell count

    -> 119 objects

    The game mode is like a match3-game and there are 64 objects (8x8) on the field. If I disable the collision for the field objects, there are only 100 collision-checks / second. So I think the 64 match3-objects on the field causes the laggs.

    But how can I fix this? I've created just 5 different objects and they are spawning in the game mode so that there are 64 objects on field. Is there a better way to do this?

  • Hello,

    thanks for help.

    I downloaded the App-Preview and with the App-Preview the touch-object worked on my android phone. (it also made some insane laggs in the game, is this normal?)

    Than I build the .apk again with Intel-XDK and downloaded + installed the app but still doesnt work...

    Maybe I make a mistake at the build-app:

    I just click on "BUILD" than on "Android" at "CORDOVA 3.X HYBRID MOBILE APP PLATFORMS" and after that I can download the .apk file. I upload it to my webspace and download it to the phone and install it and than the touch-effects don't work.

    Do I make some mistakes by building the app with Intel XDK ?

    Best regards.

    Edit:

    Also when I export the construct2 Project to HTML 5 with Touch-Events, they don't work on my smartphone.

  • Hello,

    I made a little html5 game with construct 2.

    Now I want to convert it for Android.

    I did it with the "Intel XDK", everything worked fine. In the emulator of "Intel XDK" the Touch-Object worked fine (with mouse on pc).

    After building the android-app, I downloaded the App to my HTC-One-Android-Smartphone and the Touch-Object didn't work anymore.

    Here is a Screen of the Touch-Events:

    The Objects are just little Buttons (200*50px).

    I also tried other touch-events. I also tried the Touch-Event "On any Touch" (so not on an object, just a touch, but also nothing happens).

    I don't know how I can fix it, I tried like 2 hours changing the Touch-Events... I also searched in the Construct 2 Tutorials but couldnt found anything that helped me.

    So if someone knows the problem I would be very thankful

    Best regards.