ferram4 has quit [Ping timeout: 383 seconds]
oeuf has joined #Kopernicus
uovo has joined #Kopernicus
egg|zzz|egg has quit [Ping timeout: 198 seconds]
oeuf has quit [Ping timeout: 198 seconds]
uovo is now known as egg
egg has quit [Ping timeout: 198 seconds]
ferram4 has joined #Kopernicus
<
Kopernicus>
KittopiaTech/master 139670e Dorian Stoll: Fix various interface issues (too small scroll areas)
Rokker has quit [Quit: Connection closed for inactivity]
egg has joined #Kopernicus
Mead_ has quit [Ping timeout: 183 seconds]
Rokker has joined #Kopernicus
<
Sigma88>
Thomas, do you know how to use a texture embedded in a dll?
<
Thomas>
You add it as a raw file to a .resx file, then you have a static Variable of type Byte[]
<
Thomas>
You can pass that to new Texture2D().LoadTexture()
<
Sigma88>
I managed to include the image into the vs project
<
Sigma88>
And set it to be an embedded asset (ot whatever it's called)
<
Sigma88>
How do I find the array?
<
Sigma88>
The byte array
<
Thomas>
Did you add it to a .resx file?
<
Thomas>
Or simply added it to the csproj?
<
Sigma88>
I drag n drop ed the image into the project
<
Sigma88>
I read somewhere that you could do that
<
Sigma88>
But I wasn't able to understand how to get access to it
<
Thomas>
It is possible, but way harder than using a .resx file
<
Sigma88>
I'll do that then
<
Sigma88>
CodeCom doesn't exist
<
Sigma88>
What using do I need?
<
Sigma88>
Ok i think i got it
<
Sigma88>
Can't test it right now tho
Mead_ has joined #Kopernicus
<
Sigma88>
thomas, I've added the texture in the resx thingy
<
Thomas>
Make sure you add it as a raw file
<
Thomas>
not directly as a texture
<
Thomas>
and make sure you use png or jpeg
<
Sigma88>
how do I add it as a raw file?
<
Sigma88>
I renamed it to txt
<
Sigma88>
is that how it works?
<
Sigma88>
doesn't sound right
<
Thomas>
txt leads to a string
<
Thomas>
delete the extension and it could work
<
Sigma88>
it's not in the strings tab
<
Sigma88>
it's in the files tab
<
Sigma88>
but I'll try with no extension
<
Sigma88>
sounds safer
<
Qboid>
2d 0h 0m 0s left to event #8: Intelsat 37e & BSAT 4a/Ariane 5 ECA VA239 [at 2017-09-29 21:47:00]. Say '!kountdown 8' for details
<
Sigma88>
thomas, after I have the array how can I get the text?
<
Sigma88>
texture2d
<
Sigma88>
LoadImage() I suppose
egg is now known as egg|zzz|egg
<
Sigma88>
what kind of texture format should I use when creating the Texture2D ?
<
Sigma88>
I'm still having issues