Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: tankwars petr schreiber - psch

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    tankwars petr schreiber - psch

    Hi Kent,

    little mod with vector explosions


    Petr
    Attached Files Attached Files
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Petr Schreiber

    I played a bit but many times my bullet should hit the tank and instead it pass over.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Petr Schreiber

    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!

    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  4. #4

    Petr Schreiber

    Hi Kent,
    I won't find time till tommorow to look at it as my wife and me are going out tonight. Sorry.

  5. #5
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    159

    Petr Schreiber

    Very nice.

    Try getting 2 tanks to over lap and shot one a very strange thing happens.

    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

  6. #6
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Petr Schreiber

    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
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  7. #7
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Petr Schreiber

    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
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  8. #8
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Petr Schreiber

    Ooops,

    here it comes ... including the arrow
    Please re-download from this post.


    Petr
    Attached Files Attached Files
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  9. #9
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Petr Schreiber

    Perfect.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  10. #10

    Petr Schreiber

    Hi
    Incredible, wonderful script
    it's very fun to play, nice work Kent


    Simone
    LapTop Pc: 2GHz Intel Core 2 Duo T7200 • 2GB 533MHz DDR2 RAM • 160GB hard disk • 512MB ATi Mobility Radeon X1600 graphics • Win Vista SP1<br />Desktop Pc: 1.6GHz Intel Core 2&nbsp; • 2GB DDR2 RAM •&nbsp; 1024MB Nvidia GeForce 8800 GT • WinXp&nbsp; SP3

Page 1 of 2 12 LastLast

Similar Threads

  1. I want to congrats to Petr Schreiber
    By TBProgramer52 in forum Shout Box Area
    Replies: 1
    Last Post: 14-03-2010, 09:26

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •