The shoutbox is currently out of service. Join us on Discord instead.

Sorcery of Uvutu - Screenshots

Started by 123outerme, November 10, 2015, 08:42:03 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DJ Omnimaga

December 01, 2015, 02:40:28 am #15 Last Edit: December 01, 2015, 02:45:40 am by DJ Omnimaga
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

123outerme

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.

DJ Omnimaga

BY all weird, do you mean the wrong colors are displayed or something?

123outerme

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.

DJ Omnimaga

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.

123outerme

December 01, 2015, 03:09:22 am #20 Last Edit: December 01, 2015, 03:11:57 am by 123outerme
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:

DJ Omnimaga

December 01, 2015, 03:24:58 am #21 Last Edit: December 01, 2015, 03:48:36 am by DJ Omnimaga
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.

123outerme

December 02, 2015, 09:51:07 pm #22 Last Edit: December 03, 2015, 01:17:06 am by 123outerme
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.

DJ Omnimaga

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:

123outerme

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

DJ Omnimaga

There we go. The icon has been updated. :) (I made it transparent, though)

123outerme

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.

DJ Omnimaga

Oh, you need to do an hard refresh (Shift+F5 in some browsers) to clear your cache.

123outerme

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)

DJ Omnimaga

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

Powered by EzPortal