Mario Collisions
BlitzMax Forums/BlitzMax Programming/Mario Collisions
| ||
I've been thinking about creating a simple platform game, and am already having trouble with the collisions. I took some .bb source code that someone posted on CodersWorkshop, ported it to blitzmax, giving me this: It works, in a sense, but is far from perfect. At times, it will put me off of the screen for no apparent reason, along with a few other quirks. I was wondering, for one, can anyone tell me what I can improve/fix to make the collisions work better? Even better, does anyone have some blitzmax code already written that shows basic collision detection? All help is appreciated. |
| ||
This might interest you: http://www.codersworkshop.com/viewshowcase.php?id=897 |
| ||
GellyWare: Yup, I already had a look at that. To put it simply, I was lost. I followed a few source files around and tried to figure out a few unknown variable before I gave up. Thanks for the suggestion, although the code is too confusing for me to make out quite what it's doing. |
| ||
Here you go, I made this. Tell me if anything is confusing. Oh I stole your map :P |
| ||
Thanks for the help, it works like a charm. Plus, I understand what's going on, which is a rare occurence in itself. :) |