> Thomas, you might update the file on your server to end in .zip,
> making this a bit easier.
Oops, OK done.
> Also, watch out for tests like this (Being.Move): "If rnd * 8 = 1
> then"... this will pretty much never be true, since Rnd is a double.
> I think to match what the Java code is doing, you'd have to use
> Floor(rnd * 8) instead.
OK, got it.
> Also, having an Exception block in every method is probably slowing
> the code down noticeably. It also seems quite unnecessary. I don't
> suppose you'd consider deleting them?
Sure thing, although I left one of them the Move() method, I was having
crashes earlier in this section. I didn't realize these blocks *took up
time*.
> Finally, the beings are appearing in the middle of buildings because
> you're depending on the Paint event to initialize the town, but that
> fires after the Initialize method has run. Better would probably be
> to do all this work in a picture, and update that.
OK, good idea.
Joe's tweaked version is posted now. Talk is cheap fellow game listers, have
a look at the code/project and send me what you can do to extend it.
Cheers M8's,
Thomas C.
http://www.maui.net/~mauitom/zombie.html
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|