Python: PyWeek 32: Lil Miss Vampire

TL;DR A world that scrolls infinitely in any direction, an RPG-like UI, and simple, real-time fighting.

https://rr8---sn-ixaa5n-5ui6.googlevideo.com/videoplayback?expire=1635882037&ei=tSOBYZdhhvHMtQ-7yYjoAQ&ip=141.255.25.124&id=55648fd718dcd184&itag=18&source=blogger&mh=BV&mm=31&mn=sn-ixaa5n-5ui6&ms=au&mv=m&mvi=8&pcm2cms=yes&pl=19&susc=bl&mime=video/mp4&vprv=1&dur=26.819&lmt=1635372295713764&mt=1635852774&txp=1311224&sparams=expire,ei,ip,id,itag,source,susc,mime,vprv,dur,lmt&sig=AOq0QJ8wRgIhAMwkjnd_0fmk8JoCtk-_-PLmXgOwvAyXHBDy-mpt-7F-AiEAg8S6iWuOH36iFhIUpKU60APA2jvz3rRZRKFTsK0yXh0%3D&lsparams=mh,mm,mn,ms,mv,mvi,pcm2cms,pl&lsig=AG3C_xAwRQIgezLDngn5_1ADolUuA9pyGgfQydL6MROb2T748cA7nS8CIQCF97gnJsRvi_PNCqUOhNqW44ebq6B0sphDREidqaWFlg%3D%3D&cpn=XiH3iZ07OP51VpOt&c=WEB_EMBEDDED_PLAYER&cver=1.20211026.01.00


My younger kids and I built this entry for PyWeek 32 based on the theme “Neverending”.

The key innovations are:

The code:

Here’s the GitHub page with more details.

Published on Web Code Geeks with permission by Shannon Behrens, partner at our WCG program. See the original article here: Python: PyWeek 32: Lil Miss Vampire

Opinions expressed by Web Code Geeks contributors are their own.

Exit mobile version