Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Help and Support
  3. Random ads

Random ads

Scheduled Pinned Locked Moved Help and Support
5 Posts 3 Posters 1.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • HakanH Offline
    HakanH Offline
    Hakan
    wrote on last edited by
    #1

    I would like to show ads when player touches next level and try again ui but I dont want it to appear everytime they touch it.I want it to appear once in every 3 or 4 times player touches these uis.

    I tried to use add to score behaviour but it isnt working because evertşme you press restar score gets to 0
    Pls help

    1 Reply Last reply
    0
    • MurtazaM Offline
      MurtazaM Offline
      Murtaza
      Admin
      wrote on last edited by
      #2

      Hmm, you can try using the random number behaviour. I haven't completely thought this out (or tried it), but something along thee lines should work.

      Generate a random number, then IF that random number is = 3 (or what ever you feel like) launch an ad.

      I feel like you can build on this idea to do what you need.

      Anyone else have another idea? I think @Abel had random ads in his OrbSmash game, maybe he can explain how he did it?

      1 Reply Last reply
      0
      • HakanH Offline
        HakanH Offline
        Hakan
        wrote on last edited by
        #3

        It worked Murtaza thanks a lot

        Jack de WildeJ 1 Reply Last reply
        0
        • HakanH Hakan

          It worked Murtaza thanks a lot

          Jack de WildeJ Offline
          Jack de WildeJ Offline
          Jack de Wilde
          wrote on last edited by
          #4

          @Hakan Murtaza's method works for randomly showing ads, if you want it to be exactly every X times, you could use a save value to keep track of how many times they have tapped restart, then when that value equals X, set the save value to 0 and show an ad.

          1 Reply Last reply
          0
          • HakanH Offline
            HakanH Offline
            Hakan
            wrote on last edited by
            #5

            I tried it by saving before but it isnt working as once you save a value event if you use delete from file it isnt saving the new value.using random number is the best way thanks jack

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Search