It is currently Sun Jul 05, 2020 5:43 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: MP3D - Tile Collisions (Help)
PostPosted: Sun Jun 28, 2015 10:38 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Fri Apr 25, 2003 4:47 pm
Posts: 631
Location: New Zealand
--
Not sure if I should have posted this to the MP3D thread.

I hope someone can help me with this, I've been struggling with this off and on for years and still haven't found a suitable solution, it doesn't seam to matter how many YouTube video or websites I read about the subject I can only get close, but then for some reason or other it breaks.

Video:
https://www.facebook.com/video.php?v=382939981911965&l=3221308173761360217
While the above functioned when it came to adding gravity, well the results where a mess it appeared as while he stopped when on the floor that every other collision decided to fail, it works in the video because I'm controlling the up/down movements.

The main problem is (if you run the below program) keeping the box within the map area while it functions, sort of as has been the case for many years, it breaks in others.

(requires a joystick) - or additional code for keyboard, which I'd add if I could get it going properly.
In the link below is the code I'm working on, including the latest idea taken from Xmas2.pb in the MP3D examples folder.
https://drive.google.com/file/d/0B8XSa7G0waW_NE8xeXh5enE1MVE/view?usp=sharing

Any help would be greatly appreciated.


Top
 Profile  
Reply with quote  
 Post subject: Re: MP3D - Tile Collisions (Help)
PostPosted: Mon Jun 29, 2015 11:43 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Fri Apr 25, 2003 4:47 pm
Posts: 631
Location: New Zealand
Useful Link(s):
http://games.greggman.com/game/programming_m_c__kids/


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye