dmakinde's Recent Forum Activity

  • Hi Remus, I tested the game out using crosswalk and it seemed to work (albeit at a much laggier rate) but I must admit, I'm not very familiar with the wrapper so I'm not really sure how to do basic things like deploying a signed apk to test on my mobile or get rid of the status bar to make it feel like a normal game (if resources exist on how I can do that, please point me in the right direction) and given the fact that the game works fine on the cocoonjs launcher and not on the APK I'm not sure if there's a compatibility issue with crosswalk. If anyone wants to take a look and see the problem for themselves here is a link to the Capx, the CocoonJS signed APK and the CocoonJS zip.

    https://drive.google.com/folderview?id= ... sp=sharing

    If anyone can take a look and help me diagnose the problem I would be so grateful!

  • I don't think the recognition is the issue here, the clicks are definitely being detected, it's just something is going wrong whenever the game attempts to switch layouts. Never the less I changed the play button on the main menu to a sprite and still no dice

  • Hi All,

    I've been working on a game meant for mobiles and it has been going well up until recently when I tried to test out the APK. Much to my dismay I found that while the game worked fine on my browser, It wouldn't get passed the main menu as an APK on my Android device.

    I initially attempted this using CocoonJS, and while the game worked amazingly on the launcher from a zip file, the game would not switch layouts when being launched as a signed app. At first I thought perhaps it was just a bug with the layout so I recompiled the app making the default screen the actual game rather than the main menu layout. The game launched and played fine, but when attempting to navigate from the game to the main menu (through the pause screen/quit button) or even restart the game, it didn't work <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    Strangely enough I found that the layout it was stuck on was perfectly functional allowing me to resume and keep playing the game, it just refused to do anything revolving around switching layouts. I thought maybe there was a bug with CocoonJS so I made a simple dummy project with two layouts and button that toggled between the two, and that worked just fine so that got me thinking that perhaps there was something fundamentally wrong I was doing in practice that perhaps caused the game to overload or something such as a rookie mistake with the way I handled my events? This is my first mobile game project so I guess having it go smoothly would be too much to ask!

    After asking around on the forums I was suggested to ditch CocoonJS and use Crosswalk instead, the only issue with that is that that wrapper seems to have it's own problems; I can't seem to lock the orientation to landscape, the anchoring seems a bit screwy and the game runs extremely slow <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    Can anyone offer any assistance? I really want to keep this project going but right now it has hit a complete standstil!

    Any help would be appreciated.

    https://drive.google.com/folderview?id= ... sp=sharing

    Here is a link to the Capx if anyone would care to take a look, as well as the cocoonjs zip and signed APK if anyone wants to try and reproduce the issue.

  • I attempted this and it still didn't work when you say dt expressions does that also include every tick and every x seconds events?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry to bump this, but I may have found some more information on why the layout won't switch on cocoonjs. made a simple two layout project with a button to tap that switches between layout and that worked just fine. Could my game's inability to switch layout have to do with too many files being loaded at once or something like that?

  • Did you ever find the solution to this issue? I'm having a similar problem on my game

  • Problem Description

    I'm not sure if this is a genuine bug or a result of something I've scripted wrong, feel free to delete this post if it turns out to be the latter. As it stands, when exporting my Capx to cocoonjs and compiling, the game launches, but when I tap the start game button, the game is meant to load the next layout, but instead, nothing happens. To further diagnose the issue I changed the default layout from the main menu to the game itself and re-exported; the game played fine but when I attempted to return to the main menu or restart the game, nothing happened. Interestingly enough, this problem does not appear to manifest when launching the game from a zip using the cocoonjs launcher.

    Attach a Capx

    https://drive.google.com/folderview?id= ... sp=sharing

    The above folder contains a link to the Capx as well as the signed APK and zipped CocoonJS export

    Steps to Reproduce Bug

    • Launch zip file with CocoonJS Launcher
    • (after the countdown has finished) Press the pause button
    • Attempt to restart the game or switch menus, observe that the game allows you to do so.
    • Install the signed APK and attempt to carry out the above instructions

    Observed Result

    The game does not respond to the restart and quit button, but still allows you to unpause

    Expected Result

    If the restart button was pressed, the game should have restarted

    Affected Browsers

    • None. This problem only happens on device

    Operating System and Service Pack

    Windows 7 64 bit

    Construct 2 Version ID

    173

  • Is that the only way to get it working? Crosswalk's performance seems to be quite laggy compared to cocoonjs

  • Hi Guys, I have a strange problem with my game so far. For some reason while the game performs perfectly on my PC, when I compile the project and create a signed APK to test on my android device, I can't get past the menu screen.

    To further diagnose the problem I changed the first layout option on the project properties from the main menu to the game proper and after compiling that, I was able to play the game just fine but was unable to restart the game (which was a restart layout function) or go back to the main menu (Switch layout function). The strange thing is this problem only seems to occur when the project has been compiled into an APK. Testing the zip using the CocoonJS launcher yields no problems at all :S

    Can anyone help?

    Thanks

  • Thank you! I haven't gotten round to implementing the tutorial check yet, but with the webstorage object I managed to create a way to store your high score locally. I can't imagine the methodology to implement a tutorial would be too different, so I'm going to go ahead and mark this as answered. Thanks again

  • (ANSWERED)

    Hi all,

    I'm trying to create a tutorial level for my game, and I would like the game to prompt the user to try it if they have not done it before. I can think of a pretty simple trick to detect that using a boolean variable that toggles once the user has played the tutorial level, but the challenge for me is that I want this game to work on a mobile device, and as such I would like the detection to persist even through the game closing. Would achieving something like this involve storing data on the device itself or something like that? I have no idea where to start with that really, but any assistance would be appreciated.

    Thanks

  • Thank you

dmakinde's avatar

dmakinde

Member since 5 Feb, 2013

None one is following dmakinde yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies