At 4:56 PM -0500 10/20/03, Eric wrote:
Yeah I guess that was a little to general. ; -) Well what I was thinking
is since layer 4 of my map has nothing in it. I though I would put the
enemy data there.
So layer 4 wouldn't be drawn it would just tell me - ok an enemy is at
this location on the map and what kind of enemy.
Well, that's reasonable, though I wouldn't start that way. I would
start this way:
// make an enemy, for the sake of testing enemies!
badGuy = new Sprite
badGuy.image = somePicture
badGuy.X = 150
badGuy.Y = 200
or whatever. It's easy to get caught up in trying to jump directly
to the end solution; it's much more productive to take baby steps.
Hard-code things first, generalize them later.
On the class I was thinking it would be like the heroclass. Just that is
computer controlled and it could tell if its a peon or a boss.
Sure; if that makes sense to you, go for it. If it's holding you up,
skip it. Just get SOMETHING running, then keep refining it until it
does what you want.
Right now I want to get some enemies walking around as such. Then I'll
move on to collision.
Good plan!
>Also when would you want to use a Serial over a Socket?
>Never.
So just stick with Socket's ?
Yes.
--
,------------------------------------------------------------------.
| Joseph J. Strout REAL Software, Inc. |
| joe at realsoftware dot com http://www.realsoftware.com |
`------------------------------------------------------------------'
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|