redfoc's Forum Posts

  • CloudArcade is a lightweight CMS specifically for HTML5 Games. CloudArcade is not an addons or extension, it’s a standalone CMS based on PHP 7. With CloudArcade CMS, you can create your own Web Arcade or HTML5 Game Portal easily!

    CloudAarcade have 4 different methods to add a game.

    1. Upload -> Upload your zipped HTML5 game.

    2. Fetch -> Import free games from another game portal (GameDistribution & GameMonetize).

    3. Remote -> Add your game remotely, just provide the link for games and thumbnails.

    4. JSON importer -> Bulk import your game with JSON data, this feature can be useful to migrate your existing games or import games from HTML5 game distribution site.

    Demo : demo.cloudarcade.net

    More info & Official website : cloudarcade.net

  • the reason you need the wait 0 is that object creation does not complete until the next top level event.

    so, in your case event one must completely finish before the objects created in the function can be picked by "normal" means. (you can pick by UID or Last Created before then)

    adding the wait 0 defers actions until the end of current tick - which means the event that created the objects has completed.

    you could add another event to call the second function, but to do that you would have to set up some kind of trigger for that, which would only add more trouble than the wait 0.

    Thank you!

    Previously i think functions are working like regular js functions.

  • "generate_tile" functions only create 16 small sprites, but the next functions "add_number" are not working, since its pick one of 16 sprites that created on previous functions.

    I can fix it by put "Wait 0 seconds" in the middle, its not clean way, i'm just worried its will causing another problem if the events are getting complicated.

    I remember a few year ago when i can't figure out what wrong with my events, then i can fix it by put "wait" on it.

    Is possible to make functions work synchronous or blocking ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Remove the quotation marks from your advert IDs

    Whoa, its working now.

    I don't expect this quotations that causing this problem, mostly i use quotation as a string identification, Previously i'm an javascript developer, so i bring these habit here.

  • Advert Loading

    Adverts need to load over the network before you can use them. When creating an advert you can choose to "show" the advert immediately after it has loaded. However if it's more suitable for your game you can choose to load your advert ahead of time by creating the advert, but not showing it, then later displaying the advert when you need it. This will prevent your user experiencing a lag while the advert loads. Be sure to check your advert has actually loaded before trying to display it, loading times for rewarded video adverts in particular can be quite long. It's also worth remembering that you are not guaranteed to receive an advert when you request one, so take that into account when you are making your events.

    In your events, you have some "show:false" which would likely require to use the Mobile advert appropriate "Show" action.

    Also, are you sure that you have set the appropriate Android Application ID for this current game (not for a previous game you have already published) ?

    At last, are you testing directly on a mobile device ?

    If not, that might be the reason.

    Yes, i test it directly on android device.

    There are many buttons with different actions, each button does't show any ads, not show directly its mean only load ad right ? its just return "ad failed to load" for each button i clicked.

    APP ID must be unique for each game ? even for testing purpose ? i already use unused APP ID, but still not working.

    The weird thing is, the Admob are shown on my previous game (Test Mode), i re-build it.

    I don't know what thing i missed.

  • What are you testing on?

    android

  • Make sure to use the latest beta release R201 - construct.net/en/make-games/releases/beta/r201

    There was a bug with admob in latest stable that has been fixed in those beta.

    "Button: on clicked", on mobile, reacts to touch.

    Still not working, can you check my c3p file ? https://drive.google.com/file/d/15c_kWn1GD4x266XKOWtP-HS-fzZw9hCM/view?usp=sharing

  • The important bit of info is missing, what you are testing it on. Does 'mouse on clicked' work on mobile? Probably not

    I think its work, since its return an error related to Admob

  • I don't know why my admob ads are not shown, every time i call MobileAdvert ads keep receive error message "ad failed to load".

    Strangely when i use my previous game, the Admob ads was shown perfectly.

    But when i use these admob configuration and functions to my current project, its just not working as i expected.

    Is there something wrong with my configuration or events?

    Update:

    So, the problem is i put " " quotation mark inside variable, that causing it to be invalid.

  • Your Android and iOS Applications IDs should be the ones you get from Admob, after creating your apps there. It's like this: ca-app-pub-***************~**********

    Thanks, i forgot that, its also the problem that i facing a few month ago. i don't think i will put a wrong app id again.

  • So, the problem is i put wrong app id, i filled it with app package id instead of admob app id, its must be "ca-app-pub-25......".

    When old scirra store moved or updated to new construct website ?

  • Here is my quick review,

    I already joined gamedistribution as a developer for more than a year.

    Yes, most the payment are late, but always paid off.

    I think i never contact them about the late payment, since i already trust them.

  • Ashley Glad to hear about monthly subscription, I just paid monthly plan to make short time project with C3.

  • You do not have permission to view this post