Skip to main content
gamedev.net
🔒 Locked

Python & pySDL2

Started by digitalrealm Aug 16, 2014 at 10:37 AM 2 replies 4.3k views
Original Post
digitalrealm
digitalrealm

Hi

I have been trying to learn python for quite some time, with little success. So i have decided to create a project and learn on the way.

Im hoping to use pySDL2 as pygame is kind of outdated. I was able to install pySDL2 without problems. The only problem I am having now is understanding the second line of the pySDL2 tutorial. http://pysdl2.readthedocs.org/en/rel_0_9_3/tutorial/helloworld.html


RESOURCES = sdl2.ext.Resources(__file__, "resources")

I realise this line creates a resource folder but due to my inexperience I am not able to fix this problem. i was hoping someone here has experience and would be able to explain so I can move on with the rest of the tutorial.

Thanks so much

Dan

digitalrealm
digitalrealm

My hunch was correct! Now that I have completed the tutorial I get on with learning python!

mousetail
mousetail

python is a great language, good luck learning it.

My CVMy money management app: ELFSHMy game about shooting triangles: Lazer of Death

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.