AndreasR's Forum Posts

  • It's no problem, thank you! I've sent you the tilemap before i had read your replay. Maybe you'll find something, if not it's also fine

  • Hi Kyatric

    Thanks for your fast reply. Your test file also works on my side. Could it be a problem with the size of the map? I can't post the file here because it includes premium tile files, but i can send the file with a PM to you.

    Some Information

    [attachment=0:3u2pa6vf][/attachment:3u2pa6vf]

    This are my settings for the tilemap. Do you see any problem with the size or the settings at all? What do you recommend?

    Thanks a lot!

  • I use onScreen controls to let my player move.

    http://envato.wdbase.de/wp-content/demo/platformer/

    Just start the first level to see how it works. Graphics are free and provided from Kenney. If you want to know more just leave a PM <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • I have started to work with the MapEditor to create tilemaps for my next game. But I'm not quite sure how i import my map. Is it only possible to import a .png file not the file which the MapEditor provides?

    And maybe somebody has tips for me or own experience with tilemaps and "top-down" games so far he's willing to share?

    Edit:

    I've found where i can import the .tmx files now, but i get this error. What do i wrong?

    [attachment=0:204k67bl][/attachment:204k67bl]

    Thanks for your help guys!

  • Hi lefauteur

    CocoonJS does support social functions like facebook sharing natively but not with the C2 plugin so far. Maybe they will add this function some day but it's not sure. But, as far as I know you are able to use the build-in browser plugin to encode an URL with your information or your score.

    Check this tutorial.

    https://www.scirra.com/tutorials/914/fa ... r-cocoonjs

  • Try Construct 3

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

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

    Thank you for your posting. What OS are you using ? I`m using Windows 8.1 64 Bit.

    This bug is kinda strange, Ashley got it, I also have this bug and some guy at the CocoonJS thread also asked something about this bug since he also encountered it.

    For me, my solution seems to work. I just do what I mentioned above.

    I also use Win 8.1 64 bit and I also have figured out the problem. It's the "Minify Script" process during the export. Uncheck this and you get no error

  • Does this happen with an actual CJS compile for you or only preview? I just did mine with R171 and using all 3 versions of the CJS compiler: 1.4.7, 2.0.0 and the latest 2.0.1 and my WebStorage saving works fine.

    Same here. I can't reproduce this issue. But I have copied the exported cocoonjs file on my Android Device via USB. I don't get any errors with the webstorage. Try the same and copy your cocoonJS file directly on your device via USB (Root folder).

    I also use r171, WebStorage and CocoonJS plugin 2.0 (latest version) and I have no problems. Not in Preview and not after compiling it.

  • Hi vancouver

    I try to explain it to you, but first have you red the manuel already?

    Event Variable (=Global/Local Variables)

    Instance Variable

    What are the diffrences?

    First a Instance Variable is only available for objects (sprite, tiles). You can use them to identify your object, for instance we have 3 buttons.

    • Button 1 has the Instance Variable 1
    • Button 2 has the Instance Variable 2
    • Button 3 has the Instance Variable 3

    So now you can use the one Button sprite for doing 3 diffrent jobs. So lets see how the event will look like

    One Touched Object "Button"

    • Compare Instance Variable = 1 do Action 1
    • Compare Instance Variable = 2 do Action 2
    • Compare Instance Variable = 3 do Action 3

    So you don't need 3 diffrent buttons, one for each action. Awesome right?

    So now to the global variables. These variables aren't bound on any objects. You can use them to store your scores, define some stats or what else you want to do Also you can safe the stats of variables in many diffrent ways, for example in a WebStorage. But note you can only safe numbers in webstorage.

    If you want to learn more about the variables and how to use them check the manuel links above, try some capx file demos or ask us, the community

    Good luck with your projects!

  • Like EncryptedCow have said we will need more information about your problem?

    I'm not sure if I'm right but if you mean that the sound starts playing from beginning after a new level has been loaded, yes i know that problem very well. But I don't know what you mean with your sprite?

    Can you share a screen shot of your events or even the capx file? And how do you handle the levels?

    Check out this tutorial, it's awesome for level selection <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    https://www.scirra.com/tutorials/311/level-select

  • New tutorial showing you how to set up your own store (shop) for CocoonJS with perks and virtual currency.

    Tutorial CocoonJS - How to build a store with perks and virtual currency

  • ijoin I'm glad to help you out

    No it's no tutorial planned, but i also will offer this game at codecanyon for about 10-13$. Game is on upload and if you are interessted feel free to buy it. It includes the complete C2 project and all Graphics (free license for privat and commerical) and I give full support to my basements and you are allowed to publish and modify it on any platform you wish

    It should be online in a few days, just PM me if you want know more about and i can provide you the link

  • Hi everyone. I am looking for assistance with putting video ads in my games. If someone has experience please contact me. Looking to pay whatever is necessary.

    Thanks,

    Asa Bush

    instagram: styledox

    Why do you want to add video ads to your game`? That's the most annoying thing for the player... I wouldn't recommend that. Think about fullscreen ads or banner. First this is much easier to add (and possible with CocoonJS) and doesn't annoy your players that much. I also would include a "Remove Ads" perk available to buy via IAP or something like that. This gives the player the opportunity to buy a perk thet remove ads completely.

    If you need help with something like that I can help you.

  • ijoin

    I handle the sound toggling with a global variable "Sound". If Sound=1 all sounds will be played.

    Live-HTML Demo: http://envato.wdbase.de/wp-content/demo/candyland/

    This is the code behind handling the toggle function/animation.

    [attachment=1:2zm8u2gi]toggle_sound.png[/attachment:2zm8u2gi]

    And this is the sound function handling the playing of the sound if it's enabled.

    [attachment=0:2zm8u2gi]toggle_sound_2.png[/attachment:2zm8u2gi]

    This is a very simple function, but it works perfect on all platforms i've tried so far.

  • AndreasR is Facebook integration with CocoonJS possible? (post to wall a score/share a link) I am willing to pay for a working tutorial if that is possible

    Hi Cipriux,

    Not directly. CocoonJS supports Facebook natively, but not with the Construct 2 plugin... It's possible to post the score via Browser and URL encoding. Try this game, there is a browser based Facebook sharing function included (Button appears if your record is higher then 0). If this is ok for you i can send you the link to the tutorial or I can include it directly in your app <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    Game: https://play.google.com/store/apps/deta ... se.levicat

    Up to now i haven't found a other solution to post score on the facebook wall of the player. I hope Ludei will include this one day also in the C2 plugin, like nativ admob support <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Hi,

    Nice game

    Thanks!