Chadori's Recent Forum Activity

  • Well we discussed it a little while ago in this topic : viewtopic.php?f=146&t=180450

    turns out while C2 current formula (which will change and will solve the issue) isn't as accurate (it gives a slitghly higher and longer jump), you can use this viewtopic.php?f=146&t=128434&p=905081#p905081 to find a good ballpark value (later it will be almost perfect)

    I saw that topic. I thought it was referring to the Platform Behavior's Frame-rate Independence. I didn't know it was more than that.

    It's okay it doesn't matter to me even if the accuracy is off by +-25.

    > JumpStrength = T*Gravity
    JumpStrength = sqrt(2*H*Gravity)
    JumpStregth = 2*H/T
    
    Gravity = JumpStrength/T
    Gravity = (JumpStrength^2)/(2*H)
    Gravity = 2*H/(T^2)
    
    T = JumpStrength/Gravity
    T = 2*H/JumpStrength
    T = sqrt(2*H/Gravity)
    
    H = (JumpStrength^2)/(2*Gravity)
    H = JumpStregth*T/2
    H = Gravity*(T^2)/2
    [/code:2w7ew3ir]
    
    

    Wow these formulas were the ones I was looking for. Thank you very much! You were a big help.

  • SnowBeat

    The universal (based on commonly used) HD Resolution has an aspect ratio of 16:9 . With that resolution, many devices will fit on your game.

    I'm not sure what aspect ratio that game you linked here but I know it has an HD resolution. And the nearest aspect ratio I can think of for that video... is 16:9.

    As I said, that is a common aspect ratio for a landscape game/movie.

    Now for the resolution size. The HD resolution size for a 16:9 aspect ratio is (1280 x 720).

    So I hope you found what you need there.

  • razinar - I made a tutorial about this: https://www.scirra.com/tutorials/5342/c ... sition-fix

    I reported this to the Intel Team & they suggested this fix.

  • Hello, Does anyone know how to get the predicted Y-Axis gain from the Platform Behavior Jump?

    I'll make it a math problem to make it tidy.

    Given (On Jump):

    InitalY = 0

    FinalY = ?

    MaxSpeed = 660

    Acceleration = 1500

    Deceleration = 1500

    Jump Strength = 650

    Gravity = 1500

    Max Fall Speed = 1000

    Jump Sustain = 0

    I'm trying to find the Final Y-Axis. So guys can you give me the formula for this?

    Another thing, do both gravity and deceleration affect jump? or only gravity?

    Thanks.

    I'll just insert some great people here for faster result:

    glerikud

    R0J0hound

    zenox98

    Kyatric

    SoldjahBoy

    saiyadjin

    newt

    rexrainbow

  • lucid - And about the Skins(Experimental) does that feature affect largely on performance? I am making a game for mobile & I want to make sure that it doesn't use up a lot of memory & cpu like the physics plugin. Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ........ So i'll just close this now .........

  • R0J0hound - Well, I sure messed up on my game... But I think I found a way to remake it using the timer behavior as you said, though it will be messy. I easily misunderstood it's use, because of the word "wait".

    Thanks.

  • Guys, do you agree with the action "Wait" in it's current function?

    I realized that the "Wait" action still runs even when it's condition is already invalid or no longer meet.

    I understand that it works like a trigger that it will finish it's tasks no matter what but

    still, running an action that is already over will make a lot of unexpected events to happen in some cases.

    (for example)

    *Shoot variable == 1

    -->Wait(3.0 seconds)

    --> Shoot()

    //what if In the next line I change the Shoot variable to 2?

    -->Shoot = 2

    What will happen here is that the gun will still shoot... regardless...

    And the event ended 2.99 seconds ago.

    This is only a suggestion so calm down guys.

    Feel free to tell any downfalls of my suggestion if I missed something... Remember I'm not an experienced programmer...

    Ashley is this feature intended from the start?

  • lucid

    Hello again lucid . I think I have found some bugs. But I got a high feeling that it really is a bug.

    I sent you an email with the .capx file, Spriter File(scml & scon) & Preview image but I only managed to reproduce Bug1 on a .capx file but not Bug2.

    But I think if you fix Bug1, it might also fix Bug2.

    Thanks a lot.

    Below is the content of the note I sent you on the email.

    [quote:1pm8v9dn]

    Bug 1 (with .capx)

    I'm not sure if it is a bug but I just found out that the Scml object doesn't mirror when

    the animation finished playing a certain animation or the animation is not playing anything.

    Since it is a non-repeating animation. It doesn't mirror afterwards...

    I have only found out about Bug 1 because of Bug 2.

    --------------------------------------------------------------------------------------------

    Bug 2 - Also connected to Bug 1 (without .capx) (Sorry, I can't reproduce it yet with a sample .capx.)

    Lucid, I found this problem when I found out that my spriter object on C2 was playing a single trigger or non-repeating

    animation and it has a code that makes it look at the player. Mirrored if the player is at the left side &

    Non-Mirrored if the player is at the right side.

    The Spriter Object has finished playing the single trigger animation.

    But the player moved to another side and this somehow triggered a mirror state of the animation.

    As I stated at the Bug 1, the Mirror event doesn't work when a single trigger animation has finished playing it's animation.

    But in my game, it somehow forced it to mirror and I am still finding the reason for it so that I can give you more details.

    I have a picture of a mirror fail. It is named Bug2 Preview (comment).png

    (On the email I sent you)

    Thanks.

  • >

    > > Hi Falterdan, because of the way the plugin system works, and the plugin using actual c2 objects, there was always a tradeoff of either the entire character being one tick behind, or things set to a Spriter object's position. I'll explain why below, if you're interested, but as far as an actual solution, there's an action under the 'Attach C2 Object' category called 'Set C2 Object to Spriter object'.

    > >

    >

    > Nice one. I experience the lag as well. Good thing you've posted this.

    >

    > Edit:

    >

    > lucid - How does this action work, the Set C2 Object to Spriter Object... I used it as a replacement for set position to (x,y) since the set spriter to position(spriteX, spriteY) causes a short lag, but I don't know what does this action do, it didn't go to the position(x,y) of my sprite black box, I think I misunderstood the use?

    >

    It's meant to use every tick, like you're setting the position that one tick, rather than a permanent attachment. Is that already what you're doing?

    I am sorry, but I don't get it... I don't know what the function is for...

    I tried this..

    (Player1_SpriterObject) as the SCML Object.

    (Player1) as the BlackBox with behaviors.

    (As a substitute to -> Set Player1_SpriterObject to (Player1.X, Player1.Y) )

    *Every tick

    --->(Player1_SpriterObject) -> Set C2 object to Spriter Object (Player1, Position only, "")

    and

    *Every tick

    --->(Player1_SpriterObject) -> Set C2 object to Spriter Object to (Player1, Position only, "Player1_SpriterObject")

    and

    (As a feature like the pin object. I used it as a once pin trigger)

    *On created

    --->Set (Player1_SpriterObject) to (Player1.X, Player1.Y)

    --->(Player1_SpriterObject) -> Set C2 object to Spriter Object to (Player1, Position only, "Player1_SpriterObject")

    ------------------------------------------------------------------------------------------------------------

    Is it like the Set Spriter Object Position to (PlayerBlackBox_PositionX, PlayerBlackBox_PositionY) of the Player BlackBox?

    I don't understand the action's use. lucid , can you give me an example that uses the action "Set C2 Object to Spriter Object"?

    Even if it is on a text format like the one I made above. Thanks.

  • marshalldesigns - Don't think of this in a wrong way but Is it against copyright to make games licensed to a company without permissions. Or did I miss anything?

    Edit:

    Ohh, sorry. I didn't see your previous discussion. It seems that you already have permission.

    Good Luck. It's a nice game.

  • I can recommend you this as a backup solution.... Best working method for me.

    I always make a backup manually aside from the Autosave feature of Construct 2.

    Everyday / Everytime I make an important change in my project, I always save a copy of the .capx before I make any changes.

    This is a very good backup method since if you make a big mistake that will destroy your game and so hard to restore, then

    you just revert to your backup .capx.

    I always make folder for each Backup. And I name it like this: "GAMEINITAL_Backup1", "GAMEINITAL_Backup2".

    And I always make a Note inside the folder to remind me the changes I made and sometimes I also include the date.

    And Monthly I copy those backups with the current .capx to an external Harddrive.

    I just don't trust Onedrive / Cloud, so I prefer external harddrives.

    With this backup method, you'll surely not lose your work... Or not as bad as that.

    Just keep your Backup External Harddrive Secure.

Chadori's avatar

Chadori

Member since 10 Oct, 2014

Twitter
Chadori has 49 followers

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • RTFM Read the fabulous manual
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

24/44
How to earn trophies