Skip to content

Python Module to use Codeskulptre simplegui on Python using pygame

License

Notifications You must be signed in to change notification settings

jimmyahalpara/SinpleGUI2PygameModule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplegui2pygamemodule

this module can be used to run simplegui files on python using pygame step wise procedure:

  1. copy and past your simplegui program in python IDLE
  2. replace import simplegui with import simplegui2pygamemodule as simplegui
  3. and run the code warning - this module sometimes is causing problems with few games and another thing, use only time based movement that is using timer() in simplegui not directly update the position in draw methode else you game movement will increase sharply because execution speed of pygame is very high. tips - if you use this module, you can run you game on python directly which makes it easy for packging in exe also by using some third party modules such as py2exe, pyinstaller, cx_freeze etc.

created by jimmy kumar ahalpara on 4-7-2018, email: jimmyahalpara123@gmail.com

There may be not enough color to RBG values defined in this module. You can add more in the dictionary present in source code. Some colors will be present there