microsoft / Windows-appsample-marble-maze

A 3D DirectX game for the Universal Windows Platform.
MIT License
112 stars 65 forks source link

ball falling through floor #2

Closed darkjoy2k2 closed 7 years ago

darkjoy2k2 commented 7 years ago

I imported the code to monogame and put the highscores and controls to windows platform. I did not manipulate any game physics or calculations.

The ball always falls through the floor except for the bridge area, which responds perfectly. Walls and pits respond fine. Contentimporter works well and all .tags are imported properly from mesh. Any ideas? Are there math differences between xna and monogame? Or handling of calculations between windowsPhone/Windows?

abbycar commented 7 years ago

Hi!

I'm not seeing this problem when run in Visual Studio 2017, so it most likely has something to do with a porting issue to MonoGame. Without looking at your code, a possible issue could be a difference in the end values regarding the positioning/collision detection between the ball and normal floor. This may be because of a difference in how the game window size/positioning is calculated in MonoGame.

Your best bet on finding a solution is seeking some help from the MonoGame community. :)

Thanks for reaching out and testing out the sample!