3 Replies - 296 Views - Last Post: 07 June 2015 - 03:00 PM Rate Topic: -----

#1 sigint-ninja  Icon User is online

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 39
  • Joined: 05-June 15

Any good tutorial on drawing an image to a surface...

Posted 06 June 2015 - 04:58 PM

hi guys,

new here...i know the basics of python and have installed the pygame library.
i just cannot find any good tutorials for beginners on doing simple stuff like
making a title screen for a game...so im taking it one step at a time..

i want to put a jpg onto my 640x480 surface
but some of the tutorials i found were really confusing and not clear...
even comments at the bottom of the video were complaining...

the pygame web site is very general with no real help on what i want to do

can anybody help me...or point me to some really hot tutorials

thanks for reading

Is This A Good Question/Topic? 0
  • +

Replies To: Any good tutorial on drawing an image to a surface...

#2 ndc85430  Icon User is online

  • D.I.C Addict
  • member icon

Reputation: 186
  • View blog
  • Posts: 726
  • Joined: 13-June 14

Re: Any good tutorial on drawing an image to a surface...

Posted 06 June 2015 - 11:39 PM

Part of programming involves looking at the API documentation for the libraries you're using, to see if it offers facilities for what you want to do. There might not always be tutorials for things you need to do, but the API docs should give you an idea of what the building blocks are.

I'm not sure what you're trying to do (as I know nothing about making games), but have you looked at the pygame.image module?
Was This Post Helpful? 2
  • +
  • -

#3 Lemur  Icon User is offline

  • Pragmatism over Dogma
  • member icon



Reputation: 1438
  • View blog
  • Posts: 3,609
  • Joined: 28-November 09

Re: Any good tutorial on drawing an image to a surface...

Posted 07 June 2015 - 12:00 AM

What have you tried so far? As ndc already mentioned, a lot of programming is learning to do without tutorials and just reading the API docs.

Now this might be a bit overkill for some beginners, to be fair. That being said, very rarely will things be so straightforward that a tutorial will ever cover all you need, so best to get familiar with documentation whenever possible.
Was This Post Helpful? 1
  • +
  • -

#4 chetherebel  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 8
  • Joined: 02-April 15

Re: Any good tutorial on drawing an image to a surface...

Posted 07 June 2015 - 03:00 PM

Maybe this link can help you:
https://www.youtube....Lgiz45g&index=1

I have been watching it and followed the steps he made, and it gave me a better understanding about drawing something to a screen, and the general movement of sprites.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1