Shack's Recent Forum Activity

  • If you don't want it checked every tick and added to score the you will have to set limits as you have done and every 50 or 100 would work.

    I would have to see your game capx to tell you more as I am not sure how your game is played to give you any more suggestions.

    I can share it later once its a little more put together.

    I don't mind it checking it every tick, I just dont understand how to add points to the score in smaller increments. If the player is driving and their speed is 687, is it going to add 687 to the score, then 688, then 689, etc.? That score will go off the charts very quickly. I wanted to keep the score raising, in the single to double digits, not triples and quadruples.

  • OK yes you will need a global variable and use Every Tick to set that to the players speed.

    But how? If I set every tick, check player speed and add to score, I'm going to get some crazy numbers (max speed is 1000). My current work around is this, but it does not give me accurate readings.

    Every 1 second if speed is greater than 100 add 1 to score

    Every 0.5 second if speed is greater than 400 add 1 to score

    Every 0.25 second if speed is greater than 900 add 1 to score

    Is this the only way for me to do what I am trying? Just have to add more speed checks, maybe for every 100 speed?

  • Here the example

    Capx file:

    https://drive.google.com/file/d/0B9uHUU ... sp=sharing

    Thank you, this is how I currently have my score set up. I want it to speed up and slow down, not just >100

    What do you want the score to do when you slow down or stop?

    Ideally I would like the score to increase with the speed of the player. So if they slow to a crawl, so will the score. I guess I want the score to be linked to the RPMs instead of setting it to every .25 seconds

  • I have a a car that is driving. Every .25 secs that the speed is greater than 100, it adds 1 to the player score variable. However, if the player slows down (hitting a wall), I want the score speed to slow down. Is there an easy way for me to link the rate at which 1 is added to the score variable in relation to the player speed?

  • Thanks to the both of you!

  • Hey guys, is there a way to set an event as an "or" statement? I have 2 road sprites being generated from a spawner. When the player collides with the road, the player accelerates. When the player is not colliding with the road, they slow down to a crawl. Is there an option to set an event to say "when player collides with road1 or road2 > accelerate?

    Thanks in advance!

  • You can stuff all your advertising events in a group.

    When purchase done, disable the group.

    Thanks! I didn't know I could disable an entire group, I will check that later today.

  • I wanted to create an IAP that would turn off ads and have been trying to think about how to do this properly. There is no option with AdMob to disable ads, I can only hide one that is already showing.

    My current solution is to attach the AdMob code to a Global Variable. I placed the AdMob code under the variable 0 and anything else (1) has no AdMob code. When the user clicks the purchase button, it will set the GV to 1 and hide any current ads being shown. Am I on the right track or is there a better way to do this?

    Thanks!

  • I used the XDK it works great and you export the same way you do android. just make sure before submitting to test on a real device

    Rable have you tried Cranberrygame plugin it works for me

    Same here - I used XDK and no issue (portrait mode with admob plugin). I used the same process as for Android but obviously used the iOS build option(s). I use an old Macbook to submit the iap file to the market. My last submitted app to the market was January

    PS - Especially for iOS, dont trust the XDK emulator. Things that didnt run in the emulator ran fine on my iPhone.

    Alternatively:

    Export project from C2 as 'Ejecta' to 'www' folder of a blank XDK project.

    Export same project from C2 as 'Android' to same 'www' folder.

    Build as iOS app.

    This creates a valid iOS 'ipa' file that you can publish to the Apple store. I've successfully listed 5 apps on the Apple app store using this process.

    Good luck.

    Thanks! So what is the workflow? What should I export the C2 file as in order to get it working for IOS in Intel XDK? The Ejecta export option is no longer in my C2 options. Do I have to re install it via a plugin or something?

  • Does the lack of an answer mean no one here has successfully published an App to IOS from construct recently, or that I am having a very unique experience?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > If the file is big, check your graphics, transparencies and FX, maybe there is something that is eating up a lot of space?

    >

    you mean during the intelXDK process?

    Thx anyway for reply hehe.

    I mean the actual assets in construct. Unless what JLH1964 is true. I don't know for sure

  • If the file is big, check your graphics, transparencies and FX, maybe there is something that is eating up a lot of space?

Shack's avatar

Shack

Member since 4 Jun, 2014

None one is following Shack yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies