Alphamode seems to get reset to 0 after drawing a sprite (or perhaps zoomsprite it's difficult to tell, but it does reset at some point when drawing sprites). Is there a way to set the default value of alphamode? Basically I pretty much use -1 for everything to get all the correct alpha values, and rarely want to use anything else. Just a bit annoying to have to put ALPHAMODE -1 all the time. To be able to say DEFAULTALPHAMODE -1 would be great.
Cheers
+1
Yes, ALPHAMODE (with a few other commands) get reset after the SHOWSCREEN command. A command to set a default value would be useful...
while 1
draw stuff
showscreen
alphamode -1
wend
?
Quote from: MrTAToad on 2011-Oct-14
Yes, ALPHAMODE (with a few other commands) get reset after the SHOWSCREEN command. A command to set a default value would be useful...
:good:
Ocean:that is what I ask for in the first post
As for setting to -1 at the end well some commands seem to reset it
Cheers
I think only SHOWSCREEN should reset ALPHAMODE, if a DRAWSPRITE or ZOOMSPRITE resets it, it is probably a bug?
Glen Grant, reducing your attention and reading comprehension since the 19th century. :booze:
Glenfiddich? Single Mall Scotch Whisky? :booze: I'll dzrink to zhat! Hic.
This is what I found.. and it's not just SHOWSCREEN, because it honestly seemed like every time I had a new function that drew something I had to call ALPHAMODE again. My guess was that it somehow was related to the scope you call it in...