Click here to Skip to main content
15,893,486 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to Intract with Reporting Services by code ? Pin
hdv21210-Aug-08 2:29
hdv21210-Aug-08 2:29 
GeneralRe: How to Intract with Reporting Services by code ? Pin
Wendelius10-Aug-08 2:48
mentorWendelius10-Aug-08 2:48 
QuestionThreading while sharing a Graphics object Pin
JFord12349-Aug-08 23:25
JFord12349-Aug-08 23:25 
AnswerRe: Threading while sharing a Graphics object Pin
Christian Graus10-Aug-08 0:50
protectorChristian Graus10-Aug-08 0:50 
GeneralRe: Threading while sharing a Graphics object Pin
JFord123410-Aug-08 0:54
JFord123410-Aug-08 0:54 
GeneralRe: Threading while sharing a Graphics object Pin
Christian Graus10-Aug-08 2:07
protectorChristian Graus10-Aug-08 2:07 
GeneralRe: Threading while sharing a Graphics object Pin
JFord123410-Aug-08 2:55
JFord123410-Aug-08 2:55 
GeneralRe: Threading while sharing a Graphics object Pin
Guffa10-Aug-08 5:09
Guffa10-Aug-08 5:09 
Threading just adds overhead and complexity for something like that.

There is mainly two things going on in your game:

1. Calculating how everyting is moving.
2. Draw it on the screen.

As #2 depends on the result of #1, there isn't really any reason to do these in separate threads. They would just be waiting for each other.

If you split up the work of #1 into a separate thread for each object that you display, it gets even worse. You need to synchronise each object, as you need to access the position of some object from other objects in order to detect collision, and you get a very complex model for something that is otherwise rather simple.

Despite everything, the person most likely to be fooling you next is yourself.

QuestionReading the SMTP Configurations Pin
hadad9-Aug-08 23:24
hadad9-Aug-08 23:24 
QuestionHow to save DataSet to exist MDB file? Pin
Admin8879-Aug-08 23:14
Admin8879-Aug-08 23:14 
AnswerRe: How to save DataSet to exist MDB file? Pin
Christian Graus10-Aug-08 0:51
protectorChristian Graus10-Aug-08 0:51 
QuestionRead Large File Pin
Reza Shojaee9-Aug-08 20:27
Reza Shojaee9-Aug-08 20:27 
AnswerRe: Read Large File Pin
Guffa9-Aug-08 22:23
Guffa9-Aug-08 22:23 
GeneralRe: Read Large File Pin
Reza Shojaee9-Aug-08 23:25
Reza Shojaee9-Aug-08 23:25 
GeneralRe: Read Large File Pin
User 665810-Aug-08 0:22
User 665810-Aug-08 0:22 
GeneralRe: Read Large File Pin
#realJSOP10-Aug-08 1:08
mve#realJSOP10-Aug-08 1:08 
GeneralRe: Read Large File Pin
Guffa10-Aug-08 6:55
Guffa10-Aug-08 6:55 
AnswerRe: Read Large File [modified] Pin
#realJSOP10-Aug-08 1:16
mve#realJSOP10-Aug-08 1:16 
AnswerRe: Read Large File Pin
Reza Shojaee10-Aug-08 2:11
Reza Shojaee10-Aug-08 2:11 
GeneralRe: Read Large File Pin
Mohammad Dayyan10-Aug-08 4:25
Mohammad Dayyan10-Aug-08 4:25 
GeneralRe: Read Large File Pin
Guffa10-Aug-08 6:53
Guffa10-Aug-08 6:53 
GeneralRe: Read Large File Pin
Mohammad Dayyan10-Aug-08 9:22
Mohammad Dayyan10-Aug-08 9:22 
AnswerRe: Read Large File Pin
PIEBALDconsult10-Aug-08 7:21
mvePIEBALDconsult10-Aug-08 7:21 
QuestionIs possible to create WinForm into the HTML tags ? Pin
Mohammad Dayyan9-Aug-08 13:00
Mohammad Dayyan9-Aug-08 13:00 
AnswerRe: Is possible to create WinForm into the HTML tags ? Pin
Colin Angus Mackay9-Aug-08 13:46
Colin Angus Mackay9-Aug-08 13:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.