teha's Forum Posts

  • 8 posts
  • Actually it seems that it's just line 9 in the second screenshot in my first post ("<script type...>").

  • Emperor

    What helped really good but NOT 100% of the times is exporting the project on another computer. It seems my installed Kaspersky is adding some JavaScript into every called website (which you see in the second screenshot in my first post). My game isn't starting always yet, but about 80% (which is much more than before).

    Ashley

    Thank you for your answer. Are you talking about R139?

    Best regards,

    teha

  • Small update:

    When I start the game when the device is offline, it starts instantly without any problems. Do apps built with Construct 3 always connect to the Internet? Any way to stop this?

    Thank you.

    teha

  • Hello everyone,

    I need your help with a strange behaviour when exporting to Android (signed APK) and iOS (XCode project).

    When running my game in Construct 3 in Google Chrome, everything works fine and as expected.

    Sometimes I want to try to install the game directly onto my mobile devices, which are:

    - Samsung Galaxy S6

    - iPhone 8

    - iPad Air 2

    (more devices to follow when the beta starts.)

    But if I export my app to Android (signed or debug APK) or iOS (Xcode project -> build .ipa), the game is sometimes showing a white screen; sometimes it is running as expected.

    So I tried different things, like

    - exporting in another browser

    - transferring the debug APK with ADB (Android Debug Bridge)

    - transferring the file on other ways and install it locally

    - publish the app as internal test versions via Google Play and the Apple App Store (TestFlight)

    - playing with the export options like minifying etc.

    The result does not change. In most cases, the app starts with a white screen and does not play any music. After some time, it is crashing with the error "The connection to the server was unsuccessful. (file:///android_asset/www/index.html)". When I install a debug APK and check with "chrome://inspect/#devices", it shows this information, which is pretty strange, I think:

    While doing this, the APP HTML looks like this:

    Sometimes (about 20% of the time), the game starts nearly instantly. Checking the debug data then, I see this error message in main.js:1 : "Failed to load resource: net::ERR_ADDRESS_UNREACHABLE". The game is functioning normally though.

    I really hope for your help in this case as my game is nearly finished and ready to beta test, but it does not start up everytime...

    Please ask me anything you need.

    As this is a commercial project, I cannot publish the project file here. I can hand it out to Ashley privately, though.

    Thank you for your support in advance!

    Best regards,

    teha

  • Okay, thank you very much!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No, I am using a normal sprite as the wall tile. I didn't use tiled backgrounds so far. Are there big differences in handling the wall collisions?

    I am currently checking if the enemy collides with a Wall object. If yes, change direction.

  • Oh, sure! It can be so easy!

    All a had to do (except making the Wall blocks unsolid) is that the enemies have to check for collision with offset, so that they never touch the walls (but change their direction in this case 20 pixels before).

    Thank you for your answer!

    Best regards,

    teha

  • Hello everyone,

    I couldn't find an answer for my problem so I am creating a new topic.

    I am currently using Construct 2 and I try to create a little 2D platform game.

    The creation of some enemies walking from the left to the right and vice-versa has finally worked after a time. I set empty sprites called "Wall" (with the Solid behavior) onto the edges of the single platforms. When the enemies touch such a wall, they change their direction.

    This works fine so far. But the problem is now, that the player sprite itself also collides with those Wall sprites and thus is not able to move further (except they jump above the invisible block).

    My question is now: Is there any way to tell the player sprite to "ignore" collisions with specific sprites (in this case the "Wall" sprite?). The player is using the platform movement behavior.

    Thank you very much for your thoughts in advance.

    Best regards,

    teha

  • 8 posts