Kyatric's Forum Posts

  • R217 to r219 were supporting new and newer versions of NW.JS.

    If you don't update NW.JS, it's kind of normal you get those JS errors I believe...

    Go to https://www.scirra.com/nwjs and get NW.JS 0.13 alpha 7 with r219 and see if you are still getting those errors.

    And please do read changelogs on each new version, you would have seen you were required to update your NW.JS version as you were updating C2's release.

  • Moreover The JSON format you try to use is not correct and is likely the reason why your array is empty to begin with.

    In Construct 2, if you try to get the JSON out of an array, you'll notice the format is as such (in this example, it is a simple 10,1,1 array so mainly 10 cells on the X axis only) :

    {"c2array":true,"size":[10,1,1],"data":[[[value]],[[value]],[[value]],[[value]],[[value]],[[value]],[[value]],[[value]],[[value]],[[value]]]}[/code:3qeiicui]
    
    The JSON data you quoted have nothing to do with that format.
    You can quickly check in the [url=https://www.scirra.com/manual/169/debugger]debugger[/url] on execution and see that your array is likely empty even when it should contain the content of the JSON file.
  • You do not have permission to view this post

  • You are not mentioning the most important point : What is the browser you are using on mobile ?

    Local Storage, like the profiling, can be looked at through the debugger and should be likely used in preview over WIFI.

    As far as I'm aware, the save/load system feature works the same on desktop browsers and mobile browsers, as long as the browser does support the HTML5 feature.

    Congrats on building your game "quickly" and taking on C2 in a fast manner, but in terms of help request, nothing beats providing your actual project, or a precise reproduction of the issue in a simpler project (if you don't want/can't share the main project) with precise steps on how to reproduce the error in a consistent manner.

    I made a tutorial not too long ago on how to use IAP and admob's official plugin and export it through Intel XDK, hopefully it answers your doubts about monetization.

    C2 doesn't limit your game's performances, but be aware that mobiles do not share the same hardware as desktop, and if you end up feeding them too much/too big assets, they will choke and under perform. Just follow the performance tips, the memory usage tips and try often your game on the target device to make sure of the performances.

    Finally, you mention online save, well you need to store your data on a server-side, using some server side script, and this is out of the scope of C2.

    Google drive or an online file hosting system like that won't likely allow you to, for security measures on their end, allow anyone to write in a file hosted on one of their account.

    Check the "How do I FAQ" for more infos on database/server-side but be aware this is out of the scope of our forums, since it depends on the language you use and the kind of server hosting you go for.

    Nevertheless, the AJAX section can provide you with examples on how you may do it work.

    On a moderation note, please don't bump your topics less than 24 hours prior to the last message you posted, especially during Christmas/holidays times.

  • You do not have permission to view this post

  • I guess you clicked "promote game" and are using adblock.

    That's a "known issue", disable adblock and the game will load as intended.

  • The jitter comes from the fact that when going to the left, your sprite is alternating between going left and going up, so it's passing from the "side" mirrored animation to the "up" animation non-stop.

    To prevent that, you don't want to use the 8 direction behaviors and handle the movement in events yourself, so that when your sprite goes into a wall, it just goes back to its previous position and do not move further.

  • I'm not familiar with using the FB plugin, so I cannot help further and invite you to search the forums in case some others informations are there that you might have missed on.

  • I wrote a tutorial on how to customize the exported html file years ago.

    Hopefully it should contain all the informations you need.

  • As it is help in regards to a specific third-part plugin, you should actually directly post help request in the official topic for the addon so the author can help you out.

  • [quote:bz22lpi4]I need to look further into the iOS part of things.

    So currently I cannot help further or tell you what's going wrong.

  • I need to look further into the iOS part of things.

    So currently I cannot help further or tell you what's going wrong.

    It is advised to rather build iOS apps using phonegap build rather than XDK.

    IAP products must be configured into the iTune Connect interface and you should have contracts up for it to work (still in that interface).

    I plan on doing a tutorial like the one I made for Android but I need to research and manage into getting the app to work in a first time.

    It's not yet the case and is the end of year.

  • System action, System expression, System conditions.

    When you have the dialog to add an action (or create an event), the first object type available is named "System" and that's where you find system actions, conditions and expressions.

    Amongst which "Scroll to X".

    "ScrollX" is a system expression.

  • Bumping to bring a bit of attention.

    Currently the final round of vote is going on to determine the theme of the jam.

    I'm considering participating in the jam, hoping the theme will inspire me quickly.

  • You need to use delta time in your game.

    So Daggio's proposal is not completely true/safe.

    Here is a capx made in r218 using only events (and relying on the timer behavior for some aspects).

    The scrolling is horizontal (since you did not give precisions in your first post).

    Objects "Other" are spawned every 5 seconds, given a -25 speed that makes them move from the right to the left towards the "Main" object.

    Using the up and down arrows make the Main object move up and down, limited by the "Bound to layout" behavior.

    Using the right and left arrows change the "ModSpeed" variable value which is used to set the "Speed" of the background scrolling as well as the "speed" of the "Other" objects.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads