I'm wondering how I would draw walls using pygame, and was wondering whether I would have to screen.blit(tile) for every single tile around the edge, I am hoping there is a simpler way. I only know of the RECT tool to draw sqaures, so I'm unsure.
Here's what I want the game to look like;
Please note: I'm not looking for the whole code, just some pointers on how to draw the outer wall and tile the backdrop.
Go over this tutorial . It has walls, among other things
If you are looking to do 3D games but want to use Python, I would highly recommend looking into PyOgre3D: http://www.ogre3d.org/tikiwiki/PyOgre Its a very powerful graphics engine with Python wrappers around all of it's C code.
Pygame is developing a lot and has a lot of potential, but it definitely has a long way to go with 3D games.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.