[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] very easy snippets to start: where from i can get?



those idea-alter examples are really useful for me in the stage i am
http://www.geocities.com/ek.bhaaluu/python/ is also very in the way i
used to code

thanks again! :-)

-

about oop, i'm really curious about learning it, but i have to see
examples (smaller than 1kb, please...) explaining clearly where and
how the code gets so improved instead as coding them as procedural
(all of my trying experiences on oop coding were completelly
frustrating up to now...)

----------------------------------------------------------------------


On Sun, Jul 27, 2008 at 10:15 PM, Paulo Silva <nitrofurano@xxxxxxxxx> wrote:
> thanks all bookmarks - i'm reading all them, and also all going to
> del.icio.us as well! :-)
>
> ----------------------
>
> On Sun, Jul 27, 2008 at 5:29 PM, bhaaluu <bhaaluu@xxxxxxxxx> wrote:
>> Maybe these examples will help you get an idea of simple Python
>> programming? They are based on ancient line-numbered BASIC
>> code which is in the Text Adventure Game book, linked to on the
>> web page:
>>
>> http://www.geocities.com/ek.bhaaluu/python/index.html
>>
>> There is no PyGame used in those games, but they should be
>> easy to read, since they are based on BASIC from the 80's.
>>
>> I am a hobbyist programmer, so the Python code is not very Pythonistic.
>> However, the code runs okay on my GNU/Linux computer running
>> Python 2.4.4.
>>
>> A very good PyGame tutorial is called
>> GAME PROGRAMMING by Andy Harris [ISBN-13: 978-0-470-06822-9]
>> All the source code for the PyGame example programs in the book are
>> located here::
>> http://www.cs.iupui.edu/~aharris/pygame/
>> That site also has some PowerPoint slides that cover the major points
>> that are in the book.
>>
>> The best Python tutorial, IMHO, is PYTHON PROGRAMMING FOR THE
>> ABSOLUTE BEGINNER by Michael Dawson [ISBN-13: 978-1-59863-112-8].
>> Unfortunately, the source code for that book is not available anywhere
>> that I know of, however, you may be able to find some code snippets
>> if you do a Google Code Search:
>>
>> http://www.google.com/codesearch/advanced_code_search
>>
>> Of course, the PyGame site has some beginning tutorials:
>>
>> http://www.python.org/
>>
>> Also, this is a nice Python tutorial:
>>
>> http://www.learningpython.com/
>>
>> Especially interesting are the step-by-step tutorials
>>
>> http://www.learningpython.com/2006/03/12/creating-a-game-in-python-using-pygame-part-one/
>>
>> Happy Programming!
>> --
>> b h a a l u u at g m a i l dot c o m
>> Kid on Bus: What are you gonna do today, Napoleon?
>> Napoleon Dynamite: Whatever I feel like I wanna do. Gosh!
>>
>> On Fri, Jul 25, 2008 at 7:12 AM, Paulo Silva <nitrofurano@xxxxxxxxx> wrote:
>>>
>>> my coding style (if it can be named as this) is deeply based on
>>> hobbystic ansi-basic from 80's - i'm a bit unknown of definitions, but
>>> maybe it's procedural (i can't find definition from google)?
>>>
>>> thanks!
>>> Paulo
>>>
>>
>