Cipriux's Forum Posts

  • AndreasR is Facebook integration with CocoonJS possible? (post to wall a score/share a link) I am willing to pay for a working tutorial if that is possible

  • You can try changing the master volume or by tag. Instead of using dB I use this formula to put a volume from 0 to 100

    33*log10(X/100)[/code:18tsmep8] for X from 0 to 100, or [code:18tsmep8]33*log10(X)[/code:18tsmep8] for X from 0 to 1.
    For toggle try this:
    [img="http://dl.dropboxusercontent.com/u/139926126/Forums/scirra/toggleSound.PNG"]
  • From my experience, "all preloads complete" condition is not working as it should. I made a loader layout with the contition that when "All preloads complete = true" -> wait 3 sec go to next layout. On my next layout I have a background music that should play...but instead It has a delay of 5-10 sec (The file size is 1.5 MB). From what Chrome dev tools is showing on "Network" analyzer, background music and all other sounds are still being downloaded while "All preloads complete" is set to true. That is not right. Sometimes I think of C2 as a quantum apparatus, behaving just like a random device. But Ashley always say..."This is by design"..cannot argue with that, can I?

  • rexrainbow Yes, I understand that..but it would be nice not to move the object every frame is I choose too, but every 2nd or 3rd frame..I don't know how much improvement in performance will be especially for many objects on mobile

  • rexrainbow your MoveTo is awesome. Do you think you can put a property like FPS...so it can move the object with a 30 frame rate ? Before I found your plugin I was using the Sprite.X+distance every X seconds...So i had more control on tweaking the performance.

  • CocoonJS + MoPub = The worst combination possible. first of all is a gamble to get Ads working on CocoonJS and second: MoPub just removed 2 of my games saying something about child policy...I don't know. Not to mention I find MoPub website very confusing, designed for their team, not for normal human beings.

  • joshualowe I was struggling to move things on exact position until I found an amaizing plugin MoveTo https://www.scirra.com/forum/viewtopic.php?t=63156&start=0

    Now I used in all my games. It is just awsome. You can accelerate and decelerate

  • Is simple to move the tiles..but more complicated to make them move at the same time and double the values when colliding. I made a 2048 and I had to recode 2 times to get it right...I did not used physics or something like this since there are chances to miss some collisions on slower devices

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

    Made in C2 with 100 events and MoveTo plugin

  • BUMP

    I just finish a 2048 game clone and will like to also sale it as a template (Images not included):

    Features:

    -Optimized for mobile (low CPU usage for calculating tile interactions)

    -High Score

    -Working by swiping mouse/finger

    -keyboard control (arrow keys)

    (removed)

    If interested please PM or email at (removed)

  • I cannot believe I didn't find this plugin before. This is so powerful it should be an official plugin .

    Rexrainbow, you are awsome

  • jayderyu reading that wiki article remind me of the time I worked in UK....after 2 years never got the chance to pass the "Negotiation phase"

  • For the next layout, I usually name my levels like Level1 Level2 Level3

    And access them like this :

    Goto layout (by name) "Level" & varCurrentLevel+1 , where varCurrentLevel is obviously the level I am on now

    You can name them a bit more complex lets say each level has 2-3 screens:

    Level1screenA Level1screenB Level2screenA Level2screenB

    Goto Layout (by name) "Level" & varCurrentLevel & "screen" & varScreenName

    You can even make a 1 dimension array that has the name of each level and increment the array index

    Go to layout (by name) Array.At(varIndex)

    varIndex=varIndex+1

  • McKack Thanks alot. Will try it right now

    [EDIT] Yeeeeyy...It's working in preview also now with your plugin . Thanks again

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • sergyperov Ah..ok, Thanks

    Sometimes I feel that knowing javascript to make my own plugins is a good option:)