Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

179 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameProject

License

exemple_generation

Project Overview

GameProject is a Pygame game where you explore a vast world from a top-down view.
Our goal is to deliver an immersive and engaging experience where every interaction and challenge brings you closer to victory. Game development is simplified thanks to the integration of a dedicated map editor (conceptor.py).


Project Architecture

Information on project files and directory structure

Structure

GameProject/
├── Assets/
├── Files/
├── image_pou_gitlab/
├── Saves/
├── .gitignore
├── CHANGELOG
├── conceptor.py
├── game.log
├── requirement.txt
├── LICENSE
├── main.py
└── README.md

Content

  • main.py : The main game file, contains the game loop with the menu, game, etc. scenes.

  • conceptor.py : Developer tool to modify the game map.

  • LICENSE : Legal document defining what others can do with the code.

  • CHANGELOG : Document that lists major changes chronologically.

  • requirement.txt : Essential text file that lists all external software dependencies.

  • Files/ : Directory containing all python files.

  • Files/game_mechanics.py : Handles everything related to gameplay (dash, etc...).

  • Files/map_loader.py : Reads and modifies the JSON file.

  • Files/plant_manager.py : Plant management (planting and harvesting).

  • Files/settings.py : Configuration file for screen dimensions, title, etc.

  • Files/procedural_generation.py : File allowing, as its name suggests, to generate a map (mainly Cellular Automata).

  • Files/sound_manager.py : Handles sound effects and music.

  • Files/texture_manager.py : Manages loading and scaling of textures, as well as preparing the grid and collision data.

  • Assets/ : Contains all game assets (images, sounds, piskel, etc.)

  • Saves/ : Contains all game maps (JSON files).

  • Saves/LastSave : Manages the last loaded map and the last positions

  • .gitignore : Specifies the files and directories that Git should ignore and not track, to prevent them from being accidentally added to commits. (Ex: .log files)

  • game.log : Logs activity in the game, conceptor, and important game functions to help with debugging.


World Creation

Goal:

To ensure rapid and efficient development

The GameProject includes a custom-built map editor, named conceptor. This internal tool was designed specifically to facilitate world layout.
Rather than manually coding every map element or having a completely procedural map, ̀conceptor.py` offers an interface to quickly visualize, place, and organize the various components of the game world.

Editor Controls:

  • Z,Q,S,D: to move the map
  • clic Gauche: to place textures (can be held down)
  • M: wall texture mode
  • C: floor texture mode
  • L-Ctrl: change texture mode
  • F3/+: add columns/rows
  • F4/-: remove columns/rows
  • molette: zoom

Quick Start

To clone the project, install dependencies, and run the game locally:

Clone this repository in bash:

git clone https://github.com/MathysFernandez/GameProject.git

install dependencies:

Launch the game with:
main.py

Launch the editor mode with::
concepetor.py


Authors

Name : Fernandez Mathys
GitHub : mon profil
Name : Soilihi Timeo
GitLab : mon profil
Name : Lamoureux Robin
GitLab : mon profil
Name : Pinet Theo
GitLab : mon profil

Pour plus d'information

Aller sur la page Home de notre projet

About

GameProject is a Pygame game where you explore a vast world from a top-down view. Our goal is to deliver an immersive and engaging experience where every interaction and challenge brings you closer to victory.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages