A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Calm down, Mr. Cash

  1. #1
    PWFilms
    Guest

    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

  2. #2
    foul-mouthed chucklehead
    Join Date
    Feb 2003
    Location
    inches away from you, in the 4th dimension....
    Posts
    198
    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!

  3. #3
    PWFilms
    Guest
    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<this._x=right this._x=left;
        }
        if (
    this._y<top || this._y>bottom) {
            
    speedy = -speedy;
            
    speedy *= 0.8;
            
    speedy<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(mouseymousex);
            
    speedx = -Math.cos(radians)*maxspeed;
            
    speedy = -Math.abs(Math.sin(radians)*maxspeed);
            
    speedx<speedx -= random(4) : speedx += random(4);
            
    speedy<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();
            }
        }


  4. #4
    foul-mouthed chucklehead
    Join Date
    Feb 2003
    Location
    inches away from you, in the 4th dimension....
    Posts
    198
    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??

  5. #5
    PWFilms
    Guest
    sure go ahead

  6. #6
    Member
    Join Date
    Dec 2002
    Posts
    46
    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.

  7. #7
    Senior Member mbenney's Avatar
    Join Date
    Mar 2001
    Posts
    2,744
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center