-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f95b17
commit c32d756
Showing
4 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
title: "Pytris" | ||
titleImageOverride: "Logo.webp" | ||
titleImageStyle: "width: 40%; height: auto; margin: auto;" | ||
date: 2024-07-14 | ||
type: page | ||
summary: "A Tetris clone written in a custom performant Python engine made with Pygame" | ||
roles: ["Creator", "Programmer"] | ||
genre: "Puzzle" | ||
pannelImage: "pytris-comp.webp" | ||
bannerImage: "bkg.webp" | ||
--- | ||
|
||
# Tetris Clone | ||
_Pytris_ is a clone of the classic tetromino puzzle game Tetris. I built this game because my previous attempt at making a Tetris clone was incomplete. For this attempt, I've written an engine to be as performant as Python will allow me to, barring the usage of any JIT compilation techniques. | ||
|
||
I've achieved this by utilizing Pygame's built-in sprite type, `DirtySprite`, and the `LayeredDirty` sprite group. The "Dirty" part of these types denotes when or if the sprite should get redrawn, stopping the renderer from wasting time constantly redrawing some sprites, like backgrounds and other static objects. | ||
|
||
# Video (?) | ||
*Video of it here???* | ||
|
||
# Game | ||
*Link or embedded game here...* |
Binary file not shown.