twg's Recent Forum Activity

  • Webstorage, you can save any variable to it, scores, levels, unlocks etc.

  • Been playing with rot.js in Phaser a lot, nice to see it ported to C2, nice work!

  • Does this plugin have any events to check if post has been successful to Twitter and Facebook?

  • I'm using CocoonJS and looking through the docs, it says you can make graph API calls, but in the newest C2 plugin I see no way to reference this. I'm wanting to be able to see if a FB/Twitter post has been posted, I know CJS doesn't support twitter so I will have to figure another way around for that, but for FB you would normally just make a call to the graph API and check to see if a post id exists or is returned, in the CJS plugin docs it says you can make graph API calls, but it doesn't seem you can access it in the C2 plugin? Also it supports showFriendPicker which doesn't seem to be in the C2 plugin either. I saw there was a tutorial on cloning the default C2 FB plugin and adding invite friend support, but I'm not sure how this will work with CJS? Anyone got any idea on how to implement these features using CocoonJS?

    Note: I switched back to CocoonJS because of the Chrome 38 vysnc issues with movement which affects Crosswalk, and problems with no FB support for iOS with Ejecta, and Phonegap exports run like crap on iOS7 for my game.

    Any help would be appreciated thanks.

  • IntelRobert is it possible to use different versions of Chrome in crosswalk such as using a version 40 canary build?

  • Testing on Chrome canary 40, the jitter and stuttering is almost completely gone from movement for me. Is there a way to use this build of Chrome right now in Crosswalk or do we have to wait for the stable release and Intel add it to Crosswalk?

  • Dalal The jerky movement is pretty consistent throughout the game, seems to come at regular intervals, whether on a game with 50+ layouts and tons of sprites or a blank canvas with one sprite. Sometimes the movement is smooth then seconds later the jerky movement will be present. Your simulation is about what I am experiencing, but at times much more extreme. I tried testing a blank canvas with one sprite moving to 4 different points with a toggle for setting 4 different speeds(200/250/300/400p/s) on C2, Phaser and Crafty, I got the same results in Chrome, FF, IE and when compiling for device with Crosswalk, jerky inconsistent movement on all of them while fps remained 60+.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I just recently am having these issues with jerky movement in a game, I never noticed them before compiling and testing in CJS, the movement was always smooth and after switching to Crosswalk to support some 3rd party SDKs, the jerkiness is pretty extreme on layout starts and random times throughout play. It's really weird, game is running at 60fps but the jerkiness of the player movement is still there, which is actually game breaking for my game cause it causes you to die. I can make a blank layout with a tiny sprite and movement it with bullet, moveTo or just with the move forward and i get this crazy jerky movement, I've noticed the same thing with other engines such as Phaser, jerky movement just tweening a sprite from point to point. Looks like I'm going to have to switch to a non HTML5 engine, which sucks cause I really like C2.

  • Does the regular moveTo event use delta time already? I see there is a deltaXY option but I can't get to to work at all for me.

  • I recently switched from CJS to Crosswalk and having issues with performance. In CJS I was getting constant 60fps+ across all Android devices, even slower devices with dual core and 512mb ram. After switching to Crosswalk I started getting 20FPS and sometimes lower even on quad core devices with 2gb ram. I looked into the posts on performance and optimization and noticed there were a lot things I overlooked before while building with CJS. I had a lot of things like big areas of transparency, objects being created that were not placed somewhere in the layout, every tick events that could be change to every 1 second among other things. I fixed all the issues I had that have been addressed in the posts about performance and optimization and tried a few other things like changed fullscreen scaling to low, down scaling to low, and performance is still lacking. The only particles I have are when the player dies, no loops that run during gameplay, just a player moving on a set path with the moveto plugin at between 300-400px/s, dodging static enemies. I even tried turning off all collisions and only turning them on for the player when player is x from enemy, which actually causes lag spikes right before you get to an enemy and no increase in performance. Not sure why even with all the performance killers I had in the game before I could get 60fps in CJS but Crosswalk performance is lagging. Anybody have any tips for getting more performance in Crosswalk?

  • So this plugin only works for Phonegap, no support for Crosswalk? Also can you set up global leaderboards with this, not just user hi score and friends high score?

  • Hmm, that is weird. Are you running C2 as Admin?

    Yep.

twg's avatar

twg

Member since 14 Feb, 2014

None one is following twg yet!

Connect with twg

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies