Development Forum |
|
|
the1whoscreams
|
6/11/2017 | |
I'm kind of interested in gengineering some creatures like this one, but I can't figure out how. Would anyone mind telling me? |
Sanely Insane
RisenAngel
Manager
|
6/11/2017 | |
You need to have at least nine pigment bleed genes all set to the same lifestage and with their rotation and swap set to 0.
You can get different variants on that effect if you just set rotation or swap to 0, but one of them does need to be 0 for the effect to happen.
~ The Realm ~
Risen Angel's Creatures Blog
|
Patient Pirate
ylukyun
Manager
|
6/11/2017 | |
If you're getting stuck, you might also benefit from downloading some neon creatures and examining their genomes. |
the1whoscreams
|
6/11/2017 | |
Thanks, Grendel_Man! I now have some unnecessarily elusive knowledge, and, by complete accident, a spooky ghost. |
Patient Pirate
ylukyun
Manager
|
6/11/2017 | |
What values did you use to get the ghost? |
the1whoscreams
|
6/11/2017 | 1 |
I was messing with the pigment genes (not pigment bleed) beforehand, and all of them were set to 255. Combined with that abomination of an effect, the resulting creature was pure white. Then, I gave it Pearl Mermaid legs and a Ghostly Norn tail. Now that I think about it, I'm kind of wondering why neon even happens in the first place. |
Geat_Masta
|
6/11/2017 | |
The swap genes only effect red/blue, but we can see from the ghost that the green channel is extremely high, and downloading the picture of the norn first posted, and opening it in photoshop, shows it's green channel has far more color to it than a normal hebe norn's.
This suggests that these effects are probably due to an overflow/underflow error.
With the spoopy ghost: Clear example of an underflow error, to see how this works you need to know how computers are storing numbers, basically, negative numbers are stored as the opposite bits of positive numbers, less 1. E.g.
+25 = 0b0000_0000_0001_1001
- 25 = 0b1111_1111_1110_0101
Also of note: the colors are being stored as 8 bits of red, 8 bits of green, and 8 bits of blue. Meaning that trying to store that -25 in blue, will result in blue being set to 1110_0101, but there isn't room for the other bits, so they get written into green as 1111_1111 gets written into green. A similar effect is probably happening where red is writing into the blue channel of the preceeding pixel.
So an underflow error easily explains what's happening with the ghost, and how he ended up so spoopy.
This suggests that an overflow error is responsible for the other one also, this is very much the same, except that instead of a negative number, it's a very large positive number.
|
Lurhstaap
|
6/11/2017 | |
Oh THAT'S what you meant by Neon. No wonder I couldn't figure out WTF you meant. XD I've never ever seen that happen in one of my games. Not the first time.
But you know what, there IS a tutorial out there for how to do it. It's just in German and on a now-archived website. I saw it once and couldn't figure out WTF it was talking about. XD Ironic.
Conclude with killer catchphrase.
(Lurhstaap)
"This is not knowledge -
this is information!"
New Model Army, "Courage" |
Peppery One
Papriko
|
6/14/2017 | |
You can also have combinations of 0 and 255, like all swaps on 0 and all rotations 255 or vice versa.
Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis... |