Cipriux's Recent Forum Activity

  • 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...

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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?

Cipriux's avatar

Cipriux

Member since 27 Feb, 2013

Twitter
Cipriux has 7 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies