Well, Sid, I have to give a lot of credit to Canthiar, at least, because his project was what gave me the idea for mine. (Though our projects are only similar in concept.) I used the bungee cord from one of my other projects to create the band between the two balls (as opposed to using the pen tool, mostly because I didn't like the way it flashed). My goal was to create something smooth-looking. Though I definitely think Canthiar should get props, because his was the first one to come out with a project like this!
Yeah, that's the way I've seen most projects like this do it. (That's the way my 3-D one does it, except it has to to get the 3-D rope.) I didn't want mine to flash at all, ever, so I basically made it with the band as a third sprite. (This also allows the toggling of the band stamp... press S and you'll see what I mean.)
Ah, I'm pretty sure I know your issue, Lucario; it sounds as if you need to double-check the *center of rotation* of the costumes giving you trouble. You want the center to be at one ball, yeah, but you want to place it at the END of the string-costume. (Otherwise, you have the middle of the cord go to the ball rather than the end of the cord!)
Ok, and another thing BATzerk: I tried doing something like this using cord costumes but when it is more than half way through the screen of distance, it goes to both sides of the red ball and not closer to the orange. How could I fix that. By now I am making a program that is like this exept that there is no friction or elasticity, the two balls are not attracted together and you control my using the arrow keys.
Yes, Lucario621, I realized this flaw before I posted it. Drawing the cord every change in fifteen units isn't exactly fun... I had had enough of doing it; I just wanted to get the project up! X]
Thank you very much, RedNeptune! (Soon, I'll combine my slider-collision "throw-by-mouse" physics so you can ACTUALLY throw the balls around!) --Great to see someone really likes my projects! =D
Thank you very much, Canthiar! The concept for the bungee cord was originally launched (har, har) in my Slingshot project. (I'm finding it mighty useful in all cases but my 3D version of this project, where you have a bird's eye view. So I went with how you made your cord, you know, using a pen. But the two balls look like they're connected by a lightning bolt, not a cord, because of the way it changes thickness the "closer" it gets. [It takes about eight steps each frame, so I get eight kinks in my cord every frame... gotta find a way to fix that!])
Hooray! (This was created using the principles of my Slingshot program; I've been wanting to make this for a while.) This program is similar to Canthiar's "Two Masses and a Spring" in its effect, but I intentionally didn't look at his code because I wanted to make my own from scratch (which is pretty much how I like to do everything!). But I'd still like to acknowlege Canthiar because I don't know if I would have made this had I not seen his project first, and also because Canthiar is basically Awesome City.
Press S to toggle band stamp on/off.
Press R to reset balls' positions.
Press SPACEBAR to cycle through 3 backgrounds.
Comments
You need to be logged in to post comments
Add a Comment
cool cool
(view all replies)Comment Reply
awesome!
(view all replies)Comment Reply
(Also, if you like this project, check out my 3D upgrade version!) (link to project)
(view all replies)Comment Reply
Thanks, Masterock! No, I am not in middle school. I'm 18; I'm a freshman in college. (Though I AM a genius, anyway!) =D
(view all replies)Comment Reply
this is better then you rope game! I may be very good at math for my level but you, some genius? unless you are in highschool or college. Cool!:)
(view all replies)Comment Reply
i love vis
(view all replies)Comment Reply
Well, Sid, I have to give a lot of credit to Canthiar, at least, because his project was what gave me the idea for mine. (Though our projects are only similar in concept.) I used the bungee cord from one of my other projects to create the band between the two balls (as opposed to using the pen tool, mostly because I didn't like the way it flashed). My goal was to create something smooth-looking. Though I definitely think Canthiar should get props, because his was the first one to come out with a project like this!
(view all replies)Comment Reply
i liked this one better than canthiars.. (no offense canthiar)
(view all replies)Comment Reply
That's cool. How long did it take you?
(view all replies)Comment Reply
Yeah, that's the way I've seen most projects like this do it. (That's the way my 3-D one does it, except it has to to get the 3-D rope.) I didn't want mine to flash at all, ever, so I basically made it with the band as a third sprite. (This also allows the toggling of the band stamp... press S and you'll see what I mean.)
(view all replies)Comment Reply
I still don't get it. Though instead I just made a pen thing draw a line forever from the first sprite to the other and clearing all the time.
(view all replies)Comment Reply
This is fun like the rope thing C= -5 friction = lol! I agree...
(view all replies)Comment Reply
lol set the frictrion to -5
(view all replies)Comment Reply
Ah, I'm pretty sure I know your issue, Lucario; it sounds as if you need to double-check the *center of rotation* of the costumes giving you trouble. You want the center to be at one ball, yeah, but you want to place it at the END of the string-costume. (Otherwise, you have the middle of the cord go to the ball rather than the end of the cord!)
(view all replies)Comment Reply
Though I will give credit because I could not have done it without looking at this program's script.
(view all replies)Comment Reply
Ok, and another thing BATzerk: I tried doing something like this using cord costumes but when it is more than half way through the screen of distance, it goes to both sides of the red ball and not closer to the orange. How could I fix that. By now I am making a program that is like this exept that there is no friction or elasticity, the two balls are not attracted together and you control my using the arrow keys.
(view all replies)Comment Reply
(Thank you so much, sunshine101! Positive feedback appreciated!)
(view all replies)Comment Reply
OMG! This is totally awesome! Terrific job!
(view all replies)Comment Reply
Yes, Lucario621, I realized this flaw before I posted it. Drawing the cord every change in fifteen units isn't exactly fun... I had had enough of doing it; I just wanted to get the project up! X]
(view all replies)Comment Reply
Wow! All of your projects are fantastic!But look what happens when yuo change Eleasticky to -10.The string is not long enough.
(view all replies)Comment Reply
I don't like the way I did mine because it flashes.
(view all replies)Comment Reply
Thank you very much, RedNeptune! (Soon, I'll combine my slider-collision "throw-by-mouse" physics so you can ACTUALLY throw the balls around!) --Great to see someone really likes my projects! =D
(view all replies)Comment Reply
Wow! You did a great job! Congradulations!
(view all replies)Comment Reply
Thank you very much, Canthiar! The concept for the bungee cord was originally launched (har, har) in my Slingshot project. (I'm finding it mighty useful in all cases but my 3D version of this project, where you have a bird's eye view. So I went with how you made your cord, you know, using a pen. But the two balls look like they're connected by a lightning bolt, not a cord, because of the way it changes thickness the "closer" it gets. [It takes about eight steps each frame, so I get eight kinks in my cord every frame... gotta find a way to fix that!])
(view all replies)Comment Reply
I like how you did the cord.
(view all replies)Comment Reply
That's really cool.
(view all replies)Comment Reply
Haha, I like putting it to somewhere around E 50, G 0, and F ~3, then chucking one of the balls at the wall! It's so much fun to watch!
(view all replies)Comment Reply
Cool! :) I personally like E -10, G 5, and F 20. lol
(view all replies)Comment Reply