Return to repo list

tzed

Simple story-driven open world 2D CRPG.
Return to HMagellan.com

commit 137c7e3e820a033c767549caf928bfea3e9dd3f2
parent cf36e05fcd0b6fe8592717c4183889e96cdc3803
Author: Erik Letson <hmagellan@hmagellan.com>
Date:   Sat,  2 Oct 2021 18:01:54 -0500

chk

Diffstat:
Adata/dungeons/testdun1/encounters.json | 24++++++++++++++++++++++++
Adata/images/enemies_battle1.png | 0
Mmain.py | 1-
3 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/data/dungeons/testdun1/encounters.json b/data/dungeons/testdun1/encounters.json @@ -0,0 +1,24 @@ +{ + "factor" : 10, + "rate" : 12, + "parties" : { + "party1" : [ + "Rat1" : { + "name" : "Big Rat", + "sheet" : "enemies_battle1", + "sprite" : [0, 0], + "color" : 9, + "level" : 1, + "xp" : 0, + "hp" : 100, + "mp" : 100, + "sp" : 100, + "phs" : 3, + "mag" : 9, + "agi" : 2, + "chr" : 2, + "luk" : 1 + } + ] + } +} diff --git a/data/images/enemies_battle1.png b/data/images/enemies_battle1.png Binary files differ. diff --git a/main.py b/main.py @@ -2,7 +2,6 @@ import pygame from src import game ## GLOBAL TODO: -# test # 1. The UI is essentially at a different resolution from the actual game. This looks bad. Ideally the game's assets should be available in 2 main # resolutions: 240p (320x240 window AKA 4:3 aspect ratio) and 360p (640x360 window AKA 16:9 aspect ratio). Both of these scale correctly to higher # resolutions (especially the latter) and offer unique advantages: 240p is more accurate to traditional 80's PC and pre-6th generation console