hellwalker's Forum Posts

  • You need to make sure you enable 'Social' for Game Center to work.

    Thanks! Worked <img src="smileys/smiley10.gif" border="0" align="middle" />

  • hello,

    I have trouble making new gamecenter addon to cocoonjs plugin work.

    Construct V.r132

    This is test project I made.

    dl.dropboxusercontent.com/u/1248743/gamecentertest.capx

    basically buttons to request Gamecenter login and set text if gamecenter is avalaible.

    heres what I did.

    1. Export to CocoonJS

    2. Compile in Cocoon Cloud services, I did not enable any plugins in extensions list should I have done so? I have premium account but I did not see anything specific to Gamecenter.

    <img src="http://i.imgur.com/mcgCtFe.jpg" border="0" />

    3. download Xcodeproject on mac

    4. Open Project in Xcode, hit big Play button

    It created application on my Ipad but when I open it, none of the gamecenter specific features work.

    am I doing something wrong or is there a bug?

    Please help, this is the last step left for me to release first game on IOS <img src="smileys/smiley5.gif" border="0" align="middle" />

    Thanks in advance

    -Hellwalker

  • I tried empty scene with no events at all and platformer behavior on 64x128 sprite with collision set to bounding box. if i remember correctly FPS was 30~40 for 7 characters on screen.

    When i disabled solid in any of tests I got max 3~4 fps boost.

    there was something wrong with my events, as it was taking away around 20 FPS, but platformer was taking extra 30.

    I was on a deadline and decided to go with simpler solution, but I'm curious to nail down the problem. it could be lot of things, c2, cocoon compiling, cocoon launcher, and most likely me :D

  • its very handy, as it can detect walls, ground. Has Animation Triggers and so on.

    But yeah, I moved on to manually creating movement with set x and dt.

    Its interesting though on PC I get perfect framerate and on several devices I have available, FPS reduction was same on each of them, when Ipad 3 is supposed to be much more powerful then android phone I had available.

  • Ok, yep having many Platformer Behavior Objects seems to drastically lower Framerate. bellow 30 fps

    I have 7 Objects and basically this is only code attached to them.

    <img src="http://i.imgur.com/eCbEUqH.png" border="0" />

    Zombies have Platformer and Solid on Them.

    Tested Platforms, Ipad 3 and Amazon Kindle Fire, Exported via cocoonJS

  • Hm I got interesting Results.

    I guess my problem is closer to area of collision checks.

    (without zombies fps is solid 60)

    <img src="http://i.imgur.com/Njh1p5d.jpg" border="0" />

  • 4. I'm using both solid and platform on enemies, could that cause problems?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hello,

    I started new project for mobiles, its simple sidescroller shooter.

    and I'm getting very slow fps with enemies, I know its my fault because I managed to run other games with solid 60FPS with C2.

    before I go to deep into debuging events, I wanted to ask for general advice, if I'm taking wrong approach.

    Here is what I have

    1. I have enemies with Platformer Controller attached, they have 2 animations with in total probably 36 sprites size of 64x128.

    Should I avoid using platformer behavior for enemies?

    2. they consist of several parts, and have container, is that OK?

    3. They are placed statically on map, should I spawn them on demand? (e.i when player is near) I don't know how construct loads them.

    Cheers

    -Hellwalker

  • Oh it was added in new version of construct, Yay!

    now i'll need to figure out apple side of things

  • Anyone ?                                        ;/

  • Thanks for the reply

    In cocoonJS objects (cocoonJS ads object?) I only see options for ADS and InApp Purchases. no options for Gamecenter or other extentions.

    For example gamecenter, how does Construct communicate which variable and when should cocoonJS try to submit on gamecenter?

  • Hello,

    This might be very noobish question, but I'm new to Mobile side of things. I got premium account on cocoon compiler, and I was wondering where does the integration of some of the extentions like multiplayer or facebook for example happen with construct 2?

    For example I click button in Construct 2 and this should generate command for cocoonJS to upload scores to Gamecenter, how does this happen?

    should I add cocoonJS additional javascript file as plugins to construct and this will add functionality, or should I somehow capture and edit javascript generated by cocoonJS exporter and custom Inject these things in project?

    if anyone has experience with this, even general overview would be of great help, I don't know from where to start tackling this.

    Cheers

    -hellwalker

  • I needed to use SpeedAT not SpeedID and it worked

  • and as well as previewing page on ipad, swipe touch speed returns 0 ;/

  • <img src="http://i.imgur.com/HEi8QPa.png" border="0" />

    I made this and it works in browser with mouse

    but with cocoonJS app preview I get no result, speed returns as 0 always ;/