2 Replies - 687 Views - Last Post: 06 May 2016 - 01:37 PM Rate Topic: -----

#1 sigint-ninja   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 148
  • Joined: 05-June 15

making different game screens in pygame

Posted 06 May 2016 - 12:29 PM

whats the best way to make,and be able to change game screens in pygame?

can it be done with functions?
or is it really better to make a class with the screen graphics changing?
i have no experience with classes,maybe this is a good place to start?

i would like to be able to change screens when my controlled UFO reaches the bottom of the screen,and maybe later if it goes to the far left or right.

any ideas warmly welcomed...

This post has been edited by sigint-ninja: 06 May 2016 - 12:32 PM

Is This A Good Question/Topic? 0
  • +

Replies To: making different game screens in pygame

#2 andrewsw   User is offline

  • never lube your breaks
  • member icon

Reputation: 6823
  • View blog
  • Posts: 28,274
  • Joined: 12-December 12

Re: making different game screens in pygame

Posted 06 May 2016 - 12:33 PM

Personally, I recommend you return to studying Python fundamentals, including classes, rather than skipping straight to pygame. (Unless you can find, and study, an excellent tutorial that covers both in tandem, if there is such a thing.)
Was This Post Helpful? 0
  • +
  • -

#3 sigint-ninja   User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 148
  • Joined: 05-June 15

Re: making different game screens in pygame

Posted 06 May 2016 - 01:37 PM

yes maybe i am trying to fly before i can crawl...will do that
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1