×
Create a new article
Write your page title here:
We currently have 133 articles on Open Eggbert. Type your article name above or click on one of the titles below and start writing!



Open Eggbert
133Articles

Sprite Utils: Difference between revisions

(Created page with "Java application, which load positions of sprites from spritesheet.csv Additionally rectangle is drawn around the sprites and each sprite is labeled with number.")
 
No edit summary
Line 1: Line 1:
Java application, which load positions of sprites from spritesheet.csv
Sprite Utils is a Java application used to manage sprite positions in images.


Additionally rectangle is drawn around the sprites and each sprite is labeled with number.
* Sprite positions are saved in spritesheet.csv
 
== Commands ==
 
=== Command: draw ===
Rectangles are drawn around the sprites and each sprite is labeled with its number. in the image
 
Example:
 
<code>java -jar /rv/data/desktop/code/code.nanoboot.org/nanoboot/sprite-utils/target/sprite-utils-0.0.0-SNAPSHOT-jar-with-dependencies.jar \</code>
 
<code>draw \</code>
 
<code>--dir /rv/data/desktop/code/code.nanoboot.org/nanoboot/open-eggbert-legacy-assets/speedy_eggbert_1/IMAGE08  \</code>
 
<code>--rectangle-color 0,255,0  \</code>
 
<code>--sprite-sheet-path /rv/data/desktop/code/code.nanoboot.org/nanoboot/open-eggbert/assets/default-spritesheets/speedy_blupi_I.spritesheet.csv  \</code>
 
<code>--row 5 \</code>
 
<code>--file-name OBJECT.BLP \</code>
 
<code>--double-sized-number true</code>

Revision as of 14:16, 15 August 2024

Sprite Utils is a Java application used to manage sprite positions in images.

  • Sprite positions are saved in spritesheet.csv

Commands

Command: draw

Rectangles are drawn around the sprites and each sprite is labeled with its number. in the image

Example:

java -jar /rv/data/desktop/code/code.nanoboot.org/nanoboot/sprite-utils/target/sprite-utils-0.0.0-SNAPSHOT-jar-with-dependencies.jar \

draw \

--dir /rv/data/desktop/code/code.nanoboot.org/nanoboot/open-eggbert-legacy-assets/speedy_eggbert_1/IMAGE08  \

--rectangle-color 0,255,0  \

--sprite-sheet-path /rv/data/desktop/code/code.nanoboot.org/nanoboot/open-eggbert/assets/default-spritesheets/speedy_blupi_I.spritesheet.csv  \

--row 5 \

--file-name OBJECT.BLP \

--double-sized-number true