├── 1.-introduccion ├── 1.-surface.py ├── 10.-update_text.py ├── 11.-sounds.py ├── 12.-key_event.py ├── 13.-pressed.py ├── 14.-mouse_event.py ├── 15.-pos_mouse.py ├── 16.-move_image.py ├── 17.-collition.py ├── 18.-circle_collition.py ├── 19.-mask.py ├── 2.-colors.py ├── 3.-rects.py ├── 4.-objects.py ├── 5.-polygon.py ├── 6.-surfaces.py ├── 7.-images.py ├── 8.-text.py ├── 9.-time.py ├── images │ ├── codi.png │ ├── medium_circle.png │ └── small_rectangle.png ├── roboto │ ├── LICENSE.txt │ ├── Roboto-Black.ttf │ ├── Roboto-BlackItalic.ttf │ ├── Roboto-Bold.ttf │ ├── Roboto-BoldItalic.ttf │ ├── Roboto-Italic.ttf │ ├── Roboto-Light.ttf │ ├── Roboto-LightItalic.ttf │ ├── Roboto-Medium.ttf │ ├── Roboto-MediumItalic.ttf │ ├── Roboto-Regular.ttf │ ├── Roboto-Thin.ttf │ └── Roboto-ThinItalic.ttf └── sounds │ ├── Haggstrom.mp3 │ └── coin.wav └── project ├── game ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── coin.cpython-37.pyc │ ├── config.cpython-37.pyc │ ├── game.cpython-37.pyc │ ├── platform.cpython-37.pyc │ ├── player.cpython-37.pyc │ └── wall.cpython-37.pyc ├── coin.py ├── config.py ├── game.py ├── platform.py ├── player.py ├── sources │ ├── sounds │ │ ├── coin.wav │ │ └── lose.wav │ └── sprites │ │ ├── background.png │ │ ├── coin.png │ │ ├── jump.png │ │ ├── player1.png │ │ └── wall.png └── wall.py └── main.py /1.-introduccion/1.-surface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/1.-surface.py -------------------------------------------------------------------------------- /1.-introduccion/10.-update_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/10.-update_text.py -------------------------------------------------------------------------------- /1.-introduccion/11.-sounds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/11.-sounds.py -------------------------------------------------------------------------------- /1.-introduccion/12.-key_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/12.-key_event.py -------------------------------------------------------------------------------- /1.-introduccion/13.-pressed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/13.-pressed.py -------------------------------------------------------------------------------- /1.-introduccion/14.-mouse_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/14.-mouse_event.py -------------------------------------------------------------------------------- /1.-introduccion/15.-pos_mouse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/15.-pos_mouse.py -------------------------------------------------------------------------------- /1.-introduccion/16.-move_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/16.-move_image.py -------------------------------------------------------------------------------- /1.-introduccion/17.-collition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/17.-collition.py -------------------------------------------------------------------------------- /1.-introduccion/18.-circle_collition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/18.-circle_collition.py -------------------------------------------------------------------------------- /1.-introduccion/19.-mask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/19.-mask.py -------------------------------------------------------------------------------- /1.-introduccion/2.-colors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/2.-colors.py -------------------------------------------------------------------------------- /1.-introduccion/3.-rects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/3.-rects.py -------------------------------------------------------------------------------- /1.-introduccion/4.-objects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/4.-objects.py -------------------------------------------------------------------------------- /1.-introduccion/5.-polygon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/5.-polygon.py -------------------------------------------------------------------------------- /1.-introduccion/6.-surfaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/6.-surfaces.py -------------------------------------------------------------------------------- /1.-introduccion/7.-images.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/7.-images.py -------------------------------------------------------------------------------- /1.-introduccion/8.-text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/8.-text.py -------------------------------------------------------------------------------- /1.-introduccion/9.-time.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/9.-time.py -------------------------------------------------------------------------------- /1.-introduccion/images/codi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/images/codi.png -------------------------------------------------------------------------------- /1.-introduccion/images/medium_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/images/medium_circle.png -------------------------------------------------------------------------------- /1.-introduccion/images/small_rectangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/images/small_rectangle.png -------------------------------------------------------------------------------- /1.-introduccion/roboto/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/LICENSE.txt -------------------------------------------------------------------------------- /1.-introduccion/roboto/Roboto-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/Roboto-Black.ttf -------------------------------------------------------------------------------- /1.-introduccion/roboto/Roboto-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/Roboto-BlackItalic.ttf -------------------------------------------------------------------------------- /1.-introduccion/roboto/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/Roboto-Bold.ttf -------------------------------------------------------------------------------- /1.-introduccion/roboto/Roboto-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/Roboto-BoldItalic.ttf -------------------------------------------------------------------------------- /1.-introduccion/roboto/Roboto-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/Roboto-Italic.ttf -------------------------------------------------------------------------------- /1.-introduccion/roboto/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/Roboto-Light.ttf -------------------------------------------------------------------------------- /1.-introduccion/roboto/Roboto-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/Roboto-LightItalic.ttf -------------------------------------------------------------------------------- /1.-introduccion/roboto/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/Roboto-Medium.ttf -------------------------------------------------------------------------------- /1.-introduccion/roboto/Roboto-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/Roboto-MediumItalic.ttf -------------------------------------------------------------------------------- /1.-introduccion/roboto/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/Roboto-Regular.ttf -------------------------------------------------------------------------------- /1.-introduccion/roboto/Roboto-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/Roboto-Thin.ttf -------------------------------------------------------------------------------- /1.-introduccion/roboto/Roboto-ThinItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/roboto/Roboto-ThinItalic.ttf -------------------------------------------------------------------------------- /1.-introduccion/sounds/Haggstrom.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/sounds/Haggstrom.mp3 -------------------------------------------------------------------------------- /1.-introduccion/sounds/coin.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/1.-introduccion/sounds/coin.wav -------------------------------------------------------------------------------- /project/game/__init__.py: -------------------------------------------------------------------------------- 1 | from .game import Game 2 | -------------------------------------------------------------------------------- /project/game/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /project/game/__pycache__/coin.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/__pycache__/coin.cpython-37.pyc -------------------------------------------------------------------------------- /project/game/__pycache__/config.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/__pycache__/config.cpython-37.pyc -------------------------------------------------------------------------------- /project/game/__pycache__/game.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/__pycache__/game.cpython-37.pyc -------------------------------------------------------------------------------- /project/game/__pycache__/platform.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/__pycache__/platform.cpython-37.pyc -------------------------------------------------------------------------------- /project/game/__pycache__/player.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/__pycache__/player.cpython-37.pyc -------------------------------------------------------------------------------- /project/game/__pycache__/wall.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/__pycache__/wall.cpython-37.pyc -------------------------------------------------------------------------------- /project/game/coin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/coin.py -------------------------------------------------------------------------------- /project/game/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/config.py -------------------------------------------------------------------------------- /project/game/game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/game.py -------------------------------------------------------------------------------- /project/game/platform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/platform.py -------------------------------------------------------------------------------- /project/game/player.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/player.py -------------------------------------------------------------------------------- /project/game/sources/sounds/coin.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/sources/sounds/coin.wav -------------------------------------------------------------------------------- /project/game/sources/sounds/lose.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/sources/sounds/lose.wav -------------------------------------------------------------------------------- /project/game/sources/sprites/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/sources/sprites/background.png -------------------------------------------------------------------------------- /project/game/sources/sprites/coin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/sources/sprites/coin.png -------------------------------------------------------------------------------- /project/game/sources/sprites/jump.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/sources/sprites/jump.png -------------------------------------------------------------------------------- /project/game/sources/sprites/player1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/sources/sprites/player1.png -------------------------------------------------------------------------------- /project/game/sources/sprites/wall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/sources/sprites/wall.png -------------------------------------------------------------------------------- /project/game/wall.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/game/wall.py -------------------------------------------------------------------------------- /project/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codigofacilito/pygame/HEAD/project/main.py --------------------------------------------------------------------------------