You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

Sorcery of Uvutu - Screenshots

b/[Completed] Sorcery of Uvutu (TI-84+/CSE) Started by 123outerme, November 10, 2015, 08:42:03 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

u/Dream of Omnimaga December 01, 2015, 02:40:28 AM
ooh I love that new DCS icon O.O. Good job on it.

Also nice job on the gradient. My suggestion would be to make it a bit longer and with the smaller lighter lines inside, though, since on old school platforms that makes the gradient look smoother for some reasons (or at least it gives it an old school feel)


Also what are the other changes so far in this version? EDIT: Nvm, they were posted in the other topic :P
Last Edit: December 01, 2015, 02:45:40 AM by DJ Omnimaga
u/123outerme December 01, 2015, 02:47:27 AM
Quote from: DJ Omnimaga on December 01, 2015, 02:40:28 AM
ooh I love that new DCS icon O.O. Good job on it.

Also nice job on the gradient. My suggestion would be to make it a bit longer and with the smaller lighter lines inside, though, since on old school platforms that makes the gradient look smoother for some reasons (or at least it gives it an old school feel)


Also what are the other changes so far in this version? EDIT: Nvm, they were posted in the other topic :P
I can make the lines reach down farther, but if I want more colors I'm forced to use more space than I'm comfortable with, since when I display the colors I display the ones numberically before them, and if they wrap around to another square (as you see in the pallette visual), then it gets all weird. I can double the size of the gradient without visible speed loss, so I'll do that.
u/Dream of Omnimaga December 01, 2015, 03:00:04 AM
BY all weird, do you mean the wrong colors are displayed or something?
u/123outerme December 01, 2015, 03:03:46 AM
Quote from: DJ Omnimaga on December 01, 2015, 03:00:04 AM
BY all weird, do you mean the wrong colors are displayed or something?
Well, the gradient would jump from say, a deep purple to a light teal.
u/Dream of Omnimaga December 01, 2015, 03:07:11 AM
Hm strange, I don't think this would happen, unless you are using a different set of colors, but even then you could just draw the previous color.
u/123outerme December 01, 2015, 03:09:22 AM
Quote from: DJ Omnimaga on December 01, 2015, 03:07:11 AM
Hm strange, I don't think this would happen, unless you are using a different set of colors, but even then you could just draw the previous color.
I have the overall sky color set to a variable, and when I want to draw the gradient, I add to that, so that the numbers go further to the left of the xLIBC palette graphic. Eventually, it wraps around into a different "square"/palette of colors.
Edit: If you want to update the subforum icon, here it is:
Last Edit: December 01, 2015, 03:11:57 AM by 123outerme
u/Dream of Omnimaga December 01, 2015, 03:24:58 AM
Oh, that isn't a big issue on certain colors. For example, if you made the sky bright blue, you should be fine.

real(0,1,1
real(0,5,3,0
26->A
real(0,3,4,A+5
For(Z,0,4
real(7,9,0,4Z,160,4,Z+A
real(7,5,0,4Z+2,160,AZ+2,Z+A+1,Z=4
End
Repeat getKey
End


You just end up more limited in your color ranges, I guess, but it should be manageable. What can be done too is the following:

real(0,1,1
real(0,5,3,0
26->A
32->B
real(0,3,4,B(A+5
For(Z,0,4
real(7,9,0,4Z,160,4,B(Z+A
real(7,5,0,4Z+2,160,AZ+2,B(Z+A+1),Z=4
End
Repeat getKey
End


This 2nd example allows you, for example, to have a red gradient.

EDIT: Here is another version that only uses 1 variable, but it's larger:

real(0,1,1
real(0,5,3,0
26.32->A
real(0,3,4,100fPart(A)5+int(A
For(Z,0,4
real(7,9,0,4Z,160,4,100fPart(A)Z+int(A
real(7,5,0,4Z+2,160,AZ+2,100fPart(A)(Z+1)+int(A),Z=4
End
Repeat getKey
End



Examples of backgrounds:

Hell: 0.32 (red)
Winter: 26.33 (white)
Regular sky: 26.01 (blue)
Indoors: 8.01 (grayscale)
Dream: 46.31 (green to pink)
In the middle of a nuclear strike: 234.01 (yellow)
EDIT: Fixed parentheses in 3rd code snippet, as the wrong colors were given for some values.
Last Edit: December 01, 2015, 03:48:36 AM by DJ Omnimaga
u/123outerme December 02, 2015, 09:51:07 PM
Quote from: DJ Omnimaga on December 01, 2015, 03:24:58 AM
Oh, that isn't a big issue on certain colors. For example, if you made the sky bright blue, you should be fine.

Code/code]

You just end up more limited in your color ranges, I guess, but it should be manageable. What can be done too is the following:

[code]Longer code


This 2nd example allows you, for example, to have a red gradient.

EDIT: Here is another version that only uses 1 variable, but it's larger:

Some more code/code]


Examples of backgrounds:

Hell: 0.32 (red)
Winter: 26.33 (white)
Regular sky: 26.01 (blue)
Indoors: 8.01 (grayscale)
Dream: 46.31 (green to pink)
In the middle of a nuclear strike: 234.01 (yellow)
EDIT: Fixed parentheses in 3rd code snippet, as the wrong colors were given for some values.

I tried it out for myself and that actually looks really good! Although it would make me feel really bad to use, I could see if I can use it. My only problem is that I'm kinda out of variables already, so I'll probably use LX(1) or some custom list thing.
Last Edit: December 03, 2015, 01:17:06 AM by 123outerme
u/Dream of Omnimaga December 03, 2015, 01:06:55 AM
Oh, don't worry, feel free to use the code. :). As for variables, you could always use whatever you normally use for Getkey and animations, since I doubt the gradient will be touched during the entire battle (unless you make a lightning bolt spell, but then you could just use Line invert twice and flash the screen to not erase anything)

Also you misquoted my post because your comment appeared inside your quote :P

EDIT: Also I saw your message about the sub-forum icon above. Not sure why I missed it before. I'll update the icon when I get some time :walrii:
u/123outerme December 03, 2015, 01:17:40 AM
Quote from: DJ Omnimaga on December 03, 2015, 01:06:55 AM
Oh, don't worry, feel free to use the code. :). As for variables, you could always use whatever you normally use for Getkey and animations, since I doubt the gradient will be touched during the entire battle (unless you make a lightning bolt spell, but then you could just use Line invert twice and flash the screen to not erase anything)

Also you misquoted my post because your comment appeared inside your quote :P

EDIT: Also I saw your message about the sub-forum icon above. Not sure why I missed it before. I'll update the icon when I get some time :walrii:
Thanks for letting me use the code, and for updating the icon (when you get around to it). And I've fixed my quote now, thanks :P
u/Dream of Omnimaga December 03, 2015, 07:31:35 PM
There we go. The icon has been updated. :) (I made it transparent, though)
u/123outerme December 04, 2015, 12:37:36 AM
Quote from: DJ Omnimaga on December 03, 2015, 07:31:35 PM
There we go. The icon has been updated. :) (I made it transparent, though)
Huh, that's weird, I don't see it.
u/Dream of Omnimaga December 04, 2015, 03:52:03 AM
Oh, you need to do an hard refresh (Shift+F5 in some browsers) to clear your cache.
u/123outerme December 06, 2015, 11:09:07 PM
Quote from: DJ Omnimaga on December 04, 2015, 03:52:03 AM
Oh, you need to do an hard refresh (Shift+F5 in some browsers) to clear your cache.
Ok, thanks!
Incoming hype! (Not really)
u/Dream of Omnimaga December 07, 2015, 05:01:48 AM
Woah those sprites look really nice inside the game O.O. The area looks quite evil too. I wonder if you can fall inside holes and lose HP? Perhaps there could be secret paths in one or more of the hole. :P
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal