Sharku2011 / GirlsFrontline-pixel-dungeon

Girls Frontline pixel dungeon
GNU General Public License v3.0
18 stars 2 forks source link

about herosprite #32

Closed Moekey114514 closed 4 years ago

Moekey114514 commented 4 years ago

not a issue. I'm a newbie in pd developing. I draw a herosprite with 24 x 24 like GFdungeon did but I found that is too big in map. When I use mirrorscroll , those fake hero will looks like step on my head. Sometimes a mob will do so .

It confused me for a long time and I come here for your help please.

Sharku2011 commented 4 years ago

The original Pixel Dungeon hardcoded the size-related variables to 16 in the tilemap rendering code. If you want to change the size, you have to find and fix the relevant variables one by one, and it will be not as easy as it was for me.

Sharku2011 commented 4 years ago

To be honestly, I failed to change tilemap size without side-effect, I'm still refactoring it.

Moekey114514 commented 4 years ago

but how do GFPD fix this ? GFPD is using 24 x 24 sprite but the size in game is same as 16 like originalPD.

Moekey114514 commented 4 years ago

okey. I'll make my sprite smaller in order to avoid a mirrorhero step on my head. thanks for your answer. GFPD is my favorite PDmod .sincerely thanks to you for your masterpiece ;D