Discussion on Junk Punk: Universal, In-App Purchases, Ads, Game Center

61 comments found.

what size does the character have to be to put a new one in

16×16 pixels should do fine!

also how can i add in some sort of coin system so they can be collected and buy upgrades in the store

Implementing a coin system is a relatively large feature to explain, but we might add it as a free update in the future!

I love the app & thank you. I have two slight issues if you could offer some advice. The first is I get a blank screen when the app launches. The “Loading” images are all in Images.xcassets / LaunchImage.faunchimage but just get a black screen while app is launching. This happens in Xcode’s simulator as well as on an actual device.

The second issue is; when you hit the home button, then try to restart the game, the “Game Over” screen remains on top of the actual gameplay. I have to double click the home button, kill the app, and restart the game. I am running the latest version of Xcode and an iPhone 5s on iOS 8.0.2

We haven’t run in to this ourselves, but we’ll see if we can get it fixed. Thanks for letting us know about this!

This has been fixed in version 1.0.6, which is now available!

Hi,

Everytime i try running the app i get an build failed ” Command /bin/sh failed with exit code 1” does anybody else get this and ca i please get help to resolve this

You can try scaling either game player texture larger, or specify a scale in the Player entitys code. If the error is still there, you can remove the Run Script if you so desire. All it does is automatically increase the build number with each build.

how do I remove the script?

Just click the X icon in the upper right corner (if I remember correctly).

how do i add my own rev mob and iAds in?

Check the documentation and the file called Common.h, it has proper instructions on how to set either of those up.

Hi, first I would like to thank you for providing such detailed code. It is helping me learn a lot about how to program this type of game on iOS.

I am having the same issue as elamberth, in that when I tap “Restore Purchase”, and tap “Cancel”, I get the “Tap to Restart” overlay. When I tap “Tap to Restart”, the game over screen remains ontop of the regular gameplay.

I’ve tried studying the code to figure out why this is happening but can’t seem to figure it out. Can you help please?

I am using an iPhone 6 Plus on iOS8.

Thank you!

Hi, I am still waiting on a reply/solution to this issue. Please respond.

Thank you.

Terribly sorry for the delay! We’ve begun working on a fix and should, with any luck, have it available early next week.

This has been fixed in version 1.0.6, which is now available!

RE: Everyone

Here’s the latest updates notes.

Version 1.0.6 (December 1st, 2014)

  • Fixed the game getting stuck while restoring purchase or purchasing ads.

Hey, how would i be able to change the score in meters at the top left of the screen from white to black? thanks

In JPGameScene.m (line 88), right after [self.scoreLabel setFontSize:16]; you should be able to use something like [self.scoreLabel setFontColor:[SKColor blackColor]]; to set the text color to be black instead.

Please, how to change the font? I uploaded a new font, but when the name changes from Nokia Cellphone FC to new font name, it does not work.

Thanks

The easiest way would be to use existing fonts on iOS, which can be found here: http://iosfonts.com/

You do need to make sure to use the exact wording specified on that page (ie. “ArielMT”) in order for the font to work.

Here’s a pretty good tutorial on adding entirely custom fonts, however: http://codewithchris.com/common-mistakes-with-adding-custom-fonts-to-your-ios-app/

Hey, how would i be able to change the score in meters at the top left of the screen from white to black? thanks

In JPGameScene.m (line 88), right after [self.scoreLabel setFontSize:16]; you should be able to use something like [self.scoreLabel setFontColor:[SKColor blackColor]]; to set the text color to be black instead.

I am using Revmob so how I can change it to full screen ads instead of banner And when game loads its shows black screen is there anyway I can add loading screen ?

We’ll see if we can squeeze in interstitial ads in the next update. :)

Can you please tell me how to add one sound on jump and one sound on death.

Or point me to a tutorial

Thankyou

We will try to add simple sound effects with the next update, as well as a coin system for purchasing “upgrades”.

Excellent news

hello i want to make the file TopHorizon.png fullscreen, what should i do?

Have you tried simply replacing the file?

Looks awesome, quick questions. any possible way to add sounds to the character running/ once it jumps and falls?

Also how difficult would it be to implement a different ad network?

We’ll be adding sample sound effects, AdMob/RevMob support as well as a coin system & coin store in an upcoming update. :)

Which ad network would you like us to add (iAd and RevMob have already been integrated, with AdMob coming soon)?

i tired to contact you via email! there is problem in the iPad version and please check ur email

So only on an iPad, the player doesn’t jump at the beginning of the game?

yes only on the ipad

We’re working on a new bug fix update, which we’re trying to get out to Code Canyon for review today or tomorrow.

Hello Didstopia,

Here is my app https://itunes.apple.com/us/app/running-man-saga-begins/id958475462?mt=8 I have released my app, and I have noticed that when (either) a call or notification takes the screens focus the game can continue to play (in the background) and make ridiculous hi scores. Any ideas for a quick work around for this.

Thanks DB

JP_AdsDisabled should be set to NO, if you want ads to work.

I have sorted the call/focus issue, added hit wall to the pause overlay, instant death!

But still have issue with the ads appearing after the IAP, thanks for looking into it

We’re submitting a fix today that should fix both of these issues!

i am thinking about buying your source code, do you already know when approximately the new update will be released?

looking forward to it.

all the best.

All updates have been released already. :)

great to hear that! i will make final decision in the next days…

Great!

App Review has rejected this app. Missing IAPs What to do? I email you before two days, check the email

You probably didn’t add the in-app purchases in iTunes Connect with the same identifier as in the config file.

Reference Name: JP_RemoveAds Product ID: RemoveAds Type: Non-Consumable

Is it ok like this ?

You need to specify the same Product ID in the config file and in iTunes Connect. The reference name doesn’t matter in this case.

Any ideas on my ads returning after iap? Even if you can point to me to a tutorial or something!! Thanks Didstopia

I had a look at the update, which changes did you make? IAP Buddy?

JPGameViewController.m and JPGameScene.m have been changed. They include fixes to the way ads are displayed (ViewController) and how game pausing is handled (GameScene).

Excellent, it works fine now

by
by
by
by
by
by