rocket simulation game with just using tkinter

Sayth Renshaw flebber.crue at gmail.com
Sat Oct 1 04:55:43 EDT 2016


On Saturday, 1 October 2016 08:59:28 UTC+10, Irmen de Jong  wrote:
> Hi,
> 
> I've made a very simple rocket simulation game, inspired by the recent success of SpaceX
> where they managed to land the Falcon-9 rocket back on a platform.
> 
> I was curious if you can make a simple graphics animation game with just using Tkinter,
> instead of using other game libraries such as PyGame.
> As it turns out, that works pretty well and it was quite easy to write. Granted, there's
> not much going on on the screen, but still the game runs very smoothly and I think it is
> fun for a little while where you try to learn to control the rocket and attempt to
> successfully land it on the other launchpad!
> 
> The physics simulation is tied to the game's frame rate boohoo, but the upside is that
> you can change the framerate to control the game's difficulty. It's easy at <=20, fun at
> 30 and impossible at 60 :)  It's running on 30 by default.
> 
> 
> You can get the code here if you want to give it a try:
> https://github.com/irmen/rocketsimulator
> 
> So you just need python 2/3 with tkinter to play this!
> 
> 
> Have fun
> Irmen

Well done. An interesting listen that might be up your alley, how-i-built-an-entire-game-and-toolchain-100-in-python on talkpython

https://talkpython.fm/episodes/show/78/how-i-built-an-entire-game-and-toolchain-100-in-python

Sayth



More information about the Python-list mailing list