Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Drive the Tank
Index -> Graphics and Design, Web Design -> Flash MX Tutorials
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
TheXploder




PostPosted: Thu Feb 12, 2004 9:46 pm   Post subject: Drive the Tank

Here you can drive a Tank around, my script is a bit messed up so click on the tank first the drive it around...

Forwards - up arrow
Turn Right - right arrow
Turn Left - left arrow
Backwards - down arrow

Deselect Tank - Click anywhere on the screen

Select Tank - Click on the tank or Click on blank screen and draw the selection box to collide with the tank, and release the mouse button.

[Edit] http://www22.brinkster.com/thexploder/tank4.html

This has more to it than I enabled it has fireing ability (I made an FX generator), and you can aim but I can't figure it out, just need to code it, lol, ohh, well... And I got another version where the tank is pathfinding it's way though, but the rotation sux... hope I can fix that...

P.S: Delta we are keeping this Flash section alife, lol Very Happy
Sponsor
Sponsor
Sponsor
sponsor
Paul




PostPosted: Thu Feb 12, 2004 9:53 pm   Post subject: (No subject)

Its great! I mean really great! I see this can be one of those snowwars games, with tanks! You should make it so that it looses health if it crashes, and also make it so that it doesn't drive off the screen, cause when i drove it off, and deselected it, I can't get it back! Mmm... Snowwars, with tanx, this has possiblities!
Delta




PostPosted: Thu Feb 12, 2004 10:07 pm   Post subject: (No subject)

Now thats kewl I like... I like alot! Ok a couple things tho.... you can't select to the left or up (hold mouse down move up/left) and ya otherwise (besides textures being ontop) its very good! nice job Smile

P.S. - way to keep flash moving Very Happy
Paul




PostPosted: Thu Feb 12, 2004 10:17 pm   Post subject: (No subject)

Oh yea, I forgot. I also liked the tank it self, it was drawn really nicely and how it continues its momentum after. oh yea, +BITS
Amailer




PostPosted: Thu Feb 12, 2004 10:45 pm   Post subject: (No subject)

That's excellent.
+6 bits

cept it's too fast for a tank....
Maverick




PostPosted: Thu Feb 12, 2004 10:48 pm   Post subject: (No subject)

Man that is just really awesome and smooth and cool and +BITS
TheXploder




PostPosted: Thu Feb 12, 2004 11:12 pm   Post subject: (No subject)

Hey thanx to ya all, I think it'll be neat if there would be some mud tracks and sound of a tank driving... right? Who is with that Idea?
Paul




PostPosted: Thu Feb 12, 2004 11:18 pm   Post subject: (No subject)

mudtracks that fade overtime would be a cool idea, but I think the first priority is the damage, hey, if you make this a public project, Im sure ppl would sign up and help.
Sponsor
Sponsor
Sponsor
sponsor
TheXploder




PostPosted: Fri Feb 13, 2004 11:24 am   Post subject: (No subject)

I've always tryed to make every projet public, so that both you and I learn, I liked the roulette game we all contributed to...

But anyways,
I'd like some help with this...

Things I've got:


    - Particle System (Fire)
    - Aiming animation (turret turns)
    - Health Bar animation (health decreases)
    - Pathfinding


Things I need:--------------------------------------------------------------------

    - All of those above I've almost finnished, but I need help with the coding.
    Pathfinding is the most important thing though... I have a beta of it:

    [Edit] http://www22.brinkster.com/thexploder/movetank2.html

    - Xplosion animation or Particle system for an Xplosion.

    - Water particle system, splashes when any tire hits a water particle. Maybe also some rain, but that's not important...

    - When Bullets hit the tank Helth decreases
    -------------------------------------------------------------------------------------
    - Map Editor - I got started on it, but it need a lot more editing
    - Fog of War


If you wanna take part in this you can ofcourse contribute here on the forums, but you could also add me to your msn here, and well do it over msn, but I'll keep it updated on this forum as much as possible: thexploder@hotmail.com
shorthair




PostPosted: Fri Feb 13, 2004 7:28 pm   Post subject: (No subject)

Well Done ++ BITS , your doing an awsome job Very Happy Very Happy
Amailer




PostPosted: Fri Feb 13, 2004 8:58 pm   Post subject: (No subject)

Gj, cept next to the treee.
If you stand in front of the tree, and click somewhere on the sides..
the tank will slide Confused
Paul




PostPosted: Fri Feb 13, 2004 11:16 pm   Post subject: (No subject)

Good job, you can make this like C&C lol. But one question, why does it turn the otherway, the longer way, and not take the shorter way turning. Further explanation: When I click, it could turn left for 50 degrees in 1 second, instead it turns right for more than 50 degrees for 2 seconds.
TheXploder




PostPosted: Fri Feb 13, 2004 11:37 pm   Post subject: (No subject)

that's the reason I called it a beta, lol, yeah I know about that error...
I don't get why it does that though...
and after it turned it doesn't turn anymore, and it slides...
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> Flash MX Tutorials
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 13 Posts ]
Jump to:   


Style:  
Search: