Xavier's Recent Forum Activity

  • Did you try selling non exlusive licences to game portals? I'm wondering if that is still profitable.

    Also, do you do the art yourself or comissioned?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is multi device multiplayer possible to do with gamee? And how does it work, is it online, local...?

  • I think you haven't added the condition that checks the distance.

  • >

    > > Error 404

    > > https://dl.dropboxusercontent.com/u/191 ... index.html

    > >

    >

    > Yeah it was an old post and dropbox drop support for hosting. I've updated the links.

    >

    Am I going crazy in that I cannot find your Dropbox link anywhere in the thread? I would like to take a look at it.

    Use the itch.io link in the first post, dropbox doesn't work anymore for live publishing.

  • Error 404

    https://dl.dropboxusercontent.com/u/191 ... index.html

    Yeah it was an old post and dropbox drop support for hosting. I've updated the links.

  • Isn't node webkit what you want?

    https://www.scirra.com/tutorials/1276/e ... -with-nwjs

  • I've added a google drive link.

  • https://dl.dropboxusercontent.com/u/191 ... _test.capx

    https://drive.google.com/file/d/0B6abl_ ... =drive_web

    If you preview it should open without WebGL on Internet Explorer, you'll notice a few objects with bullet behavior moving very slowly but smoothly to the left.

    Change renderer to WebGL, now these sprites aren't moving smoothly anymore, it's like they are skipping pixels or avoiding subpixels.

    On Chrome it doesn't matter, it doesn't move smoothly with and without WebGL. Firefox works just like Internet Explorer.

    It feels like it's forcing Pixel rounding or something when I activate WebGL.

    I want to be able to have smooth movement of sprites even when they are moving very few pixels at a time.

    How can I achieve this with WebGL? Thanks.

  • rexrainbow Thank you, I've finally managed change the movement to LiteTween and it looks amazing, now there are more options to animate the board with the tween effects.

    Your plugins are very good.

    By the way I recommend to change the touch events with this simple change:

    Also reduce the "Swap" and "Undo Swap" wait to about 0.3.

    It's a lot more responsive now and it works both ways, by dragging and also by touching one by one.

  • rexrainbow

    Is there any way to add tween to GridMove behavior or to replace the GridMove behavior with LiteTween for the falling? Thanks.

  • alextro

    I've been able to test the .capx a little with my phones and I'd like to give you some suggestions on what I've found.

    Your code uses a lot of cpu, even if there is nothing going on.

    For example, when the game is waiting for a move and nothing is happening on screen, there is still a lot of cpu being used. In this state the game should have almost no cpu usage because there are no calculations to be made yet, but my phone is still at 10 fps when nothing is going on. The iPhone 5s has a better cpu so this is problably why it performs better, but still it shouldn't use that much cpu and your code should be optimized.

    An example using debug mode: on Level 1 the game is using around 40% cpu on my Intel 4460 core i5! That's a LOT, it needs to be optimized. Even a simple level like Level 2, it's using:

    30% cpu on my desktop i5

    40% on iPhone 5s

    80% on Xiaomi Mi3

    And for comparisons, the Bejeweled plugin by Rex found in the forum only uses 10% cpu on the Xiaomi Mi3.

    Another problem I've found is that if I create a square board, 6x6 for instance, nothing happens and I can't swap anything.

    It's a shame because I really like the final result and how easy it is to create your own shapes, but I think it need a lot of optimization and a cleaner code.

    To start I recommend that you delete all the disabled events and unused layouts and make the events more presentable. Separate different parts of the code with groups or different layouts, this way it's easier to debug and it's more organized.

  • alextro

    Yes now it works thank you. However the game is very very slow on one of the phones I have and I don't know why, I think it runs at around 5 fps, I tried all the browsers. It's a xiaomi mi3.

    On the iphone 5s it works fine, and these phones should have similar performance. :/

Xavier's avatar

Xavier

Member since 16 Dec, 2011

Twitter
Xavier has 7 followers

Trophy Case

  • 12-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies