gleegum's Forum Posts

  • I'm having this same issue too, and as says, it's the touch object.

    Did you guys found any workaround?

    I have 2 games rejected because of this.

  • Hi,

    I have 2 rejected games on the app store because they have a geolocation alert, although my games don't use it.

    I didn't choose the geolocation service when exporting from construct 2 with the cordova plug.in, so I guess that phonegap is adding this permission alert.

    Any way to get rid of the geolocation alert?

    This is my config.xml file:

    <?xml version="1.0" encoding="UTF-8"?>
    <widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.xxxx.xxxxx" version="1.0">
    
    	<name>xxxxx</name>
    	<description>xxxxx</description>
    	<author href="xxxxx" email="xxxx">xxxx</author>
    
    	<icon src="icon.png" gap:platform="ios" width="57" height="57" />
    	<icon src="icon-128.png" width="128" height="128" />
    	<icon src="icon-256.png" width="256" height="256" gap:role="default" />
    	<icon src="icon-57.png" gap:platform="ios" width="57" height="57" />
    	<icon src="icon-120.png" gap:platform="ios" width="120" height="120" />
    	<icon src="icon-152.png" gap:platform="ios" width="152" height="152" />
    	<icon src="icon-114.png" gap:platform="ios" width="114" height="114" />
    	<icon src="icon-76.png" gap:platform="ios" width="76" height="76" />
    
    	<preference name="permissions" value="none"/>
    	<preference name="android-targetSdkVersion" value="21" />
    
    	<feature name="http://api.phonegap.com/1.0/network"/>
    
    	<preference name="orientation" value="landscape" />
    	<preference name="fullscreen" value="true" />
    	<gap:config-file platform="ios" parent="UIStatusBarHidden"><true/></gap:config-file>
    	<gap:config-file platform="ios" parent="UIViewControllerBasedStatusBarAppearance"><false/></gap:config-file>
    
    	<preference name="deployment-target" value="8.0" />
    	<preference name="android-minSdkVersion" value="14" />
    	<preference name="target-device" value="universal" />
    
    	<!-- Optional splash screen image, e.g.: -->
    	<!-- <gap:splash src="splash.png" width="1024" height="768" /> -->
    
    </widget>[/code:37rshztc]
  • Hi,

    I'm testing a game made with C2 + Phonegap Build on an iPhone.

    I've noticed that when you close the game, let pass some time and open it again, the game doesn't reload, just stays at the same screen that you were playing.

    I would like it to reload the game so it shows you the menu screen and stuff.

    Any ideas?

    Thanks!

  • Hi,

    not sure if this is the right section to ask this.

    I'm trying to implement ads in a iOS game I'm building in C2. I'm using Phonegap Build.

    Steps I do:

    1) Create simple test game in C2

    2) Insert new object > AdMobAds into the project

    3) Add the Banner and Interstitial IDs (previously created in Admob website) into the Admob object properties inside C2.

    3) Create Events to preload and show ads (just banner for testing)

    4) Export with Cordova plugin.

    5) Open the config.xml file and insert this line into the code:

    <gap:plugin name="com.admob.plugin" version="3.0.0" source="plugins.cordova.io" />[/code:xj43z62d]
    6) Create a .zip file and upload to Phonegap Build.
    7) Build and install on my iPhone by scanning QR code.
    
    By following these steps I have no success.
    If I add the code into the config.xml file I just a black screen when testing on my iPhone.
    If I remove the code the app works but the ads don't show up.
    
    I've tried different things with no success.
    Any Ideas why isn't working?
    
    Thanks!
  • I haven't think of that option. Thanks!

  • Hi,

    I have this doubt.

    I'm making a forest with several layers, and in each layer the trees have different colors.

    So, is it better to have different sprites for the trees or to have just one sprite and change the color with an effect?

    I mean, which one is better for performance, memory, etc?

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • forget it, I solved it adding On X released > play sound.

    Thanks!!

  • Wow! thanks it works!

    Now I have another issue...

    I would like to play a sound, not looping when the last sound stops playing.

    I added an event but isn't working.

    Here's my events again:

  • Hi,

    I want to play a sound looping while X key is down.

    I want the sound to loop, but no the way is looping now. Right now it plays over itself, it doesn't wait to the sound to be finished to loop, so it plays awful.

    Here's my Events:

    I need the sound to loop and the animation to loop, so if I put a Play Once While True condition it doesn't work.

    Any ideas?

    Thanks

  • Thanks saiyadjin, I'l try that

  • Thanks for the ideas!

    I'll see what I can do

  • Hi,

    I would like to make a seamless transition between end of RUN animation and beginning of IDLE animation.

    I've already made the opposite (from IDLE > IDLE to RUN > RUN), but the other way around is more complex from what I'm thinking.

    I was thinking like if current frame from RUN is playing + then go to specific frame of TRANSITIONtoIDLE then IDLE.

    Something like that.

    Any help or .capx examples?

    Thanks!

  • Thanks for the help!! It works!

    I wanted to do exactly as the .capx from Magistross.

    Thanks!!

  • How do i change just one?

    I've tried but all objects changes.

    I've attached my events

  • Hi,

    I have several same type objects. I want to change the opacity of just one of them.

    I was thinking about the UID of the objects but I can't figure it out the expresion for it.

    Something like this:

    On SpriteX collision with SpriteY then Change Opacity of SpriteZ UID=10 to 100

    Possible?

    Thanks!