Jump to content


Photo

Gmphysics - Version 5 Prebeta Released


  • Please log in to reply
2605 replies to this topic

#1501 i_forget

i_forget

    GMC Member

  • New Member
  • 347 posts

Posted 04 October 2006 - 12:18 AM

i_forget: thats the whole point of layers. Only bodies in the same layer can collide with each other


<{POST_SNAPBACK}>



Yes, but what if you don't want it to collide with objects but you don't want the object to fall outside of the room.
  • 0

#1502 i_forget

i_forget

    GMC Member

  • New Member
  • 347 posts

Posted 04 October 2006 - 12:20 AM

i_forget: thats the whole point of layers. Only bodies in the same layer can collide with each other


<{POST_SNAPBACK}>



Yes, but what if you don't want it to collide with objects but you don't want the object to fall outside of the room.
  • 0

#1503 marbs

marbs

    GMC Member

  • New Member
  • 481 posts

Posted 04 October 2006 - 06:28 AM



i_forget: thats the whole point of layers. Only bodies in the same layer can collide with each other


<{POST_SNAPBACK}>



Yes, but what if you don't want it to collide with objects but you don't want the object to fall outside of the room.

<{POST_SNAPBACK}>

Then have the objects that stop the played falling out the room in the same layer as the player.

Marbs
  • 0

#1504 i_forget

i_forget

    GMC Member

  • New Member
  • 347 posts

Posted 04 October 2006 - 06:30 PM



i_forget: thats the whole point of layers. Only bodies in the same layer can collide with each other


<{POST_SNAPBACK}>



Yes, but what if you don't want it to collide with objects but you don't want the object to fall outside of the room.

<{POST_SNAPBACK}>

Then have the objects that stop the played falling out the room in the same layer as the player.

Marbs

<{POST_SNAPBACK}>


Bur what if you want it to be on the rooms edge?
  • 0

#1505 RiChArD_fLoOd

RiChArD_fLoOd

    GMC Member

  • New Member
  • 395 posts

Posted 04 October 2006 - 09:31 PM



i_forget: thats the whole point of layers. Only bodies in the same layer can collide with each other


<{POST_SNAPBACK}>



Yes, but what if you don't want it to collide with objects but you don't want the object to fall outside of the room.

<{POST_SNAPBACK}>

Then have the objects that stop the played falling out the room in the same layer as the player.

Marbs

<{POST_SNAPBACK}>


Bur what if you want it to be on the rooms edge?

<{POST_SNAPBACK}>


then put the wall or whatever at the rooms edge.
  • 0

#1506 marbs

marbs

    GMC Member

  • New Member
  • 481 posts

Posted 05 October 2006 - 11:55 AM



i_forget: thats the whole point of layers. Only bodies in the same layer can collide with each other


<{POST_SNAPBACK}>



Yes, but what if you don't want it to collide with objects but you don't want the object to fall outside of the room.

<{POST_SNAPBACK}>

Then have the objects that stop the played falling out the room in the same layer as the player.

Marbs

<{POST_SNAPBACK}>


Bur what if you want it to be on the rooms edge?

<{POST_SNAPBACK}>


then put the wall or whatever at the rooms edge.

<{POST_SNAPBACK}>

Instead of having a wall around edge use a plane, like in the example one that comes with GMphyics.

Marbs
  • 0

#1507 Crispy

Crispy

    Black Sun Empire

  • GMC Member
  • 1200 posts
  • Version:GM8

Posted 05 October 2006 - 06:34 PM

Ok i put the DLL in the GM lib folder and then i play the game and i get an error message saying Trouble idetifying external recourse... i dint have this problem with the others, and i am regestered.
  • 0

#1508 jordanware

jordanware

    GMC Member

  • New Member
  • 434 posts

Posted 05 October 2006 - 10:15 PM

Ok i put the DLL in the GM lib folder and then i play the game and i get an error message saying Trouble idetifying external recourse... i dint have this problem with the others, and i am regestered.

<{POST_SNAPBACK}>

Crispy only lib files go in the lib folder - not dll's. Just make sure the dll's are in the same folder as the game that's using GMphysics.
  • 0

#1509 yo1dog

yo1dog

    GMC Member

  • New Member
  • 245 posts

Posted 06 October 2006 - 09:06 PM

Well the friction isnt working, even in the playground example you provided balls will continue to roll forever, never slowing down. Also things on hinges will swing back and forth forever never slowing down ether.
  • 0

#1510 andrewmc

andrewmc

    GMC Member

  • New Member
  • 440 posts

Posted 06 October 2006 - 09:10 PM

Hey guys, I remembered seeing a vertex creator a while back. It let you load an image and place vertexs that could be loaded with Gmphysics. I decided to make one, but it does not work. Its really cool and lets you place (as many as you want), move, and delete vertexs. It seems like it would work but the object does nothing in Gmphysics. If anyone wants to check it out here is the link:

Download

I urge everyone to download it (and fix it if you can). Its only 20kb. Load an image when it starts up and press spacebar to save. Left click places vertexs, left click+drag moves them, right click deletes them.

Edited by andrewmc, 06 October 2006 - 09:10 PM.

  • 0

#1511 Crispy

Crispy

    Black Sun Empire

  • GMC Member
  • 1200 posts
  • Version:GM8

Posted 06 October 2006 - 09:53 PM

yeah it is in the same file... still don't work???
  • 0

#1512 Coci

Coci

    GMC Member

  • New Member
  • 4 posts

Posted 06 October 2006 - 11:20 PM

This is amazing! My only complaint is that there is no sound...
  • 0

#1513 Nutter

Nutter

    GMC Member

  • New Member
  • 105 posts

Posted 07 October 2006 - 05:37 PM

coderchris, I cant get it to work any time I try to use this the blue sprites turn a little invisible. I cant find any code that does that(I am tring to delete it).
HELP
  • 0

#1514 arcooke

arcooke

    GMC Member

  • New Member
  • 1055 posts

Posted 08 October 2006 - 12:09 AM

@coderchris

I'm starting my first game using your physics engine, and I have a slight concern. It seems as though no matter how high you set the room speed, objects don't move as smoothly as you'd expect. It almost looks as if it's always updating the physics at a room speed of around 30, even though that doesn't really make sense. I can see it best when objects are falling. Does this have something to do with GM's dll calls, or is it something in your dlls? It's not a HUGE deal.. but it definitely bugs me a bit. I'm getting ample FPS, so I know it's not just my system.

Also, the package includes 4 dlls (excluding the "extra" dlls).. are all of those necessary to provide with the project? I'm not really sure what they're for.

Thanks!
  • 0

#1515 Potnop

Potnop

    GMC Member

  • GMC Member
  • 3101 posts

Posted 08 October 2006 - 07:23 AM

Im planning on adding a thing to my level editor so U can modify the original placement of objects that are affected by physics, such as tanks, items, and stuff.

What would B the best way to implement that? So far Im planning on having it so there's an object layer(there are many layers, tiles, solids, lights, objects, sound areas, AI pathfinding nodes, and some other stuff...). In the objects layer I was gonna have it so U can place the objects by slecting which one to place and have it so U can set its ehalth and other attributes. Then I was gonna add a littl ebutton to go into GMphysics mode or soemthing and make it so U can move around all the objects affectable by it like in the playgorund almost. But this would B kinda weird, cuz I'd have to deactivate and activate Gmphysics and stuff all the time.
  • 0

#1516 RiChArD_fLoOd

RiChArD_fLoOd

    GMC Member

  • New Member
  • 395 posts

Posted 08 October 2006 - 04:57 PM

Is there a c++ version coming out soon?
  • 0

#1517 Adam

Adam

    Potato chip

  • New Member
  • 755 posts

Posted 09 October 2006 - 01:14 AM

And what about the saving/loading example?

Man this GMphysics is one of the only reasons I still come to this community.
  • 0

#1518 GearGOD

GearGOD

    Deus Verus

  • GMC Member
  • 2153 posts

Posted 09 October 2006 - 01:26 AM

Create the example on saving objects with current features and i'll be able to work on my games again.

Not that i've been bored the whole time, I've been working in Blender during that time.


What is stopping you from writing your own save/load functions by fetching the state of every body on save and applying it on load.


ive actually saved gmphysics objects in one of my physics games, if anyone wants to see it heres the link: http://forums.gamema...opic=222119&hl=


Aside from that, your problems are your own. Don't expect someone to panic because you may be leaving because they're not doing something for you, something that you have all the tools required to do yourself.
  • 0

#1519 pöpöpö

pöpöpö

    GMC Member

  • New Member
  • 3 posts

Posted 12 October 2006 - 02:14 PM

i think i found a bug: when i create a bomb and put hang it to ballon the game crashes when the bomb is supposed to explode (i don't know if anyone else is already told about this)
  • 0

#1520 aemynzc

aemynzc

    GMC Member

  • GMC Member
  • 98 posts
  • Version:Unknown

Posted 13 October 2006 - 07:37 AM

Who here wants me to post my gm5.3 example of gmphysics?

as long as its ok with coderchris
  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users