2 Replies - 1364 Views - Last Post: 30 January 2011 - 03:38 PM Rate Topic: -----

#1 ndwhite94  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 29-January 11

GASP and Images

Posted 29 January 2011 - 11:24 AM

I wrote a game program in Python (GASP) that is just 2 circles chasing each other around the screen. However, I want the circles to look like stick figures. I cant figure out how to do it but if you know how I would truly appreciate some advice.

Thanks,
Nick

This post has been edited by atraub: 29 January 2011 - 03:19 PM
Reason for edit:: Added link to GASP's page.

Is This A Good Question/Topic? 0
  • +

Replies To: GASP and Images

#2 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 756
  • View blog
  • Posts: 1,990
  • Joined: 23-December 08

Re: GASP and Images

Posted 29 January 2011 - 03:22 PM

Would you mind posting some source code? Or were you intending to keep things closed source?
Was This Post Helpful? 0
  • +
  • -

#3 Eric115  Icon User is offline

  • coderさん
  • member icon

Reputation: 62
  • View blog
  • Posts: 695
  • Joined: 19-January 09

Re: GASP and Images

Posted 30 January 2011 - 03:38 PM

I'm not sure on the code your using, but are you using something like pygame or something to draw to circles or are they already images? If they're already images, you can make an animated *.gif file of a moving stick man and then use that in the game and just flip the stick figure when it changes directions. Otherwise, if you are drawing the shapes in pygame or something, you will need to draw the stickman and have something so when one part moves to here, this part will move to here, etc. so it looks like it is running.
good luck!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1