Post new topic    
Page «  1, 2
Metal King Slime
Send private message
 
 PostThu Mar 29, 2012 2:56 am
Send private message Reply with quote
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
Metal Slime
Send private message
 
 PostThu Mar 29, 2012 3:42 am
Send private message Reply with quote
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
Metal King Slime
Send private message
 
 PostThu Mar 29, 2012 4:59 am
Send private message Reply with quote
Oh, this isn't resolved yet? What is it that you want?
Metal King Slime
Send private message
 
 PostThu Mar 29, 2012 7:07 am
Send private message Reply with quote
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
Liquid Metal King Slime
Send private message
 
 PostThu Mar 29, 2012 2:05 pm
Send private message Reply with quote
Optimizing things that are not actually measurably slow is the road to madness ;)
Metal King Slime
Send private message
 
 PostThu Mar 29, 2012 2:13 pm
Send private message Reply with quote
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
Display posts from previous:
Page «  1, 2