Jump to content


Photo

Physics Examples List


  • Please log in to reply
43 replies to this topic

#41 tice666

tice666

    GMC Member

  • GMC Member
  • 13 posts
  • Version:GM:HTML5

Posted 04 June 2012 - 04:46 PM



About a month ago I was playing around trying to make some "gravity gun"-like feature (like from Half Life 2), but then stopped working on it. If anyone can use it, here's the source.

It includes:

  • Basic platformer movements with physics
  • Pick up a box by clicking and holding the mouse on it - it will then follow the tip of your invisible gravitygun
  • Throw boxes you've picked up with increasing force (let go of left mousebutton) or just drop them again (right mousebutton)
  • Joints and ramps
  • Two basic puzzle levels demonstrating how you could make a physucs based puzzleplatformer out of this
Link: http://www.lunchgami...GravityGun1.gmz
right click>save as


Link don't work for me


Did you try to right click and choose "save as" (as I instructed in my post)? :)

Yes, it only download 7KB of the file. And aborts the download :/
  • 0

#42 Wolf Dreamer

Wolf Dreamer

    GMC Member

  • GMC Member
  • 218 posts
  • Version:GM:HTML5

Posted 04 June 2012 - 05:03 PM

Same problem here. I get 7KB only.

I try to import that, but it gives me an error. So I assume the file should have more in it.
  • 0

#43 Thaudal

Thaudal

    GMC Member

  • GMC Member
  • 250 posts
  • Version:GM:Studio

Posted 04 June 2012 - 09:54 PM

I apologize. It seems my host is retarded.

Here is a megafileupload version.
http://www.megafileu...tyGun1-gmz.html
  • 0

#44 BorisE

BorisE

    GMC Member

  • New Member
  • 200 posts

Posted 06 June 2012 - 04:00 PM


hmm physics in an isomettic 2d grid would(to my knowledge) be incredibly hard and a waste of time, even just trying to have a floor would be a huge hassle

These require a 3D physics engine. Box2D is not sufficient anymore...

I suppose it might just about work if objects are never off the ground, so the dimensions are N-S,E-W instead of U-D,L-R. You might try to trick the player into thinking its a grid-based push-block puzzle and then the blocks start going off grid and turning and stuff. Hard work for little effect though I think.

If it was just to get pushable stuff then there are far easier ways.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users