Greetings,
during the last time i've repeatedly felt a need for some more advanced graphics command than those that are packed with BlitzMax (max2d).
The first one was quite easy to solve by myself; I made a command in OpenGL that draws a rectangle with individual colors for each edge which fade into each other. People who've seen the menus of the "Final Fantasy"-series (e.g. FF7) probably know what i mean.
My current problem is more difficult. I want to take the shapes (i.e. the alpha-mask) from sprites and use them with different colors. The practical use would be to make the player blink periodically by drawing a white area in its shape onto it. Currently i have no idea how to implement this (in a fast enough way).
I suspect that i'm not the only person who wrote such small extensions for max2d, so my suggestion would be to collect all those functions, possibly into a new module. The higher availability of those functions could somewhat increase the power of BlitzMax for the creation of graphically impressive games; at least i hope so.
The reason i wrote this into the OpenGL forums is that dx sucks in my opinion and so those new commands will most likely have to be done in OpenGL.
during the last time i've repeatedly felt a need for some more advanced graphics command than those that are packed with BlitzMax (max2d).
The first one was quite easy to solve by myself; I made a command in OpenGL that draws a rectangle with individual colors for each edge which fade into each other. People who've seen the menus of the "Final Fantasy"-series (e.g. FF7) probably know what i mean.
My current problem is more difficult. I want to take the shapes (i.e. the alpha-mask) from sprites and use them with different colors. The practical use would be to make the player blink periodically by drawing a white area in its shape onto it. Currently i have no idea how to implement this (in a fast enough way).
I suspect that i'm not the only person who wrote such small extensions for max2d, so my suggestion would be to collect all those functions, possibly into a new module. The higher availability of those functions could somewhat increase the power of BlitzMax for the creation of graphically impressive games; at least i hope so.
The reason i wrote this into the OpenGL forums is that dx sucks in my opinion and so those new commands will most likely have to be done in OpenGL.