newt's Recent Forum Activity

  • Basically something like a family without a families restrictions(different objects types, etc.), with added functionality of adding to the family on the fly, and a customizable hierarchy within the family, IE when I create this object and add it to the family it will be added to the last(or first) of the list.

    So I can do something like this:

    sprite on collision with sprite2

    sprite2 create sprite3

    add sprite3 to family.blue.last

    family.blue.new

    add to family.blue.stack

    set position to family.blue.last

    I wonder what kind of controls you can have for the stack tho.....

  • Figured it out, I was using a family.

    Soooo, question for the devs.

    Feature or bug?

  • I think I see what I did, I was changing the objects angle to get the angel for the bullet. Ill need to add a dummy for the shooting looks like.

  • Was just playing with this, and it seems you cant change the colors, or alpha during runtime even though it looks like it was meant to.

    Any way to get this fixed?

  • Every tick that the character is latched, add something like:

    180 * cos(GUY('angle')) * TimeDelta[/code:1h2fxlwy]
    Then, add this to your angle value: 
    
    [code:1h2fxlwy]GUY('speed') * TimeDelta[/code:1h2fxlwy]
    
    

    This places the sprite in the same starting position. How do you figure the angle to start for its current position?

  • It's not that difficult to make a NES style BC swing, but there are tons of ways of doing it. Since no physics or pseudo-physics are used, all you have to do is set up a rope object which shoots out of you, then rotate your grapple sprite around the grappled point, while setting your character to an image point on the other side of the rope. It requires no math! (but you will have to set up a few variables to determine swing length and swing speed, also a grappled state for your character.)

    Huh?

    An example?...Please.

  • Welcome to the internet, where the trolls troll the trolls, and the hackers hack the hackers.

  • wmp, and mpc didn't work, vlc did.

    Looks promising there Lucid.

  • Not really, that is if you understand quarp at least. One way is to add a couple more dummies, and set one to rotate around your sprite, then have another to sit on the end of that sprite. You can then have the main sprite move to quarp(.x,line.endx,dummy2.x, somethingtimedelta).... ehh check the cap again i set it up.

    Any way the timing is a bit off, and you probably need to have the rotation behavior only activate when its shooting, but you get the idea.

  • Id say probably the easiest way would be to use the line object.

    I would try something like using a dummy sprite with the bullet behavior, then when you spawn the bullet, spawn a line at the same time, and have the start points set to an always event on the grappling gun. Then in the same always event have the endpoints of the line set to the bullet x,y.

    When the bullet hits something destroy it and you will have your rope.

    Now for the character movement you could do something like:

    sprite set position to lerp(line.endx, sprite.x, somethingtimedelta), lerp(line.endy, sprite.y, somethingtimedelta). That will make it climb the rope, you can come up with some other movements like swinging from there.

    edit:

    Ok dont destroy the bullet, just deactivate, and reverse line end x,y with sprite x,y in the expression.

    I always get that messed up.

    Any way heres a cap:

    http://dl.getdropbox.com/u/666516/grapling.cap

  • When I posted my photo in this topic - I didn't have any goals. If you see this as my strategy for attention of manly men of Scirra and receive more support - I will not disturb you and I'll delete my photo.

    Sorry, if I've offended someone...

    You've done nothing wrong. In fact we need more people just like you.. pony tails and all.

    <img src="http://i987.photobucket.com/albums/ae352/constructgame/fo.gif">

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah, quarp was originally included for that reason !

    (I requested the feature :B)

    That was a really good way to use it newt! It was awsome that you could move it in realtime too!

    Thanks, and thanks.

    Yeah its great way to do custom movements. The possibilities are almost limitless, but don't forget you can use it on other things besides movement, there's zooming, opacity, scrolling...etc.

newt's avatar

newt

Member since 12 Nov, 2008

Twitter
newt has 25 followers

Trophy Case

  • 15-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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • 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
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

30/44
How to earn trophies