Man oh man, my sleep schedules messed up, spore doesn't come out for another month and a half, and I am terminally bored at this particular moment in time.
I need to be working on something, and as far as that goes, I don't even know where to begin. Programming is like this monolithic behemoth, looming over the cowering visage of my ambitions, Drawing is too open ended, I could and should be practicing some modicum of character design, but what do I focus on?
My game ideas come along steadily, irregardless of how painfully slow I'm climbing the learning curve. The current obstacle? figuring out how to get randomly generated enemies to interact with the player a la arrays, or something better if I can think of it...
Basically, I'm having problems keeping track of all the little nasties as they flit about the screen, waiting for the player to bop into them. Currently my idea is thus:
function monsterCreation(){
...
monsterInstance[monsterindex] = thisNewMonster;
}
function playerHitCheck(){
for(i = 0; i <= monsterInstance.length; i++){
if (monsterInstance[i].hitTest(player)) = true){
hitResult(monsterInstancer[i]);
}
}
}
and of course, this isn't working. Not entirely sure why, but if anyone happens to read this who knows anything about actionScript, please lemme know if there's a better way to do it.
In addition to this particular terror, Drawing is coming about nicely, although I don't really have an endless font of ideas. I've been doing a series of requests on a non-DA site that has, uh... unusual content, and that's been keeping me busy. And that's just a sad fact of my life, I'm very creative with composition and execution, but subjects are monumentally difficult for me to generate willy nilly.
90% of this I blame solely on my jacked up sleep schedule, when this sort of thing happens I usually just veg out on an MMO for days at a time, but I'm commited to no WoW or any other sort of pay-for MMO, and in addition to that there's no decent releases scheduled anytime soon, and thus, I am in distress.
Once again though, If you just so happen to be reading this, I could really use some AS2 advice and a request or two. I'd appreciate either.
update: I figured out what I was doing wrong and...uh... yeah, I'm retarded...
Arrays can easily be declared thusly:
enemyArray = new Array();
I was doing this:
var enemyArray:Array = new Array();
which was apparently a bad thing.