SteveKane's Recent Forum Activity

  • That seems to have worked. Thank you for your help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have done that but it's not working correctly as the sprite doesn't pin on to the pipe correctly, it pins in the centre of the pipes rather than on top and bottom. This is the bit i'm having trouble with, getting the sprites in the correct position when created.

  • Well the sprite i wanted to pin has been cloned so there's two of them, so it's not 2 sprites as you're thinking.

    I did acknowledge that i changed it from 2 sprites to 1 and that i had my reasons for doing so. I wasn't doing it for memory issues or anything like that, so even if i had two sprites to pin on to one, it's not a big of a deal as your making it.

    Like everyone, we all need help on occasions, so it's helpful to see a thinly veiled insult towards what i'm trying to do from an experienced member of such a helpful community.

  • I'm creating a game similar to flappy bird and i've changed the way the pipes are created (it's one sprite rather than 2) as i wanted to try something different with the pipes. Thing is that now, there is no gap for the bird to go through as the gap counts as part of the pipe sprite when the bird collides into it.

    My thinking was to have another sprite (a 10x10 box shaped to the same size as the pipes for example) that would pin onto the pipe areas and if he bird collides with that box, then its game over and that way the gap will be there for the bird to go through.

    Problem is that i can't get the black box to pin onto the pipes, so i can't get it to work. The pin object doesn't seem to work on an created object.

    How do i get my box to pin on to the pipe at the same size, essentally overlapping the pipe with the black box ?

    I've attached a capx of the flappy bird clone where i've changed the pipes and added the black box.

    dropbox.com/s/vtjg7we16l5a1pq/flapping%20bird%20example.capx

    Any help would be appriciated, thanks.

  • I've got a small issue with my Admob ads, where the ads won't show up on the first layout until i've gone to another layout, if that makes sense.

    Basically, i've got layouts consisting of Splash Screen, Menu, Game & Game Over.

    On my Splash Screen i have it set to Preload Banner Ads on start of layout.

    On my Menu, i have On preload complete, show banner ad at bottom of screen.

    I've disabled ads on game by hiding ads, but i have set it so both banner and interstitial ads preload.

    On Game Over, it'll show ads on preload complete.

    The ads don't show up on my Menu when i start the game, but if i play the game and get to the game over screen, the ads show up just fine. Then if i go to my Menu, the ads are there where i want it to be.

    So the issue i'm having is that the ads aren't showing up on the Menu when i first start my game.

    Has anyone else had this issue or know how to fix it?

    Thanks

  • LittleStain Thank you, your solution worked. Seems so simple

    TechnoBeaver Thanks for replying, appriciate it.

  • I've created a button that plays a sound when clicked, and it works fine but i wanted it so that the sound will only play once, even if the button has been clicked several times during the sound playing and the only when the current sound has finished can the sound play again.

    I've seen a few threads on here regarding audio playing once, and they've all been fixed by using the 'trigger once' condition, but this hasn't worked for me.

    Right now, if i continiously press the sound button, the sound will constantly play, which i understand it will do normally. I added a 'trigger once' condition hoping this would fix the issue, but it hasn't worked.

    I'm sure i'm missing something obvious but would appriciate help on this.

    dropbox.com/s/3hc55wysgapc0gr/example.capx

    Thanks

  • mrEkli

    Yes i am, i've even changed the script in my 'intelxdk.config.additions.xml' to the following as shown on the shatter-box website where i got the plugin from -

    <intelxdk:plugin intelxdk:name='https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game#45191b3570a2ae4dc9646685b65f4a7994ed9952' intelxdk:value='https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game#45191b3570a2ae4dc9646685b65f4a7994ed9952' >

    <intelxdk:param intelxdk:name='APP_ID' intelxdk:value='YOUR_GOOGLE_PLAY_GAME_APP_ID' />

    </intelxdk:plugin>

    I've replaced 'YOUR_GOOGLE_PLAY_GAME_APP_ID' with my Google Play Games ID, although i've left 'APP_ID' as it is.

  • Oh yes, sorry but i forgot to mention that i'm using Cranberry's Phonegap Google Play Games plugin too but its still not working for me.

  • condolent

    I think you have the same problem that i'm having, I've got issues with Google Play Games Services too. I can't get my game to login to Play Services after setting everything up so as a result my leaderboard etc won't open.

    I've setup Play Services on the developer console, setup the beta testing and added events to login to Play services on my game but nothing happens when i try to get it to login.

    I would like some help to get this sorted too as i don't know what the issue is.

  • The problem i've got is that my game is not logging in to Google Play Services, i can't check the leaderboard as it doesn't login.

    It seems simple enough to create an event to login, this is what i've got - 'Start of layout' - PhonegapGame - Login

    I've copied and pasted the following into my 'intelxdk.config.additions.xml' -

    <intelxdk:plugin intelxdk:name='https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game#45191b3570a2ae4dc9646685b65f4a7994ed9952' intelxdk:value='https://github.com/cranberrygame/com.cranberrygame.phonegap.plugin.game#45191b3570a2ae4dc9646685b65f4a7994ed9952' >

    <intelxdk:param intelxdk:name='APP_ID' intelxdk:value='YOUR_GOOGLE_PLAY_GAME_APP_ID' />

    </intelxdk:plugin>

    I've replaced 'YOUR_GOOGLE_PLAY_GAME_APP_ID' with my Google Play Games ID, although i've left 'APP_ID' as it is as there was no mention of changing this, should i insert my App ID here too?

    Also, i haven't checked anything in the Plugins section in Intel XDK, do i need to check anything?

    I've done whats been mention on this thread but i don't know why its not working for me.

  • For some reason, it's not working for me. I've followed the instuctions on here and have managed to get everything set up, but when i go to test the Google Play services, nothing happens. I've got it set up so that it logins at the start of the layout, but nothing happens and if i try to click on the leaderboard button, it does nothing.

    I've set up the Alpha and Beta testing on Google and have downloaded the Beta version of my game after publishing Google Play Games but am not getting anything. I know that it says that you can test Play services in Beta but has it worked for you in Beta? I don't want to publish the game until i'm sure that the Play services works first.

SteveKane's avatar

SteveKane

Member since 29 Apr, 2014

None one is following SteveKane yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies