-
Calm down, Mr. Cash
Hey there everyone... Can you guys test this game out? Maybe come up with some constructive critisizm? I plan to revamp the whole thing, with cooler graphics, 3d space monsters, a recorded score by Mark Mothersbaugh, virtual monkeys, and it being directed by Steven Spieldburg. But until I get that done, I need ideas for version 3... A lot of you do-good senators wont like it, but hey... If your a senator, why don't you go "ban stuff" or "ruin fun things" or "have heart attacks". Damn senators... Well, check it out:
http://www.paddedwallsfilms.com/timmy2.html
-
awesome game dude!! the whole timmy tumor idea is hilarious not to mention brilliant! very addictive...
do you have a tutorial and/or open source for that?? I'd LOVE to know how to make that kind of game!
-
I can't give you the fla... But here, have the hardest part of the game to make... Hell, I'm not gonna make any money off this anyway... Heres the tennis ball code:
PHP Code:
onClipEvent (load) {
left = 22;
right = 550;
bottom = 330;
top = 18;
speedx = 6;
speedy = 5;
maxspeed = Math.sqrt(speedx*speedx+speedy*speedy);
}
onClipEvent (enterFrame) {
_rotation+=speedx;
if (this._x<left || this._x>right) {
speedx = -speedx;
speedx *= 0.8;
speedx<0 ? this._x=right : this._x=left;
}
if (this._y<top || this._y>bottom) {
speedy = -speedy;
speedy *= 0.8;
speedy<0 ? this._y=bottom : this._y=top;
}
if (this._y>=bottom) {
if (_root.score2.score>_root.topscore) {
_root.topscore = _root.score2.score;
}
_root.score2.score = 0;
}
this._x += speedx;
this._y += speedy;
speedy += 0.3;
if (this.hitTest(_root.timmy.tumor) && _root.timmy.notumor==false) {
mouseX = _root.timmy.tumor._x;
mouseY = _root.timmy.tumor._y;
radians = Math.atan2(mousey, mousex);
speedx = -Math.cos(radians)*maxspeed;
speedy = -Math.abs(Math.sin(radians)*maxspeed);
speedx<0 ? speedx -= random(4) : speedx += random(4);
speedy<0 ? speedy -= random(4) : speedy += random(4);
_root.score2.score = _root.score2.score+1;
_root.timmy.tumor.play();
rand = random(3)
if(rand>=2){
_root.boing.play();
}
else{
_root.twang.play();
}
}
}
-
whoa.
lol, this is why i was wonering if you had tutorial/open source, cause im just getting into flash gaming and im trying to absorb as much as i can to learn...but since im new, alot of that code is confusing to me, i've only dealt with simple interactive type scripts previously.
nevertheless, thanks for the code, i will try to pick it apart and make something of my own from it!!
once again, props on the game!!
ps--i may have a couple questions, so if you don't mind can i pm/email you questions??
-
-
found a glitch. if it hits down and bounces up, it can go through your tumor and give 5+ points.. maybe you could make it reset when it hits, or make it so it doesnt rack in points on the upway.
-
Senior Member
just make sure the vy is > 0 before adding points
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
|