I am kinda new at this and i am using a tilled icon map.How do i create big npcs(enemys) and attacks using overlays?
|
Oct 21 2013, 9:10 am
|
|
Could you explain in a little more detail what you're looking for? How should the overlays serve you in the code?
|
the overlays sjould do damage too (attacks overlays and enemys overlays do damage if the mob is hit)
|
Switch to the TOPDOWN_MAP format, it's just a pain to do it in TILED_ICON_MAP. Then you just need to create a large icon and set the mob's bound_width and bound_height variables to match (you should round them up to the nearest multiple of your tile size unless you're using pixel movement)
|
TILED_ICON_MAP is deprecated --meaning it's been put in the grave. There's no reason to continue using it. TOPDOWN_MAP format should be used going forward.
This has been the case for several years, and you are only going to do yourself further irritation by continuing to use TILED_ICON_MAP. |