Python Forum
Moving chess piece using mouse
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving chess piece using mouse
#7
You can use classes and inheritance in pong too.

I was more referring to whether or not you programmed GUI games before? Is this your firstbgame using pygame?

The reason i ask this is because you have not shown any of the code you built already. There is no way to tell if you are utilizing pygame mechanics properly such as rects for positioning and rendering, or whether you have 1 main game loop or spaghetti code of many, utilizing OOP, etc. So its hard to judge where you are experience-wise.

Chess would be a good second or third GUI game. Pong is a decent first game because its small and simple. You can more easily fix OOP issues, spaghetti code, not using pygame rects, etc. In pong. You can code correctly before moving on to more advanced games.

I would code a sample of your intended action but i cant get to a desktop at this moment.
Recommended Tutorials:
Reply


Messages In This Thread
Moving chess piece using mouse - by reepio13 - Feb-24-2018, 05:47 PM
RE: Moving chess piece using mouse - by nilamo - Feb-24-2018, 06:30 PM
RE: Moving chess piece using mouse - by reepio13 - Feb-24-2018, 06:38 PM
RE: Moving chess piece using mouse - by nilamo - Feb-24-2018, 06:41 PM
RE: Moving chess piece using mouse - by metulburr - Feb-24-2018, 07:39 PM
RE: Moving chess piece using mouse - by reepio13 - Feb-24-2018, 08:53 PM
RE: Moving chess piece using mouse - by metulburr - Feb-24-2018, 09:52 PM
RE: Moving chess piece using mouse - by reepio13 - Feb-24-2018, 11:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Chess on Tkinter Snapping Issues Trinx 6 4,921 Jan-15-2019, 02:07 AM
Last Post: Trinx

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020