Jump to content
  • Advertisement
Sign in to follow this  
civilwarrock

[.net] Blocks In Game Makers?

This topic is 3082 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok i have spent 3 years leanring .net and i cant figure this out: Ok in game makers that i have used they have blocks, Things that keep you from running in to things, Ok they use a location and a size, How do i put a block in visual basic using a location and size, but i want to use recatngles if thats passible. Please help -Thanks civilwarrock =)

Share this post


Link to post
Share on other sites
Advertisement
What you are looking for is collisions. They don't exist on their own, you have to code them in. Depending on what you are doing, depends on how much work they are are.

A search on google for VB and collisions will get you started.

theTroll

Share this post


Link to post
Share on other sites
What technology are you using? WPF, WinForms, ASP.NET, Silverlight?
Most Rect(angle) classes have a very convenient method named Intersection or something like that.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!