Posts: 11
Threads: 1
Joined: Jan 2016
Ok
Traceback (most recent call last):
File "The A-Grid clipper.py", line 288, in <module>
File "pygame\sysfont.pyo", line 577, in SysFont
RuntimeError: Couldn't load font file
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Thanks given by:
Posts: 11
Threads: 1
Joined: Jan 2016
It works now, but can i somehow make smaller these big speacial attack sprites? For example this char Azriel has very big sprite file called az_ex
Thanks given by:
Posts: 1,556
Threads: 77
Joined: May 2011
The A-Grid Clipper should resize all grids to the minimum. Can you show me az_x.bmp before and after being resized by the program?
Thanks given by:
Posts: 11
Threads: 1
Joined: Jan 2016
I cannot even resize it because again this runtime error comes "need between 2 and (32) array objects (inclusive). So i thought that this program can't resize it. But everything worked well when i tested the clipper to another character called Bonu.
Thanks given by:
Posts: 1,556
Threads: 77
Joined: May 2011
The A-Grid Clipper does not resize your sprites but the grids these sprites are in. The reason this run-time error comes up is because when you scale down the whole grid yourself, and the program tries to read the grid's pixels according to the <bmp> part in a .dat file, it goes out of bounds now that the bmp is smaller. That's not what the program is for.
If you want to resize the attack, then you will have to do more than just scaling the sprite. You'll have to shrink down the itrs and set the center_x/ys and everything related to coordinates of that move in the .dat file.
Posts: 178
Threads: 27
Joined: Sep 2008
Is there any way you'd be willing to reprogram it to support .png?
Thanks given by: