damjancd's Recent Forum Activity

  • I know Cocoon is usually disliked by Scirra folk, and that's their right, but I tested the new Cordova WKWebview enabled through Phonegap, and Cocoon.IO completely and utterly won the FPS battle. Phonegap couldn't hold it above 30FPS on low battery mode on iphone6 and Cocoon ran a smooth 60+fps on the same project.

    What are the benefits here? Where is the superduper almost native like performance with WKWebview+Phonegap? What am I missing?

    I'd really prefer to use phonegap because their renderer is much better than Canvas+ on my iPhone (which I use with webgl off) and also not paying 500USD for removal of logo is a nice thing to happen to a person, but FPS is dreadful.

    Am I missing something?

    What is your experience?

  • Framerate is half of what it is on Cocoon.io Framerate is 30fps on Phonegap with Wkwebview and 60+ FPS on Cocoon.IO. Damn it.

    OK another EDIT: 30 FPS seems to be clamped or something. I set it up for low battery mode and it gave me approximately the same FPS when with no low batt in Phonegap. I don't know why this is so. The rendering engine is BEAUTIFUL! we have almost no banding on gradients and it's just delicious. But the game runs on 30FPS for some reason. I'm obviously new to Phonegap.

  • Hi there,

    Just found out that Phonegap doesn't tolerate a lot of sounds well (or their size is important, IDK)

    I fixed the startup crash by disabling "Preloading of sounds" for the whole project. I think playing too many sounds at once also crashes it still. Will research my hard limit on my iPhone 6

    I'm using Phonegap with the new Wkwebview option, and it seems that it's running flawlessly. It might even be faster than Cocoon.IO. If it doesn't turn the phone into a hot brick after 15 min gameplay, then AWESOME!!!

    Just be careful with sounds

  • blackhornet Thanks man <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> a .capx and everything. That should cure my stupid brain.

    Here's another example where they transfer back and forth from parallax https://www.scirra.com/tutorials/1167/l ... er-example

    for anyone needing this. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Shadowblitz16 did you find a solution?

  • blackhornet wow cool. I thought they could be what I needed but I abandoned the search. Thank you!!

    Having some trouble applying this. How do I for an example move a sprite over my spaceship (my spaceship is not on a parallax, but the cube is on a 50,50 parallax) ?

  • Zed2100 I can't argue with that

    I'll try to find a solution and add it here because this forum is like a searchable massive manual

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Zed2100 I have a intuitive feeling that parallax is optimized better than moving something with code. I'm trying to keep the game really light because of mobile platform final destination.

  • Hi there,

    I'm building a game with 3 layers of parallaxed background objects. They generate on the fly, out of the viewscreen, but I can't seem to determine how to check if they are out of screen from the spaceship which is always in the middle of the screen.

    The parallax values get twisted each time a certain object is created in one of the paralax layers.

    if Parallax is say 50,50 does that mean X and Y is X/2 and Y/2 ? If I compensated for the rest like that, would that theoretically work?

    This is a space iphone game, and background moves and everything moves, while spaceship doesn't.

  • Ashley mostly UI/UX and the "gist" of it. Very very approachable user interface that you can program relatively complex stuff in a very intuitive way. The screen is very uncluttered and lets you focus on what you are doing, rather than programing numbers. Even veteran programmers can prototype and developer their ideas faster using similar approaches.

  • Ashley many apologies. The title of the video was misleading. This is the correct Bret Victor (He worked on Swift a bit) video where you can see the programing environment and how approachable it is. Jump to 7:00m to get the first glance. I'm still up for sending some BTC

    https://vimeo.com/64895205

  • I'm not certain what is considered low RAM usage, for now I have 27mb of RAM maximum used.

damjancd's avatar

damjancd

Early Adopter

Member since 13 May, 2013

None one is following damjancd yet!

Connect with damjancd

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies