Python Tutorial: How to Generate Game Tiles with Python Imaging Library

A Python tutorial on how you can use Python Imaging Library to generate tiles for your game. By Ray Wenderlich.

Leave a rating/review
Save for later
Share
You are currently viewing page 2 of 2 of this article. Click here to view the first page.

Contents

Hide contents

Python Tutorial: How to Generate Game Tiles with Python Imaging Library

10 mins

Where To Go From Here?

Here’s a copy of the Python script using PIL we’ve developed in the above Python tutorial.

At this point you should know the basics of using PIL for saving yourself time for monotonous image manipulation like this.

It’s definitely come in handy for me for my latest Cocos2D tile-based project! Speaking of which, if you’re interested in following the development of the project, you can follow @razeware on Twitter!).

If any of you have used PIL for your projects, please comment below! :]