PDA

View Full Version : Mike, about coding games


Mazenger
09-09-2006, 04:51 PM
Mike, could u tell us how do u make ur games and expansion packs ..

and wut programs do u use?

and how do u code weapons movement like Collide-o-scope?

Xap
09-09-2006, 10:11 PM
It's probably more complicated than it looks.
By the way, the better your spelling/grammar is, people will take you more seriously(just for future reference).:cool:

John Brooks
09-09-2006, 11:18 PM
It is more complicated, you know that weapon called acidrain? Look in your Pocket Tanks folder, and you'll see pictures of it floating and forming, it's animation.

NetNomad
09-10-2006, 12:16 AM
If you've never coded before, well... I hate to rain on your parade, but it'd be an incredibly hard learning curve before you can make something like Pocket Tanks.

The GUI (graphical user interface; aka, what you see on-screen) would probably be the hardest part... making the menu letters flow, designing the battlefields, etc... then there's the physics calculations for angle, power, and wind... then you need the weapon graphics, the sounds....... and this is assuming you can figure out how to work C++ (basic C++ isn't that hard, but something like this, well :p) and get C++ to DO a GUI in the first place (instead of a simple console app, which is as far as I ever got with it... XD).

I'm not trying to totally discourage you, I'm just saying a project like PT isn't something you wake up one morning and say "I'm gonna code this game today."

Was It Me?
09-10-2006, 01:52 PM
From experience, the part of Pocket Tanks that would be hardest to code for me would be the terrain system. The way weapons destroy the terrain, the way that some weapons bounce off of the terrain, the way that napalm and hail storm "flow" downhill, and the "falling" terrain. Also, programming the weapons wouldn't be easy either...

Brian
09-11-2006, 04:25 PM
Hi Maz, I just want to say that I am not in a position to answer your question, but I didn't want you to feel that it was being ignored. Mike is extremely busy with both the Pocket Tanks update and the new game which are BOTH supposed to be out within the week, so he probably won't have time to come by for a while. I'll point it out to him, though, when he is less busy.

zetablack
09-11-2006, 08:55 PM
and guys if you want to make weapons you need to learn c ++ which is a super hard programing lang so its not like this picture does this its much bigger.

Slater
09-14-2006, 08:39 AM
c++ is not super hard, lol...

I've actually thought about how weapons would work in C++ tho... interesting mechanics. A weapon flys with either a gradient following it or an image with particles or something... need flags to describe which of those it does. Weapon class probably defines the explosion(s)'s radius, the damage it does at the center (I assume the damage it does off-center is taken care of by another non-class dependant function)... it's not that hard if you can break a weapon down. Heck, that's what makes learning c++ or any programming language easy or hard, whether or not you break the big picture into smaller ones and take one challenge at a time.

Was It Me?
09-14-2006, 01:39 PM
Yes, but we don't really know the internal workings of the engine... It's even more complicated than that, I would think. :)

But, I agree with you for the most part. ;)

zetablack
09-14-2006, 08:09 PM
i wish i could make weapons for the game would be so fun