MapInfo Pro

 View Only
  • 1.  Maps for Fun - Real Time Multiplayer Tank Game

    Posted 11-03-2017 12:36

    This is the contribution to the Mapping Contest category "Maps for fun" by GEOGRAF A/S.

    Presenting: MI_Tanks

    See Attachment

    This is a simple multiplayer game. The users can join the battle and shoot each other to gain points. A small video of the game in action is here:

    https://www.youtube.com/watch?v=uWM1KGjNoyc

    The general idea behind this code is to showcase the powerful API. That MapInfo can be used as a service. Using the API and network code you can send MapBasic commands to the running MapInfo and instruct it to do things. The player presses a key and the server is told that the player wants to move forward or shoot. The server translates the message into a set of MapBasic command and send these to all connected clients (like move a geometry, rotate or add a new bullet to the map).

    The server has a nice console window that keeps track of the gameplay:

    See Attachment

    Source code is available here: https://github.com/JonathanJensen/MI_Tanks

    There a still a few bugs in the game and some things that we couldn't get to work. We hope to correct this in the future, and optimize the code for faster gameplay (knowing that MapInfo were never ever designed for this).



  • 2.  RE: Maps for Fun - Real Time Multiplayer Tank Game

    Posted 11-06-2017 23:23

    Wow, this is creative for sure! Nice job.



  • 3.  RE: Maps for Fun - Real Time Multiplayer Tank Game

    Employee
    Posted 11-07-2017 03:12

    MapInfo, Gaming and Tanks... what's not to like!! 😁

    This is pretty cool, @Account Deleted? and @Jonathan Langholz Jensen?! I assume we can t(h)ank you both for this contribution.