473,378 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Mechwarrior Python Game

Has anybody played the Mechwarrior Miniatures game? I'm trying to
represent the game in python. First thing I need to do is make a
playing field. Mechs will move on the playing field based on inches
to scale in any direction. Any ideas?
Jul 18 '05 #1
4 1588
Jared wrote:
Has anybody played the Mechwarrior Miniatures game? I'm trying to
represent the game in python. First thing I need to do is make a
playing field. Mechs will move on the playing field based on inches
to scale in any direction. Any ideas?


You could check out MegaMek (http://sourceforge.net/projects/megamek/)
for some ideas (it's written in java, but the games are similar enough).

A lot of people use PyGame (http://www.pygame.org/) for games. So,
there might be a project already there that souce can help you. I know
there is some games that use hex maps on the project page.

Hope that helps.
Jul 18 '05 #2
Jared wrote:
Has anybody played the Mechwarrior Miniatures game? I'm trying to
represent the game in python. First thing I need to do is make a
playing field. Mechs will move on the playing field based on inches
to scale in any direction. Any ideas?

You'll probably want to get comfortable working with a game on a hex
grid. You can usually treat it as a skewed 2D grid. There are plenty of
articles on developing hex games.

There are a few examples on the Pygame site, but most are either
incomplete or very deep. I haven't seen any clean examples out there
that show you how it's all done with Python code. But I know there's a
few people working on that sort of thing.

Jul 18 '05 #3
Thanks for your help Pete and Reid. I'll let you know what I come up with.
Jul 18 '05 #4
Pete Shinners wrote:
Jared wrote:
Has anybody played the Mechwarrior Miniatures game? I'm trying to
represent the game in python. First thing I need to do is make a
playing field. Mechs will move on the playing field based on inches
to scale in any direction. Any ideas?


You'll probably want to get comfortable working with a game on a hex
grid. You can usually treat it as a skewed 2D grid. There are plenty of
articles on developing hex games.

There are a few examples on the Pygame site, but most are either
incomplete or very deep. I haven't seen any clean examples out there
that show you how it's all done with Python code. But I know there's a
few people working on that sort of thing.


I stumbled across this years ago...

http://unicornsrest.org/reference/ca...ps/source.html

- Dave

--
http://www.object-craft.com.au
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: O'Neal Computer Programmer | last post by:
*** First of all, if there is a previous post on Temple of Elemental Evil, please provide a link to that/them so in order to create a larger resource on this game. Thanks! (Merci) ;-) *** Temple...
4
by: Moosebumps | last post by:
When I have time, I am planning to evaluate Python for console game development (on Playstation 2, GameCube, and Xbox). Does anyone have any experience with this? Pretty much the only resource...
16
by: BOOGIEMAN | last post by:
Beginners question, but really what can you do with it ? How hard is Python to learn compared with other languages (let's say C#). Can you make fullscreen game with it (for example) ? I've looked...
0
by: Michael Goettsche | last post by:
Hi there, for a project in our computer science lessons at school we decided to write a client/server based battleship like game . I know this game could be written without a server, but the...
1
by: Jerry Fleming | last post by:
Hi, I have wrote a game with python curses. The problem is that I want to confirm before quitting, while my implementation doesn't seem to work. Anyone can help me? #!/usr/bin/python # #...
6
by: Qun Cao | last post by:
Hi Everyone, I am a beginner on cross language development. My problem at hand is to build a python interface for a C++ application built on top of a 3D game engine. The purpose of this python...
3
by: morris.slutsky | last post by:
So every now and then I like to mess around with hobby projects - I often end up trying to write an OpenGL video game. My last attempt aborted due to the difficulty of automating game elements and...
0
by: Michael B. Trausch | last post by:
Hello, everyone. I am doing some searching and winding up a little bit confused. I have a MUD client that I am writing using Python and wxWidgets, as some of you may remember. What I am...
10
by: Michael Lubker | last post by:
Any people that use Python as the predominant language for their game development here? ~Michael
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.