This is epic! I can't believe how smooth it runs. You have to make a game out of this. Maybe a platformer where you have to go across and change shapes to fit through doors and such? Still, this is great! :)
I must say your physics engine is superb! May I ask how you make the polygon settle; I can tell already that you must be using some kind of particle to rapidly draw the shape each frame.
Thanks! Basically I use modulo to determine the angle of the closest side to the ground relative to "up", then use that to calculate the applied x-velocity. You can download if you're curious about the exact algorithms.
This is a brilliant simulation project!!! It is probably one of the most interesting, too. I like how there is a gravity adjuster, movement in all 2D directions, size adjuster, direction guides, and a unique scrolling-type movement scheme. I would certainly like to see the scripts you used for this. What does restitution do, by the way? Since this is a brilliant project, I have added a love-it and a favorite. :D
If you want the shape to do something funny, press both the left and right arrow keys at the same time, and it will stand on one of its edges and never fall over unless you stop holding the arrow keys!
This is so cool!There is only 1 glitch.If you go fast and press up at the same time than the shape messes up.Other than that this is one of the best things I have ever sean on scratch!
██████████████████████████████████████████████████████████████████████████████████████████████████████████████This comment was blacked out to protest SOPA and PIPA. Copy and paste to spread awareness. Started by pokeywokey
make a game! or at least add jumping. Cool Project, though! I couldn't even make something close to this!
███████████████████████████████████████████This comment was blacked out to protest SOPA and PIPA. Copy and paste to spread awareness. Started by pokeywokey.
██████████████████████████████████████████████████████████████████████████████████████████████████████████████This comment was blacked out to protest SOPA and PIPA. Copy and paste to spread awareness. Started by pokeywokey.
3: Now supports any n-sided regular polygons! - Fixed a bug where the polygon would drop below the surface occasionally
2: The polygon now settles when no arrow keys are pressed
--
A fun 1s1s0c demo. Enjoy! I might make a game out of it. Feel free remix.
Known Bugs - Drawing of large or high-velocity polygons is messed up (this can be fixed with a 480x360 costume, but slows down rendering a lot) - When the square settles, it bounces slightly when facing directly up.
Comments
You need to be logged in to post comments
Add a Comment
This is epic! I can't believe how smooth it runs. You have to make a game out of this. Maybe a platformer where you have to go across and change shapes to fit through doors and such? Still, this is great! :)
I just can't get over how awesome this is! Do you enjoy math?
Thanks! I do enjoy math, especially trig.
this is really cool
Awsome!!!
I must say your physics engine is superb! May I ask how you make the polygon settle; I can tell already that you must be using some kind of particle to rapidly draw the shape each frame.
Thanks! Basically I use modulo to determine the angle of the closest side to the ground relative to "up", then use that to calculate the applied x-velocity. You can download if you're curious about the exact algorithms.
(view all replies)amazing
are you sure this works?
What part of it isn't working for you? Maybe try the updated version (link in the project notes)
Can i make an ad for you and put it in my game?
This is a brilliant simulation project!!! It is probably one of the most interesting, too. I like how there is a gravity adjuster, movement in all 2D directions, size adjuster, direction guides, and a unique scrolling-type movement scheme. I would certainly like to see the scripts you used for this. What does restitution do, by the way? Since this is a brilliant project, I have added a love-it and a favorite. :D
Amazing!
Wow! This is amazing!
Cool!
it never ends...
This is a farely good project, and this project has the ability to add more sides, which is very good.
aww man this is awesome *u*
I remixed with an up arrow feature. (link to project) For some reason, it didn't show up as a remix. :-/
Awesome!
Haha 129 downloads but 0 remixes epic fail
This very impressive, no doubt these methods could be used in some very excellent platformers.
Yeah. Sadly the length of the script increases dramatically if you add more than one platform (or you end up spanning multiple frames).
Same here!
This is amazing! And all with 1s1s? :O
:O
ikr?!
Lol I broke the game by switching sizes from 10 to 100 on 6 sides :3
awesome!
soooo cool!!!!!
(link to project) christmas present for you!
If SOPA is allowed 2012 truly is the end of the world. Post this on all your projects to STOP SOPA Started by SONICSORA123
Congratulations on getting featured! Is this your first time?
No, this is my second featured project. The other one was 'Grapple'
Psst. I say this to every person who has a featured project. It makes them feel happy :) That includes you too!
(view all replies)That is just awesome! You should have sent it into the One Sprite, One Script Scratch Design Studio Theme!
So many awesome features with only one sprite and one script!! I can use this with my 5th grade math students. Great!
(link to project)
Please try not to advertise on others' projects without asking them beforehand. Thanks :)
if you lower gravity and jump with triangle it dances
Can you make that shape jump?
Press space I:
You could make an amazing game with this. It deserves way more love its than it has.
If you roll it fast enough, the shape gets distorted.
EPIC!!! this could definetally be used in a platformer! =D
If you want the shape to do something funny, press both the left and right arrow keys at the same time, and it will stand on one of its edges and never fall over unless you stop holding the arrow keys!
OMG no costumes
the laws of physics don't apply, a large circle moves slower and less efficient than a triangle?!?!?!?!?!
They all have the same mass and air resistance in this simulation, and the same amount of force is applied, so they move at the same speed.
┏━━━┳━━━┳━━┳━━━┳┓ ┃┏━━┫┏━┓┣┫┣┫┏━┓┃┃ ┃┗━━┫┗━┛┃┃┃┃┃╋┗┫┃ ┃┏━━┫┏━━┛┃┃┃┃╋┏╋┛ ┃┗━━┫┃╋╋┏┫┣┫┗━┛┣┓ ┗━━━┻┛╋╋┗━━┻━━━┻┛
COOL
hold both arrows XD
nothin happens
sometimes when you move the side bar and the sides bar up the lines of the shape don't touch each other
This is so cool!There is only 1 glitch.If you go fast and press up at the same time than the shape messes up.Other than that this is one of the best things I have ever sean on scratch!
This is beautiful. That's all I have to say here.
If you hold left and right at thhe same time the triangle will stand and won't move :D
you should try out this game... its amazing (link to project)
Cool game, but try not to advertise on others' projects without asking them :)
I gotta say thats pretty impressive! Now make it into a full game, there is so much potential for something like this!
██████████████████████████████████████████████████████████████████████████████████████████████████████████████This comment was blacked out to protest SOPA and PIPA. Copy and paste to spread awareness. Started by pokeywokey
Np. C:
really. SOPA and PIPA were already dropped.
(view all replies)OMG Best Game EVER. WOW this is so much fun, I can't believe you made this on Scratch. My friend and I have been playing this for almost and hour!
Wow! This is now my favorite game; I love it so much. It must've been hard to make in Scratch though. Great Job!!!!
WOW!
Wow... 0c Wow. Just wow
wow that's cool. I'm going to see the latest version.
Awesome :D
make a game! or at least add jumping. Cool Project, though! I couldn't even make something close to this! ███████████████████████████████████████████This comment was blacked out to protest SOPA and PIPA. Copy and paste to spread awareness. Started by pokeywokey.
Religion is found in this project spin a triangle very fast and you shall see. :)
██████████████████████████████████████████████████████████████████████████████████████████████████████████████This comment was blacked out to protest SOPA and PIPA. Copy and paste to spread awareness. Started by pokeywokey.
OMGSOEPIC
Lov+fav
BEAUTIFUL! Have I ever seen a project so good? I'll answer that; NO