TheSynan's Forum Posts

  • I used Construct 3 (https://editor.construct.net/) but this is all the same in C2.

    Here the file: https://1drv.ms/u/s!Ap_-qxoGKbDcgRXrUA0f7gK9bizc

    (start on Layout 1)

    Edit: Direction, Stamina and BaseGravity are instance variables i created for the player.

    You can not find those if you have not created them.

    Oh ok, I'm using C2. I don't have some of those functions. I'll see if I can somehow fudge it.

  • > Hey TheSynan,

    >

    > you can do it like this. I added a stamina system which you can use if you want to.

    >

    >

    >

    Weird thing, I can't add another timer condition for "is not running" when I hit space. I have no option to add this condition at all

    Weird, in fact I can't find a few of your calls in my library at all. What version are you using? Is it possible to share the .CAPX?

  • Hey TheSynan,

    you can do it like this. I added a stamina system which you can use if you want to.

    Weird thing, I can't add another timer condition for "is not running" when I hit space. I have no option to add this condition at all

  • Hey TheSynan,

    you can do it like this. I added a stamina system which you can use if you want to.

    I'll try this right now!!

  • I'm thinking about using the built in double jump, but I want to be able to hit a specific key on the keyboard to dash in the current direction I'm currently moving. I want to be able to use this dash while jumping to get farther and I want it to ignore gravity for the very short duration it's active and I want to be able to use it on ground too.

    How the heck do I do this? It's been a while.

    Thank you!

  • Can anyone link me to a tutorial or file that shows how to do a good hover at the peak of a jump and allow for a jump/dash as the double jump in the direction you're moving?

    I can make a dash, and I can make it directional but I guess making a simple dash in the direction I'm already traveling is kinda outside my skill at the moment.

    I would also like to see about changing animation based on this as well, but I think I can save that for another day.

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would assume you would need to use the SDK and find an API that could be converted.

    Google search brings up some some interesting links: https://www.google.co.uk/search?q=webcam+motion+tracking+javascript+api&lr=&as_qdr=all&gbv=1&sei=K8pMWZf3EY-iwALzn5-gCg

    Well that's because you used the .co.uk google.. Much smarter results over there .

    Thank you though, I'll see what I can scare up.

  • Ok, i have edited the keyboard plugin and here comes a little tutorial:

    Wow! Thank you! This is very in depth. I will try this out later tonight and see what I come up with.

  • bump?

  • Is it possible to use the webcam to follow the motion of an object? Maybe attach a sprite to perceived motion so it could be used as a mouse,cursor maybe?

  • Is there a way to trigger a keystroke outside of the construct/browser window when an item is clicked or hovered over?

    Example: I click a sprite on the screen and it produces a keystroke outside of the browser as if I physically hit the key myself.

    Thank you.

  • How would I make it so my player object slides on ice at the same speed and in the same direction as it was moving when it hit the ice? I would also like to make it so they could jump and keep the same speed and direction while jumping on the ice they hit until they hit a non ice object.

    I imagine I could make this in to some sort of state but I'm not sure how.

    Thank you.

  • I'm trying to achieve a "grind" effect when a skateboarder or rollerblader slides along a rail or edge of something.

    I'm guessing that my player object would need to be overlapping the edge or rail and then hit an action button to start the effect. I'm having a hard time figuring out in my mind how I would set the players position back to meet up with the rail appropriately and maintain their original speed and direction though. I'd like it so they could go left or right on the rail, so the speed and direction they'd maintain would have to be whatever speed and direction they were already traveling at before they started the effect.

    Does this make sense? thoughts?

  • Can C2 be used to make a simple database program for tracking things?

    Say for instance, I want to track the issuance of books or something. I have one textbox for the name of the book and another for the name of the person who I gave it to. I would like to enter the info, click a button and add it to my list/database.

    After that, I would like to be able to view that list in it's entirety and or search by specific field.

    Sounds complicated, but I feel like it's possible.

    Thoughts?

  • I have always had trouble with this and was hoping someone can help me once and for all.

    I do a lot of weird projects that require a sprite to move forward and stop a specific amount of space. For some reason, it either keeps moving or does something crazy I didn't intend.

    Example:

    When clicked, move right 35 pixels and stop.

    I tried something like set y position Self.Y +35..

    This doesn't work..

    Any thoughts?

    Thank you!