Cipriux's Forum Posts

  • spongehammer never encounter this problem. Try changing the button sound with another .WAV file. It is possible that the sound has some low frequency and the sound card(or audio engine) tries to auto adjust the level?

  • Paradox good idea with the "search bookmarks". The way I view it , something like "save search result to bookmark" will be very useful.

  • I use search box a lot and I am not the only one. Sometimes I have more nested events and even more actions on the same event and filtering when using the search option is not enough. When searching for a specific variable in a long expression is taking a long time.

    We need a highlight option for the searched term. Something similar to breakpoint highlight in the worst case. My personal choice is to highlight the searched word.

    Another problem for me with the filtering of events is that it breaks the visual fluidity of the code. For most of the times I bookmark the specific events and then escape the search filtering just to see the whole code.

    Any support on that?

  • Any romanian around? I started to translate one of the tutorials weeks ago, but from lack of time I put it aside for now.

    Need some motivation I guess :P

  • DavidA13 thanks for the suggestions. I will dig deeper in to that. Never used Ajax, it's a mystery to me.

  • I'm about to finish my first Android (export to CocoonJS)game and want to have an overall statistics about the game like:

    • most played level
    • average score and time spent on each level
    • average time spent on the game

    I want all those variables sent from each user to a server and my wish is to have only one file on the server side for easy viewing (xml, txt)

    Can I build a serverside code in c2 ?

    Does DropBox support serverside execution?

    Can I use DropBox to receive data from user?

    As a last resort it can be done with individual files from each user, but the above questions still remains.

    Any ideas how to do that?

    [EDIT:] Google docs is any good?

  • ome6a1717 maybe use this behaviour to slow down the movement at the end ease transition

  • problem, actualy your solution is a great one

    ome6a1717   I made a test using ramones solution...and works very well

    It works like this:

    1.Before dashing calculate the target position target_x

    2. if distance from player to target position is greater than dt*speed, than its ok to move using dt*speed

    3. else just move the player to target position

    If want more explanations, please say so..sorry for my bad english

    preview

    capx

    [EDIT]: use < > keys to "dash", I think the same concept works for dashing at an angle and up, but I not sure.

    The red lines represent the player position every tick...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ramones just to point out....dt is always lower than 0.1 sec (minimum forced FPS is 10)

    for 60 FPS dt is sec

    for 20 FPS dt is sec

  • I had some problems with not using the else condition in my game. I tried checking if the condition is NOT true but did not get the expected results as with ELSE.

    I was using timer and sine behavior to make a sequence of characters behave like a wave, but after 2-3 minutes of waving , some randomness begin to appear. I did not investigate if the problem was the timer or the sine .

  • Never used, so I don't know.

  • ome6a1717

    things to try:

    If subtracting 1 from instance variable every 0.1 seconds , to make sure it does not go below 0 (not to trigger "if variable=0") try using clamp Ex: clamp(var-1, 0 ,max), or use "if variable=0"

    instead of dashing depending on time (0.35 sec) try dashing depending on distance.

    For speed of 1500 pix/sec and 0.35 time the distance will be 1500*0.35= 525 px.

    So: before dashing, save player position x1,x2, and while dashing check the moved distance , if is above 525 make it stop and return to 525 (imagine a circle with a radius of 525 px and the player has to go back inside )

    If the movement is depending on time, than is depending on dt which for 20fps and a speed of 1500 px/sec the movement error will be 75 px. 1/20*1500=75

    Your project is overwhelming for me to try modifying myself.

    In programming math is your best friend.

    By the way, nice game.

  • ome6a1717 Is this event happening every x second, or everytick?

    <img src="https://dl.dropboxusercontent.com/u/28104568/DashP3.PNG" border="0" />

    If is everytick is the correct loop.

    I am afraid cannot help any further

  • Must be a cookie expiring to fast, 1-2 minutes or so

  • I receive this error when try to answer a post.

    <img src="https://dl.dropboxusercontent.com/u/139926126/Forums/scirra/34564564564.PNG" border="0" />

    Cannot go back to what I was writing, and most of the time get too frustated and give up .

    What is the problem with the site?