Vikingvikingviking's Recent Forum Activity

  • I'm sorry I'm not able to help out more.

    wrote about a similar problem: construct.net/en/forum/construct-3/how-do-i-8/generate-apk-construct-apk-160655

    Together we can maybe escalate this more efficiently to the chromium devs.

  • Yeah, I can imagine, I don't have an android device but I feel this issue is a big problem. It could be that it is a chromium problem and not a Construct problem.

    If you go to the bug tracker you can that it seems like more people have the same experience, it is good to add a comment or start the issue because that might help with getting the problem solved quicker.

    Here is the bug tracker link: bugs.chromium.org/p/chromium/issues/detail

    If you feel like it, it would be good to tag this post with #android, #webview, #apk

  • Hello, good work you guys have put in.

    The projects that been tested do they all run fine on pixel devices?

    Also if it lagged on all the device except pixel it still a problem.

    I think the list of tested devices and OS versions should be compiled into a list and posted on the issue. This sounds like a significant issue as the mobile market is an important one. I don't own a android devices myself, but it would be nice to get the problem fixed.

    Could be helpful for the chromium devs to know so they have an easier time finding the issue if it is on their side.

    How are you guys generating the apk-files?

    I don't remember the workflow, if it is possible, try export a Cordova project and do the android wrapping manually.

  • Hello,

    I don’t have an answer but I gathered some info down below that’s about a current problem, would be interesting to here if you are experiencing the same issue.

    If I understand correctly, the problematic app-file is made with construct 3?

    Also, I interpret the text as there are more problems than just size.

    If you read this post: construct.net/en/forum/construct-3/general-discussion-7/chrome-mobile-vs-apk-160701

    Do you have similar performance problems?

    If so here is a the issue in the chromium bug tracker: bugs.chromium.org/p/chromium/issues/detail

  • One way would be to check the player and enemy's Y-position on collision.

    If the player's y-position is less than the enemy's y-position then it should that the player jumped on the enemy. Probably it needs some tweaks to work in some cases but it's a start.

    Check out the demo project "Kiwi Story", it has the functionality you're looking for.

    In Kiwi Story, Open the event sheet "eEnemies" and look at event 55 and event sheet "ePlayer" and event 35.

  • Don't force yourself to do it if you don't like it.

    If you like it, maybe another approach can help to motivate. Prototype more on paper. Plan more, split up features in smaller tasks. Join a game jam.

  • It sounds like it works. Add another language and test to be sure.

    Scalability is essential, you don't want to change anything when adding new languages except adding a language file and a way of selecting that language file, but if you need to change other events/code, it's probably not optimal.

    In my experience, most of the time, companies use JSON-files. One for each locale and defined naming conventions like: en-US.json for American English, en-GB.json for British English, etc.

    One JSON-files is loaded when the game starts, and then other files are loaded when the user selects a language.

    What you find is easiest for you is probably the best solution if you are working solo.

    One thing that can be good to support is the possibility to pass variables to translation.

    E.g. If players can add there own name then it is nice if npc can use that name when talking to the player.

    All projects are different test things and you will find a solution.

  • Hello,

    I would say that you need to save the time the game was closed.

    When the game is started again, load the saved time and compare it to the current time.

    Depending on the difference you know how much life to add.

    Here us a link to get you started, look for the section about unixtime:

    construct.net/en/tutorials/building-clickeridle-games-2388/building-basic-clicker-2

  • Hello,

    The error says the audio file you try to use is not supported. If you try to play a .rar, that is probably the problem.

    Try adding another sound that in an audio format such as: .ogg

    Here is a list of supported formats:

    construct.net/en/make-games/manuals/construct-3/interface/dialogs/import-audio

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Good to hear the global variable is working for you.

    About the text disappearing in some layouts, I have no clue. Maybe it’s not added to the layout, or perhaps it's set to an empty text.

    You can run the game in debug preview mode and see if the text object is created. If created, it will be in the list of objects In the layout. Then you can inspect it and see if it has a text value.

    Debug preview is one of the options in the dropdown shown when holding the play button in the top bar In the editor.

  • Sounds like you want a global static variable.

    Create a variable in a global scope (not inside event or group)

  • Oh, thank you!

    I’ll check it out when I'm by a computer.

    Thanks again!

Vikingvikingviking's avatar

Vikingvikingviking

Member since 28 Dec, 2016

None one is following Vikingvikingviking yet!

Trophy Case

  • 7-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies