The Daily Click ::. Forums ::. Klik Coding Help ::. Silly basic issue with collision
 

Post Reply  Post Oekaki 
 

Posted By Message

Road Kill 1987



Registered
  29/07/2009
Points
  134
4th April, 2012 at 04/04/2012 12:38:29 -

Hi guys, I've got a odd issue which has never happened before, I'm using the 8 way movement for my game and a collision mask and every time I collide with another object the player will just force it's way over the object which would in turn render the game broken...

I'm using layers as well incase it happens to be that which is causing it.

I'm using build 253 at the moment, will updating MMF2 remedy this or am I going to go through the whole custom movement way to stop this. I don't have alot of time to make a custom movement up though as I'm trying to get it done hopefully by easter sunday...

 
Xbox live Gamertag: Road Kill 1987

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
4th April, 2012 at 04/04/2012 16:53:11 -

It is probably something simple in your code causing it. Upload your mfa and I'll give it the old outside opinion.

 
n/a

s-m-r

Slow-Motion Riot

Registered
  04/06/2006
Points
  1078

Candle
4th April, 2012 at 04/04/2012 17:48:44 -

I recommend building a custom movement for this. There's a lot out of your control when you use a pre-made movement, even for the simplest games, and this can create issues if you want to do uncommon, not-so-simple things with them.

Off the top of my head, is there a way for the object the player collides with to Bounce out of the way? I'd suggest that as a possible remedy, but even then I know little of the situation...

 
n/a

Road Kill 1987



Registered
  29/07/2009
Points
  134
5th April, 2012 at 05/04/2012 11:31:09 -

I have been thinking of just going the whole hog and custom movement the game but I don't think I got the time, other thing is the more time I waste getting the built in movement to work I more than likely could have got the custom movement out of the way... lol

I have also tried the bounce which works alright but also doesn't as the player can easily get stuck in the wall with out a way of getting unstuck. pretty much glued in place. I would upload the file but as the graphics have caused it to reach a whopping 79-ish mbs it would take a while to download... That is just the level background alone...

I will give it a try on a more up to date build in case it was a bug in that build of mmf2.
(EDIT) Tried the latest beta and nope, not due to the old mmf2 version.


Edited by Road Kill 1987

 
Xbox live Gamertag: Road Kill 1987

Duncan

Thelonious Dunc

Registered
  18/05/2002
Points
  552

VIP Member
5th April, 2012 at 05/04/2012 13:16:08 -

[Object with 8 direction movement] collides with whatever: stop.

How does your code differ from the above?

 
n/a
   

Post Reply



 



Advertisement

Worth A Click