3 Replies - 5210 Views - Last Post: 28 November 2011 - 09:21 AM Rate Topic: -----

#1 tonysharp  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 20
  • Joined: 27-March 11

Player / Board Game Interaction with Python

Posted 26 November 2011 - 11:05 AM

I want to make a board game with Python. The gameplay design is done, and the board and pieces are saved as .png files. I have some experience with Python, but I don't know much about using it through a graphical interface.

My Problem: When the player takes their mouse, and clicks on a position on the board, I want something to happen in that spot. :D

Your help would be greatly appreciated.

Is This A Good Question/Topic? 0
  • +

Replies To: Player / Board Game Interaction with Python

#2 Motoma  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 452
  • View blog
  • Posts: 796
  • Joined: 08-June 10

Re: Player / Board Game Interaction with Python

Posted 26 November 2011 - 12:21 PM

First things first: are you using PyGame, or some other framework for drawing? Second, what code do you have?
Was This Post Helpful? 0
  • +
  • -

#3 tonysharp  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 20
  • Joined: 27-March 11

Re: Player / Board Game Interaction with Python

Posted 26 November 2011 - 12:32 PM

View PostMotoma, on 26 November 2011 - 12:21 PM, said:

First things first: are you using PyGame, or some other framework for drawing? Second, what code do you have?

That's part of the problem. I have no experience with connecting Python code with interfaces. I don't know where to start.

Perhaps I should start by researching Pygame?
Was This Post Helpful? 0
  • +
  • -

#4 Motoma  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 452
  • View blog
  • Posts: 796
  • Joined: 08-June 10

Re: Player / Board Game Interaction with Python

Posted 28 November 2011 - 09:21 AM

Yes, PyGame is definitely the place to start if you are making a game :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1