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
i made them all disappear
awsome! look at ALL my junk ive done
You should just have draggable blocks.
When I click the blocks they move down
cool
i can't get it to work. when i click on a block it moves down, and when i click it agian, the same thing happens!
Same here
um... sorta dosent work but pretty good idea:)
it kinda mowfunctioned
kool
Nice!
When I put the rectangle on the rainbow-ish block, it doesn't collapse! Oh well, coolio!
its cool
cool
Well done and original!
Cool project!!! Please add it to the Gallery of Magical Quality***
PS it much better than gravity blocks
awsome i lov building blocks
it's cool.
simple yet very fun
NNNNNNNNNNNIIIIIIIIIIIICCCCCCCCCCCCCCCCCCEEEEEEEEEE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Not Bad! I kinda like it.
Very cool
nice
yawn
Very cool.
great work ! i like it
nice work
Thanks again for all of the positive comments! I personally would rather had one of my games featured, this one is pretty simple.
Good work! :)
kool
great
Don't flag for any comments, it would get the game taken down, not the comment. I'll just delete any vile comments.
I like the game!
it is ok?????????????????????????>...................
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! It's up and running! Now you have to click and click again to reease it, but at least it works!
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!
I've flagged this as inappropriate - not for the project but for one of the comments.
This game is wank
cool
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.
If a block is falling, and you put another block over it, they hover in midair.
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...
Cool I like it :-)