User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 427,376 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,988 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 262 | Replies: 2
Reply
Join Date: Sep 2007
Posts: 64
Reputation: Dell XPS is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
Dell XPS Dell XPS is offline Offline
Junior Poster in Training

game problem

  #1  
Feb 1st, 2008
i have made walls for my 2d topdown view game by using pictureboxes.... but the player1 must move in the map but when it hits one of the walls it must not pass through.... the .Top .Left .Right .Bottom do not work as they take the whole forms width or height.... any ideas how to do this?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2007
Posts: 64
Reputation: Dell XPS is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
Dell XPS Dell XPS is offline Offline
Junior Poster in Training

Re: game problem

  #2  
Feb 2nd, 2008
ok i have managed to solve this problem by adding that it must be in the same width with the wall.....

BUT my game is supposed to be 2 player but when one player presses a key the other one stops moving... any ideas on how to move both players at the same time?
Reply With Quote  
Join Date: Feb 2008
Posts: 1
Reputation: kens7601 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kens7601 kens7601 is offline Offline
Newbie Poster

Re: game problem

  #3  
Feb 2nd, 2008
Threading is your friend. Use Threads.

Thank you,
Ken
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb VB.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the VB.NET Forum

All times are GMT -4. The time now is 3:57 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC