actually i think:Originally posted by Paro
int j[10];
which is much better than:
int j1, j2, j3, j4, j5, j6, j7, j8, j9, j10;
int j[10];
would mean:
int j0, j1, j2, j3, j4, j5, j6, j7, j8, j9, j10;
wouldnt it?
actually i think:Originally posted by Paro
int j[10];
which is much better than:
int j1, j2, j3, j4, j5, j6, j7, j8, j9, j10;
int j[10];
would mean:
int j0, j1, j2, j3, j4, j5, j6, j7, j8, j9, j10;
wouldnt it?
int j[10] has 10 location only
so it's j[0].....j[9]
oh
i was close
i have a plan to make a sort of TAMOGOCHI type console game...
it will be pretty basic since i cant do much yet...
i was thinking of some possibilities...
like:
life = 10 + (level * 5);
maxdmg = lvl*5;
mindmg = lvl*2;
chance to miss: 40-(lvl*2);
and so when i attack it will roll:
HIGH = 100;
LOW = 1;
attack = rand() % (HIGH - LOW + 1) + LOW; (for randomization)
and if attack is less than chance to miss, i miss...
if(chancetomiss>=attack)
so ive got his life and attack sequence set up...
im thinking of the monster he attacks has a armor class and level1 they have ac10...and when the monsters are higher level...well heres the equation...
ac = 10 - monsterlvl;
and their chance to get hit is 100% at ac 10, and 90% at ac 9...
and the maximum monster lvl will be 9, because level 10 you can hit him LOL
well anyone else got any ideas to add on?
Paro
bleh, trash that idea, im making one on the wheel of time, and it will be just battle sequences and stuff!
Paro
Thats a good idea Paro, I am in the sames class, but have not tried to go above and beond what was asked of me, i may try to do so. Would you attempt to make some graphics or all text?
it will have to be all text because i have no idea how to make graphics yet...
Paro
i bet it will be a long time before i learn how to use graphics...i wonder how hard it really is?
Paro