I have some questions mainly about best practices, i thought it was a good idead to ask them here since its more related forum.
.1) do the scrolling directly on DMA or setmapex
Background level image is 256px wide I am using
drawimageex and setverticalscroll since it is very small, can it be an issue?
Related as above. I put hud in PLAN_A for now. But it takes only 64px wide, so im not sure if its good usage of the plan as it is now. I also need it to be in front of my sprites. Currently i do a hack and check if sprite is near to the hud edge..2) Im drawing both hud and background using drawimageex. But i only need 64 pixels for Hud and 256 for stage background. I dont know how to set the planes to be smaller and still not wrap around
I tried to set same addresses xgm player demo and then use setvscroll (...), but got garbled tiles all around the screen.3) plan_window usage. Can be useful for hud but couldnt get it to work.
Currently i use spr_addspr and spr_release when object gets in/leaves screen. But i made exception for bullets and load a fixed size at startup. Does sgdk has a recommended way to dealing with this kind of thing. It may be problematic since i might not know how many enemies will appear same time in screen before hand.Load sprites on demand
Thanks! Thats a lot of questions