Gah! It bugs me that I can't figure out an elegant, and simple solution to this. If I could use arrays, I could think of something, wouldn't be too different from map visibility code for roguelikes in FreeBasic.
Though that does give me some ideas...
Being from the third world, I reserve the right to speak in the third person.
Using Editor version wip 20170527 gfx_sdl+fb music_sdl
I'll be honest, I'm not sure how an array would help, unless you're really planning on reading and writing pixels on every tick, which I imagine would slow the game down quite a bit. I'm still assuming you'd want a small, non-rectangular area of visibility that appears to move smoothly.
I am Srime
I am Srime
No, no, it's resolved. I've gotten it working well enough, just thinking of ways to optimize it and make it more efficient. Hehe, just being a bit anal about it I guess =p
Being from the third world, I reserve the right to speak in the third person.
Using Editor version wip 20170527 gfx_sdl+fb music_sdl
Being from the third world, I reserve the right to speak in the third person.
Using Editor version wip 20170527 gfx_sdl+fb music_sdl
Hehe, most indeedy.
At times like these, I really should remember that favorite Filipino saying, "Pwede na yan!" Which basically translates into, "Well, it's good enough, and it probably won't go wrong, so to hell with it, I'm leaving it as it is!" Easily one of my most beloved phrases, hehehe.
Being from the third world, I reserve the right to speak in the third person.
Using Editor version wip 20170527 gfx_sdl+fb music_sdl
At times like these, I really should remember that favorite Filipino saying, "Pwede na yan!" Which basically translates into, "Well, it's good enough, and it probably won't go wrong, so to hell with it, I'm leaving it as it is!" Easily one of my most beloved phrases, hehehe.
Being from the third world, I reserve the right to speak in the third person.
Using Editor version wip 20170527 gfx_sdl+fb music_sdl



