473,944 Members | 1,807 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

my golf game needs gui

hi

i've been writing a golf game in text only. this was to work out some of
details. it's great but making a golf course with ---'s and |||'s is
kinda silly looking. (at least to some..)

now i'm ready to begin shopping for a gui widget to work with python so
my players can have some kind of pictures and possibly some motion.

i won't be creating figures swinging the golf clubs but would like to
show their golf ball flying thru the air and land on the green for one
example.

will pyQT work for me?

any suggestions on which way I should go next?

i would like my game to work on linux and possibly windows as well,
unless developing for windows means i will have to write it all over
again..

let me know what your reactions are.

thanks.

Jul 19 '05 #1
2 1496
For simple 2D graphics, your best option is pygame.

http://pygame.org/

If you need assistance, join the pygame mailing list, where you should
find someone to help you out.

Jul 19 '05 #2
Mike Hoy <mh***@cox.ne t> writes:
hi

i've been writing a golf game in text only. this was to work out some of
details. it's great but making a golf course with ---'s and |||'s is
kinda silly looking. (at least to some..)

now i'm ready to begin shopping for a gui widget to work with python so
my players can have some kind of pictures and possibly some motion.

i won't be creating figures swinging the golf clubs but would like to
show their golf ball flying thru the air and land on the green for one
example.

will pyQT work for me?
Yes. The tutorial applications for Qt - which are provided in Python
with PyQt - include an animated game.
any suggestions on which way I should go next?


I like PyQt. Licensing for Windows is problematical, and changing.

<mike
--
Mike Meyer <mw*@mired.or g> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Jul 19 '05 #3

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

Similar topics

23
3682
by: BlackHawke | last post by:
Hello! This is my second post. Ppl really helped me with the first. I hope there are answers for this one as well I own a game company (www.aepoxgames.net) releasing the beta for our first sci-fi space game in about 2 weeks (www.andromedaonline.net) We have multiple servers, but the game engine (Game Server Program) is a Java program (don't ask why) on a windows 2003 enterprise system with dual
9
1777
by: J.L.Cooper | last post by:
Hi, As you can probably guess from my posts so far I enjoy doing fun and interesting coding as a hobby. I was wondering if anyone knows of any Golf style competitions for C? (I.e. winner is the programmer whose program has the lowest number of characters in the source code that completes a specific task) If people don't know of one then perhaps we could arrange an informal one. -------------- Jason Cooper
1
1912
by: DaRueSchni | last post by:
Hello, I am a student who needs to develop a game for an XDA. I´d like to create one where you need to walk through some floors and enter different rooms. (walk through floors maybe like 1st Person shooter). I have Visual Szudio .Net Professional and I would like a tool which can draw these floors and rooms and which can help me to develop this game. I need to say that I am pretty new in game developing so I am thankful for every hint....
17
4587
by: Valerie | last post by:
Ok. Help. the quarter is ending soon and I have no interest in creating games. I think that's why i have a mental block on this particular lab assignment. I'm using the same book as Steven Smith is using when One Handed Man helped him. And, I don't even know where to continue. The application is a tic tac toe game.
18
2277
by: jaso | last post by:
Hi, I'm making this video game in C. The game contains a player, enemies and bullets. These objects, which are arrays of structures, are initialized, updated and drawn in a game loop. Now I am unsure on where to declare these things. I could declare them in main() like this #define NUM_ENEMIES 10 #define NUM_BULLETS 20
1
2902
by: fowle040 | last post by:
I underlined and bold print my files. I need to know how to make this code into a working game. The object of the game is to have two players 1- belle and 2-beast. I want them to lose and gain strength and health, when 0 die. I need to know how to make them interact. I need to know what to do with teraform (creek, pasture, brick road) how to add. I need the public interface to look like the forest. classes need to function the program...
1
4445
hpbutterbeer
by: hpbutterbeer | last post by:
We have a Machine Project and my brain is currently in a clouded state. Sorry, I'm just a beginner in C Programming... Text twist is a windows game whose main objective is to form words out of the letters shown on the screen, you move on to the next level when you are able to form a word with all the letters given. In the actual game you click on the letters of the word, in this text version you simply type the words. To be able to...
5
4594
by: alesitaam | last post by:
Help!!!! Im new using python, currently writing a program which tests one game, IQ test. When the module is run, the program should ask user to choose the game to start. Also, I'm using Try...Except statements, and os file operator. My code needs some adjustments, most of all at the end. Please give some tips!!! import os while True: print"Welcome to trivia game!" print "0-Choose a game to play:" print "1- IQ Test.trv"
0
1038
by: smartx | last post by:
Hi, I would like to share my knowledge as a game programmer, really game programming is hard, I don't want to disappoint you, the important point to become a game programmer is to love game programming, this way you will reach your target, also you need to be patient, don't stop on the half of the road, like you are building a great building and when you leave it like you destroy what you built, sure because what you learn needs a practice...
0
10148
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11548
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11140
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11317
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9871
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8239
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7402
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4519
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.