From 0d601478e7809958a9f30d83a38428d401aa538a Mon Sep 17 00:00:00 2001 From: NielsCoding Date: Wed, 15 Feb 2023 21:23:21 +0100 Subject: architecture --- docs/architecture.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/architecture.md b/docs/architecture.md index 4ebc674..635d8f8 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -277,4 +277,9 @@ These signals will be generated using PWM, this allows a digital signal to act a ![Audio signal with PWM](../assets/audioPWM.svg) This figure shows an example signal (in blue), created by the FPGA. and the corresponding analog signal (in red). +# level design +To create sprites the program to be used is aseprite, aseprite exports their sprite palette and puts them in our 2d map editor. For creating 2d levels were using Tiled as our 2d map editor. With this software, we can create and export our maps with our preferred technique. indexes are the technique we’re using to export our levels from the microcontroller to the FPGA. Below you see a picture explaining what indexes are and how they are implemented. +![Indexed color example](../assets/indexes.PNG) + +What kind of data type a specific index is and how large a number can go up to hasn't been decided yet. But I think it is going to be hexadecimal with around the size of 8 to 12 bits( two / three hexadecimal). -- cgit v1.2.3