View Full Version : tankwars petr schreiber - psch
Petr Schreiber
30-05-2008, 10:48
Hi Kent,
little mod with vector explosions :D
Petr
ErosOlmi
30-05-2008, 11:00
I played a bit but many times my bullet should hit the tank and instead it pass over.
Petr, thanks for pointer help and also for first mod of the game!
For my own version, I want to keep everything green to sort of stick to classic, but there is nothing wrong with color. Probably a good idea to develop both styles, and depending on gamers age, they can pick which they like from options menu, when user settings is put in.
I am going to remodel the tanks in parts, so they blow up and fly all over the place and bounce around... got lots of ideas, but need to get the framework clean, solid and flexible. It is far from that now :)
Thanks again!
Michael Hartlef
30-05-2008, 12:50
Hi Kent,
I won't find time till tommorow to look at it as my wife and me are going out tonight. Sorry.
Michael Clease
30-05-2008, 14:27
Very nice.
Try getting 2 tanks to over lap and shot one a very strange thing happens.
Petr Schreiber
30-05-2008, 15:30
Hi,
I did few tweaks:
code is shorter now
movements are framerate independent
any number of tanks possible, just set numTanks to what you want ( tried 512, ran well )
explosion is green and fades away
added some postprocessing
different collision handling
shot has "ground marker" ( when it seems collision doesnt work, it is most probably because shot is out of its 2500ms lifespan )
I do not attach screenshot as Kent probably still wants to keep the surprise effect, I respect it :)
Petr
ErosOlmi
30-05-2008, 15:39
Thanks Petr.
In your version radar is missing. Is it by choice?
If not, can you set current position of our tank to a triangle instead of a square?
Trinagle can also show our current cannon direction.
Ciao
Eros
Petr Schreiber
30-05-2008, 16:07
Ooops,
here it comes ... including the arrow :)
Please re-download from this post.
Petr
ErosOlmi
30-05-2008, 16:28
Perfect.
Hi
Incredible, wonderful script :o
it's very fun to play, nice work Kent
Simone
ErosOlmi
30-05-2008, 22:02
Some friends running this scripts had error when executing.
Error is related they had an old version of thinBasic installed and some functionalities used by Tank scripts need latest thinBasic version.
What about adding #MINVERSION directive:
#Minversion 1.6.0.8
Ciao
Eros
Hi Kent,
I won't find time till tommorow to look at it as my wife and me are going out tonight. Sorry.
Thanks for the heads up Mike. I definitely need your input and analysis of existing code so I can integrate tbem into it in next rewrite.
In doing this initial version, I already see a major flaw in my design with how I created tanks. t will take me a couple of days to redo the tanks. Each part will be entity parented to hidden collision object. This should make for better collision and also great effects hopefully.
Hi
Incredible, wonderful script :o
it's very fun to play, nice work Kent
Simone
Thanks Simone, with everyone's help it will only get better as you are seeing with what Petr is doing already.
I will rewrite the next version to make it even cleaner and eventually hope to serve as a great reference to all the new things in thinBasic
and give game makers something they can modify to make their own games of this style.
This was more of a test to see if it could look good and relatively work, I think that part passed and so gives energy for the next steps which are even bigger :)
Very nice.
Try getting 2 tanks to over lap and shot one a very strange thing happens.
Mike, I know strange things happen, but I wanted to get the demo out as I knew major changes to everything would be coming.
Hopefully the each generation will lead to a rock solid game. That is my goal and I won't be happy till then as I loved battlezone all these years, I want to make this next generation similar game as good!
Thanks for testing and reporting back, join in with ideas, mods anything you like.
Ooops,
here it comes ... including the arrow :)
Please re-download from this post.
Petr
OH WOW PETR
You are adding feature I wanted to add in the future, this is great because in the next rewrite I won't have to figure things out.
I wanted to develop something like you did with post processing, but only for nearest tank, since it tells you the nearest tank, shows it in the radar as brighter dot.
It will be nice to know that if you don't see the brighter tank in front of you then it is behind you.
You also got the rotating tank in the radar, that is why I was asking for all those rotation requests so I could get that working.
This version of yours will be a great version to start the next rewrite. Use this weekend to throw out any more gems before I start the rewrite next week.
THanks again, these are major steps forward on this project!!
I split your project into its own sticky and for you to manage with your cool skills!!
Petr Schreiber
31-05-2008, 18:14
Hehe,
thanks Kent :)
Petr