HZGaming's Forum Posts

  • I first tried using phonegap to export my iOS game but the xml file was messed up and wouldn't work so I fixed and edited it but I couldn't reupload it for some reason so I switched over to Intel XDK. I am debugging my game on my iPhone and it works seamlessly except for the IAP, iAds, and leaderboards. Whenever I click on the in app purchase buttons or show leaderboards buttons nothing happens. Also no ads are displayed. I assume this is normal but could anyone tell me how I can test these actions? Thanks.

  • I am almost certain you have to be older than 18 but I was just checking. Anyone know?

  • How do I create leaderboards with the game center object for Cordova? I can't find a good tutorial or forum post that shows how to implement iOS features with Cordova. I want to use the iAd object, gamecenter object, and the IAP object but don't know where to start.

  • So I'm using IAPs and one of the options I want to create is to remove ads for $0.99. I'm new to exporting to IOS so sorry if this question is really basic. How would I do this with cordova? Maybe use a global variable and localstorage?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry I know this question is pretty simple but I can't figure it out. I want my game character to automatically aim and fire a bullet at enemies. What would I set the angle of motion to? Also, the enemy is not moving.

  • So I want to make a function in my game where when it is night time in real life the background will change to a different night time background and viceversa for daytime. How would I test for night/day time?

  • Pretty self explanatory title but to clarify, I want to build a store menu where I can use touch and drag and scroll through a list of items. How would I do this?

  • I think this is what you're looking for: https://www.scirra.com/tutorials/398/to ... ers/page-1

    To make a dual joystick, just use this tutorial to create two sticks, one for the position and one for the angle. It's a bit hard to follow at first but there's a .capx file attached so it should be easier. Cheers!

  • So basically, I making a store for my game and instead of switching layouts to list all the things I'm "selling", I want to be able to have the player scroll up and down the layout and look at everything on one layout. What's the best way to do this? I've tested a few things like

    when in touch --> set scrollObject.Y to touch.Y

    However, the problem is there is no command/event that detects if an object is in motion otherwise I would have moved the other objects on the layout in sync with the scrollObject. Is there another way to do this?

  • For my game, I am trying to spawn an object at random intervals of 2. How would I create random multiples of 2? I know that random(10) produces any number from 1 to 10 but I want it to produce random numbers from 2, 4, 6, 8, 10 only, nothing in-between. Any suggestions appreciated.

  • How do I optimize gameplay for iPhone 5 and up? I know for Windows 8 apps that the ideal screen size/dimensions is 1366 x 768 so what are the right dimensions for iPhones so that the picture isn't distorted?

  • I think you are right. I've been using the Play at object option and always causes the game to lag on the first play regardless of browser or device. I guess it's just a bug :/

  • jojoe it's been happening to me in internet explorer. I'll try chrome, though.

  • Hello,

    I'm making a top down shooter game and when the player reloads, a reload sound effect is played. This sound always lags my game so badly that the entire game freezes for maybe 5-10 seconds before the sound is played. This only happens once though in the game. For example, the first time the player reloads, it will take a long time but the second time, the sound is played normally. If I export my game, will this problem still exist?

  • C-7 thanks! I like the idea of automatically shooting and already started implementing an automatic aiming and firing mechanism