You need to add a script on each block that detects when the mouse is down, and if it is, causes the the block to follow the mouse. There is a thread about this in the Forums, I think, or you could look at the blocks in the original "Gravity Blocks".
Nice Idea, though :D
Okay, does anyone know how to allow dragging in the actul game and not just in the editor? Currently it's just a pretty picture and you can't mess with it.
I'm not looking for a perfect simulation, taxman. I just think it would be an interesting excercise in "scratching". I have an idea or two as to how I might try it, but it would be quite tricky. ***************************************************
What would be nice to add would be use of the l/r arrow keys to rotate the block you have picked up by 90 degrees.
About Mayhem's last comment. He wants to simulate reality physics. That's an incredibly crowded field. I think you should turn the whole thing upside down or sideways just the way it is.
The hovering issue only seems to be when you're still holding the block, so it's like you're holding it up. I think it's okay like that. I'd love to have stuff slide off the rounded blocks and fall off if the center of gravity is off the block it's sitting on. If I can get that to work, I'll post about it. Thanks for all the comments!
It would be nice if, when a block lands on a curved surface, it slides off - of it it lands on the edge of another block, it falls off. Nice effect though.
Like it! Now, if you can work out a script that checks for an approximate centre of gravity, so that wide blocks will fall over if only touching at one end...
This is pretty much a rip-off of Jay's Gravity Blocks, but this variation has multiple block shapes. Click on a block to grab it and click again to release it. Hold Space to shuffle and knock over the blocks. If you notice any glitches, please comment about it. Enjoy!
Comments
You need to be logged in to post comments
Add a Comment
it kinda mowfunctioned
(view all replies)Comment Reply
its dumb
(view all replies)Comment Reply
kool
(view all replies)Comment Reply
Nice!
(view all replies)Comment Reply
When I put the rectangle on the rainbow-ish block, it doesn't collapse! Oh well, coolio!
(view all replies)Comment Reply
its cool
(view all replies)Comment Reply
cool
(view all replies)Comment Reply
Well done and original!
(view all replies)Comment Reply
Cool project!!! Please add it to the Gallery of Magical Quality***
(view all replies)Comment Reply
PS it much better than gravity blocks
(view all replies)Comment Reply
awsome i lov building blocks
(view all replies)Comment Reply
it's cool.
(view all replies)Comment Reply
simple yet very fun
(view all replies)Comment Reply
NNNNNNNNNNNIIIIIIIIIIIICCCCCCCCCCCCCCCCCCEEEEEEEEEE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(view all replies)Comment Reply
Not Bad! I kinda like it.
(view all replies)Comment Reply
Very cool
(view all replies)Comment Reply
nice
(view all replies)Comment Reply
yawn
(view all replies)Comment Reply
Very cool.
(view all replies)Comment Reply
great work ! i like it
(view all replies)Comment Reply
nice work
(view all replies)Comment Reply
Thanks again for all of the positive comments! I personally would rather had one of my games featured, this one is pretty simple.
(view all replies)Comment Reply
Good work! :)
(view all replies)Comment Reply
kool
(view all replies)Comment Reply
great
(view all replies)Comment Reply
Don't flag for any comments, it would get the game taken down, not the comment. I'll just delete any vile comments.
(view all replies)Comment Reply
I like the game!
(view all replies)Comment Reply
it is ok?????????????????????????>...................
(view all replies)Comment Reply
You need to add a script on each block that detects when the mouse is down, and if it is, causes the the block to follow the mouse. There is a thread about this in the Forums, I think, or you could look at the blocks in the original "Gravity Blocks". Nice Idea, though :D
(view all replies)Comment Reply
Okay! It's up and running! Now you have to click and click again to reease it, but at least it works!
(view all replies)Comment Reply
Okay, does anyone know how to allow dragging in the actul game and not just in the editor? Currently it's just a pretty picture and you can't mess with it.
(view all replies)Comment Reply
I'm not looking for a perfect simulation, taxman. I just think it would be an interesting excercise in "scratching". I have an idea or two as to how I might try it, but it would be quite tricky. *************************************************** What would be nice to add would be use of the l/r arrow keys to rotate the block you have picked up by 90 degrees.
(view all replies)Comment Reply
About Mayhem's last comment. He wants to simulate reality physics. That's an incredibly crowded field. I think you should turn the whole thing upside down or sideways just the way it is.
(view all replies)Comment Reply
The hovering issue only seems to be when you're still holding the block, so it's like you're holding it up. I think it's okay like that. I'd love to have stuff slide off the rounded blocks and fall off if the center of gravity is off the block it's sitting on. If I can get that to work, I'll post about it. Thanks for all the comments!
(view all replies)Comment Reply
I've flagged this as inappropriate - not for the project but for one of the comments.
(view all replies)Comment Reply
This game is wank
(view all replies)Comment Reply
cool
(view all replies)Comment Reply
It would be nice if, when a block lands on a curved surface, it slides off - of it it lands on the edge of another block, it falls off. Nice effect though.
(view all replies)Comment Reply
If a block is falling, and you put another block over it, they hover in midair.
(view all replies)Comment Reply
Like it! Now, if you can work out a script that checks for an approximate centre of gravity, so that wide blocks will fall over if only touching at one end...
(view all replies)Comment Reply
Cool I like it :-)
(view all replies)Comment Reply