Nepeo's Recent Forum Activity

  • Just finished adding them, although I need to do some testing. There's 3 new actions:

    1. Set max advert content rating
    2. Tag for child directed treatment
    3. Tag for under age of consent

    I think you need to set the first to "General Audiences" and the second to true to meet the store guidelines to display ads to kids.

    The last one is a little more confusing, not much guidance is given on it. It appears to only be needed under GDPR areas, but quite how your supposed to know if your user is under the age of consent I have no idea. As per usual Admob says they are only providing the tools, and that you need to decide if you need them.

  • The particular section they appear to be complaining about is down to the type of advert you are showing, which we don't have any control over. However, there are a few settings available in the Admob SDK related to children which we could expose to developers. I believe the relevant ones are setting the "max_ad_content_rating" value and tagging the advert request for "child directed treatment".

  • Audio restrictions are quite irritating to work around, they were introduced to fight against those websites that autoplay music as soon as you open them. I vaguely recall another hack that existed the prevented tabs from going to background mode by using audio contexts as well, so that might have also been a consideration.

    But yeah easiest way is to have some sort of title screen, with a big "lets play" button or the like, and then create the context in that user gesture.

    Mikal the forum has formatting tools for JS, might make your comment a little more readable.

  • The emulator tends to be pretty buggy, and can have subtle issues with software/hardware configurations. If it runs on an actual device then it's a bug in the emulator.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This sounds like an Admob configuration issue. I'm not familiar with the guideline your referring to, could you link it for me so I can take a closer look?

    It's not possible to display a banner more than once, but I believe Admob (by default) swaps to a new advert periodically if the banner is open a long time. I'm not sure why that would be default if it's not allowed on the Play Store though. My only other guess is that one of the adverts you are showing is against the T & C's, which would be rather frustrating.

  • Salman_Shh Adding themes is pretty cool! Not sure if you've looked at it before but the Advanced Random plugin has some useful stuff for interpolating colours.

  • I'm not involved in the development of the tween plugin, and haven't really used it in any of my projects so I can't really comment on what features it has. You might have more success creating a new thread asking other users about it.

    If you think it's missing a specific feature you would find useful I recommend submitting it to ourfeature request page.

  • Interesting technique. Something very similar is actually used by robot vacuum cleaners. They have a sensor on the leading edge facing down that checks the proximity of the floor. If it moves forward and the sensor reports that the floor is far away then it's reached an edge, and knows to move away.

    Fun fact that most models suffer issues with black rugs, if they use an IR photo-diode to check for proximity then it appears as an infinite abyss to it.

  • Google Play Games has some pretty extreme caching systems that can easily catch you out, particularly around things which aren't expected to change ( like leaderboard configuration ).

    I actually published a revision which should have resolved some of these issues yesterday, but I guess I introduced a different bug?

    There is a kind of disconnect between there being a logged in user ( managed by device service ) and the app actually thinking it's signed in. The actual state can change underneath the app and there's no magic event that fires to tell you that. Hence the plugin has code that updates the sign in state when the value is expected to change ( after signing in for instance ), but I've heard of at least one crash from being signed in but the plugin being out of sync. The patch is supposed to update the login state at the entry point to each action if it didn't match the actual sign in state.

    I'm out of office for a couple of days so I've rolled it back and will review further when I have the chance.

  • No worries dop2000 I hope it comes in handy. I ended up just putting in options for doing an x/y transpose. It seemed the simplest and the most useful. You can also choose to transpose a single layer or the whole editor, due to transposing swapping the width/height of the array you can only transpose a single layer if the width and height are the same.

    I spent a fair amount of time considering what adjustments could be made to the data editor regarding improving memory usage, but the files would be so massive anyway I don't think there is much point! So yeah just did this the simple way, but it might be slow for massive files.

  • Looks nice! Glad I could help :) Yeah I'm not surprised that there's issues with neighbouring platforms, it's a flaw of using the "pick nearest" condition. You can kind of work around it using careful level design. If they are only going to walk on a single platform you could add a "platform id" instance variable and pick the platform using that. So they would only look at the platform they are assigned to.

  • Actually the doc appears to be saying what I did, so the documentation is correct about this behaviour. Picking IS happening on all conditions, but the effect is cumulative. If you start with 10 instances and the first condition picks 5 then the next condition can only pick from those 5, if that condition picks 0 instances then any following conditions have no instances to pick from and hence are all false.

    In the example you gave each condition is picking from 2 sets of instances, the observer and the targets. Because the observer is used in each condition if any are false the following conditions has 0 instances of the observer to pick from, but because the targets are unique to each condition they have the full set. So it's nothing to do with "else", just how "OR" behaves.

    I admit this behaviour feels a little weird to me, I would have assumed that picking wouldn't work like this in OR blocks, but I'm not familiar with the history of this. There might even be a good reason it works like this that I'm not aware of, but the design of the event system predates me joining Scirra by quite a few years.

    About the reply the website sometimes has caching issues with posts, so they don't show up for awhile or until the thread is updated again. Typically editing the post is enough to make it appear.

Nepeo's avatar

Nepeo

Member since 8 Mar, 2016

Twitter
Nepeo has 583,792 followers

Trophy Case

  • 8-Year Club
  • x4
    Coach One of your tutorials has over 1,000 readers
  • x3
    Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

13/44
How to earn trophies

Blogs