abhishekgametion's Forum Posts

  • 8 posts
  • hello, I want to monetize my game with "in game" ads. I cant use Admob or so because the ads should work in desktop browsers also...

    I found IMA sdk of Adsense which supports HTML5.

    But i dont know how to make this thing work? There is no plugin available for this.

    So, do i need to make my own plugin for this???

    Or inspite of Adsense, is there any other good magnetization platform available which is easy to integrate in C2?

  • Here it is fixed in the way you started: drive.google.com/file/d/0BwT_0lczDpc9Vndva1ktMlgtUnM/view

    But just FYI, it is not the best approach for a flappy bird. You should use platform behaviour for the bird instead of physics (physics are much more CPU consuming, so use it only when you really need physics behaviour). Also background should move infinitely and player should remain in one position (X position I mean). So you just make an illusion that player is moving forward.

    There is an example template built-in in C2, you should check it out and investigate. That will give you a better picture.

    Thanx Thanx BackendFreak, You saved me, The issue has been solved....and i will surely look into behaviors more deeply...

  • dropbox.com/s/qxtctu8thzrpm11/test.capx

    This is the capx without any non-standard behaviors...

  • I am a new on construct2. I have attached my simple game. here the bird flies on the mouse click.

    But as the flying animation starts, the game lags too much. The fps is 55-60 all the time.

    the lag can be observed on the parallax background.

    I dont know whether its fault of my GPU or i have written a buggy game...

    So, kindly help me please.

    dropbox.com/s/2k3n56gr4yy7t1x/test.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thanx buddy, tiled background saved me !!!

  • I am a newbie here. what i want is to fill any sprite partially.

    I want to show timer strip [ suppose a loading bar ] which keeps reducing as time goes on and gets filled as a player gets a powerup.

    I have used unity where i could have used fill property of an image but is there any way to do this same with sprite or tiled background???

    If I am wrong and filling is not the proper way to do such thing, then kindly tell me any possible way in C2.

  • sorry for so late,

    thanks R0J0hound.... Browser.execjs() worked for me

  • My project has stucked on a point where i am using Json.

    The JSON response from my PHP webservice is as follow :

    {"result":true , "data":"1"}

    but, the problem is i am unable to parse this Json into anything like dictionary or array because all of them take only TEXT or NUMBER. If i parse above JSON into dictionary then the value of result will contain 0 either it is true or false

    so, is there any plugin or any other way to handle such booleans from JSON into C2?

  • 8 posts