? Perfect collision (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Another contest? You asked for it!

Perfect collision

  • #1 ✎ 119 ChaseCZ Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself How do i make a perfect map collision/wall so the player/sprite can't walk through it? Posted
  • #2 ✎ 112 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Reading I like to read books! Hobbies Draw a line between an entity's starting and finishing point, and determine if that line crosses any other suspected lines of collision. If so, you could for example: revert back to the starting point; revert to a point where the entity had not collided; reposition the finishing point to the surface of the thing it collided with. Posted
  • #3 ✎ 194 JustGreat First Month Joined in the very first month of SmileBASIC Source Website Avatar Taboo I didn't change my avatar for 180 days Website Night Person I like the quiet night and sleep late. Express Yourself Check for collision on several smaller steps each frame. If you've watched any Pannenkoek2012 videos, you should be familiar with how Mario moves in SM64. That's a decent example. Posted