This repository has the lessons of the gamming programming course

Overview

learning-python-game-programming

This repository has the lessons of the gamming programming course

Na faculdade, estou fazendo a disciplina de programação para jogos I. Para aprender a criar games em Python, estou desenvolvendo o Pong, um clássico muito simples mas que contém todos os princípios e boas práticas na construção de jogos. Criei este repositório publico no Github para compartilhar a minha evolução. Pretendo também fazer projetos pessoais para desenvolver ainda mais minhas habilidades em programação para jogos.

Como cada aula está organizada?

Cada aula será colocada em uma pasta do tipo lesson (lesson-01, lesson-02 ..., lesson-xx).

Que biblioteca será usada?

O Pygame. Pygame é um módulo do Python usado para criar video games. Isso te permite criar completas funcionalidades de jogos e multimídea na linguagem Python.

Pygame é livre. Sob a licença LGPL, com ele você pode criar games open source, freeware, shareware, e comerciais. Leia a licença para amis detalhes.

Instalaçao do Pygame

Para usar o Pygame você precisa do python, é claro! Se você ainda não tem, pode baixar em python.org. Use a versão python 3.7.7 ou maior, porque são mais amigáveis para você, caro newbie, além de rodar mais rápido.

A melhor forma de baixar o pygame é com a ferramenta pip (É o que o python usa para instalar pacotes). Se você fez certo e instalou o python em uma versão mais recente, o pip já vem instalado. Nós usamos a flag --user para dizer para o pip instalar no diretório home, ao invés do global.


É provável que dê um erro, mas não se desespere. Use python ao invés de python3 e tente novamente.


E aí? Será que deu certo? Para verificar use o comando a seguir:


ou


Se tudo ocorreu bem até aqui, vai aparecer um joguinho na sua tela. Se isso acontecer, você está no caminho certo e já pode passar para o próximo level :)

parte 1 - Game loop - desenhando criando estrutura básica

O códico fonte completo desta estapa está em lesson-01/main.py

Owner
Mateus Faustino
Front end Web developer learning full stack; Electrical Engineering Student
Mateus Faustino
This is a script which can be used to autobattle, upgrade metamon, compose eggs and open eggs in metamon game.

This is a script which can be used to autobattle, upgrade metamon, compose eggs and open eggs in metamon game. The only parameters you need to input are you wallet address and sign. The sign can be o

Taxiria 37 May 11, 2022
A visualization of how much Manchester United fans enjoyed each game from the first half of the 21/22 Premier League season.

Man-Utd-Fan-Satisfaction-Levels-First-19-games A visualization of how much Manchester United fans enjoyed each game from the first half of the 21/22 P

1 Jan 19, 2022
Small game I made in 2019 using python/pygame.

Kill-The-Blokk // Shoot or Die This is a small game I made in gr.10 (2019) for my high school computer science class; the game was coded in python usi

1 Nov 13, 2021
Creating Tetris with Pygame

Tetris 🤝 Contributing Contributions, issues and feature requests are welcome! Feel free to check issues page. Show your support Give a ⭐️ if this pro

Gavin Capriola 0 Mar 01, 2022
TicTacToc - Simple TicTacToc game played by minimax algorithm

TicTacToc simple TicTacToc game played by minimax algorithm. This app is based o

5 Apr 05, 2022
Generates and prints proxies for the card game Magic: the Gathering

MTG-Proxy-Generator This program generates proxies for the card game Magic: the Gathering. These proxies can then be printed off and used. These copie

Carl L. 1 Jan 31, 2022
MiTM proxy server for Darza's Dominion

Midnight A MiTM proxy server for Darza's Dominion, PC version. See this video for a demonstration of godmode: https://youtu.be/uoqvSxmnCJk How to use

2 Oct 24, 2022
FlappyBird game with python and pygame

FlappyBird game with python and pygame

Mohammad Dori 4 Jul 15, 2022
This is a two player snake game

Trake This is a two player snake game How to play the game There is food and two players. You try to eat food to become large and gain points. Player

Grrub 1 Dec 19, 2021
XPlaneROS is a ROS wrapper for the XPlane-11 flight simulator.

XPlaneROS XPlaneROS is a ROS wrapper for the XPlane-11 flight simulator. The wrapper provides functionality for extracting aircraft data from the simu

AirLab Stacks 26 Dec 04, 2022
Quantum version of the game Tic Tac Toe.

QTicTacToe Quantum version of the game Tic Tac Toe. This game was inspired by the game at this site. Installation The game requires the qiskit python

1 Jan 05, 2022
Termordle - a terminal based wordle clone in python

Termordle - a terminal based wordle clone in python

2 Feb 08, 2022
offline bot for game on chrome

Бот офлайн игры браузера CHROME В автоматическом режиме запускает браузер Chrome под ОС windows, так же автоматически определяет разрешения экрана, на

Andrej Marinchenko 19 Dec 17, 2022
A multiplayer RPG Discord bot, where you play as a god.

To run Ensure your Python is up to date, and install packages from requirements.txt Duplicate secrets-template.yaml, and name it secrets.yaml Insert y

4 Jan 18, 2022
Datamining of 15 Days of (free) Games at the Epic Games Store (EGS).

EGS: 15 Days of Games This repository contains Python code to data-mine the 15 Days of (free) Games at the Epic Games Store (EGS). Requirements Instal

Wok 9 Dec 27, 2022
🐥Flappy Birds🐤 Video game. With your help I can go through🚀 the pipes. All UI is made with 🐍Pygame🐍

🐠 Flappy Fish 🐢 I am Flappy Fish 🐟 . With your help I can jump through the pipes and experience an interesting and exciting flight deep into the fi

MohammadReza 2 Jan 14, 2022
Recreation of HexGame in Pygame. More features will come soon !

Hex with Pygame Historical point of view What Are the rules of this game ? Some Strategies and tips The algorithm for the Win Other fonctionnalities W

4 Mar 26, 2022
Game code for Evennia servers designed for use with ALPACASclient.

ALPACASgame Game code for Evennia servers designed for use with ALPACASclient. This code is meant to be a type of "compatability layer" between the AL

FreeDelete Software 1 Nov 07, 2021
Setup minecraft server (Tuinity) to your directory

hapeshiva server-setup Setup minecraft server (Tuinity) for you. Support for optimization Create optimized yml Customazible server port and view dista

3 May 11, 2022
Este repositorio es creado con el fin de brindar soporte a las personas que están en el proceso de aprendizaje MISIONTIC 2022 en la universidad de Antioquia

Este repositorio es creado con el fin de brindar soporte a las personas que están en el proceso de aprendizaje MISIONTIC 2022 en la universidad de Antioquia. Hecho por los estudiantes para los estudi

Andrés Mauricio Gómez 11 Jun 22, 2022