AndreasR's Forum Posts

  • what do you mean by "buttons"? To me any "button" on the screen is a sprite or other game object (sprite text, for example). They always work for me. The audio commands should work.

    Or are you talking about android buttons like the back button? The physical ones? If so that's good to know, but yea kinda off topic

    I'm surprised though that C2 doesn't have a way (that i'm aware of) to use android buttons. There is no "android" game object to add into a game to access it.. like the one that thehen made for Windows Phone 8.0

    Last statement for this off-topic button thing

    Yes you can directly insert buttons (not as sprite) in C2. But this "Buttons" will not appear if you compile your project with CocoonJS. Just double-click in the white editor area and look for "buttons".

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • We just want to let him know that buttons doesn't works (if you compile with CocoonJS)

  • Man you do a awesome job! Give this man a special badge

  • Hi, i would use a global variable not a instance variable to check if game is paused or not.

    This is how i solved it.

    [attachment=0:gukhkwnh][/attachment:gukhkwnh]

    You can check the pause menu here live.

    Demo - Super Mario Platformer (Scroll down and choose your demo)

  • There is a pause/resume event under the Audio Plugin.

    But this doesn't work on mobile games, because buttons doesn't work on mobile games. You need to use sprites instead

  • I do this via a global variable "Sound" (1 = Playing / 0 = Off) and a toggle button.

    [attachment=0:20rflh5m][/attachment:20rflh5m]

    Important is to use the "Trigger once" function. Otherwise your sound will be permamently started.

  • Try this tutorial <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

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

  • Hi,

    I'm from germany and i'm working with C2 for about 1 year. I'm glad to be a part of this great community!

    My Projects / Games

    LeviCat - Android Game

    built with C2 and compiled with CocoonJS 1.4.7

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

    Super Mario Clone (Platformer)

    built with C2 and compiled with CocoonJS 1.4.7

    Play Store: https://play.google.com/store/apps/deta ... one.wdbase

  • I gave my best to set up a tutorial for you guys. Hope it helps!

    https://www.scirra.com/tutorials/1024/m ... onjs-games

  • Wouldn't say that. I offer great game basements for just a few dollars. Everyone who don't want to start from zero can by one of my game basement and customize it

    And, to be honest, it's more cheaper than hireing a developer for 100 of dollars

  • Oh sorry for my missunderstanding

  • Yes. Licsense is for private and commercial use free

    [quote:20zn32p8]The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law.

    You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission. See Other Information below.

    It it's more a complete game as an "example"

  • Hi guys,

    I offer Game Foundations on codecanyon.net. There you can buy complete games or basements like a GUI with HUD. Just check out my Portfolio.

    Global Features

    • Leaderboard Function (You just need to replace your ID's)
    • Ready for advertising (AdMob via Mopub)
    • Highscore Feature (local and online via Leaderboard)
    • Built in HD Landscape (720p)
    • Easy to edit & understand (Documentation is available

    Featured Item

    A complete platformer with a lot of game features

    • Double Jump
    • OnScreen Controls
    • Many diffrent obstacles
    • 24 Level since last update!
    • Improved Save & Load mechanism via JSON
    • And a lot of more!

    Buy it one codecanyon just for 13$!

    What you can do

    You are allowed to change everything or let it like it is and publish it directly to all platforms you want to. All used graphics are free for private and commercial use!

    Portfolio

    Codecanyon.net: Portfolio

    Hire me

    I also offer custom work, just send me a private message

    Questions?

    Don't hesitate to ask everything you want to know

  • Should this solution also work on preview? Because I followed the steps, but the small default font still shows on the iOS device...

    I did all steps you've mentioned, but i still can't use added fonts with CocoonJS. Always the default font will be shown.. Has anyone ideas?

  • Awesome Thanks a lot!