|
-
Title? Am I King or something?
I just realized, I'm blowing this game's complexity out of proportion.
For your scaleX thing, I also want to make it smaller the farther up it is, and larger the farther down it is. You know, proportion. Maybe I should just do a simple "size--" variable loop or whatever seems to work. If you have a good idea, let me know.
I forgot almost completely about ._rotation! Thank you, I remember now from my previous game! I'll just do something like:
Code:
"if (isUnit == true) and (*.dir == "northeast"){
unit._rotation += 90;
} // end rotate
isUnit being a boolean telling the computer whether or not the clip is a unit and "northeast" being a case switch (or whatever it's called, maybe I'll just use a bunch of "} else if" statements for now) telling the computer what to do if the unit becomes "northeast". Yes it is horribly written, but I had to do this off the top of my head in a half minute. Like I said, you probably have better solutions, let me know if you can reveal them.
Finally, maybe I should add a timer function for deleting unused projectiles. If there is a barrage or something I want it to look realistic and have the arrows stay for a while, half a minute perhaps? Then they just delete themselves and disappear. The user would probably get bored watching the arrows disappear anyways.
Fusiox
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|