Nyx - Background Color Change

All about the past, current and future webteases and the art of webteasing in general.
---
Post Reply
User avatar
Sissy Elise
Explorer At Heart
Explorer At Heart
Posts: 307
Joined: Sat Oct 10, 2015 1:52 pm
Gender: Femboy
Sexual Orientation: Open to new ideas!
I am a: Submissive
Dom/me(s): Miss Tress

Nyx - Background Color Change

Post by Sissy Elise »

Here is how to change the background color in nyx:
background 1.png
background 1.png (124.2 KiB) Viewed 921 times
Create or download an image with the background color you wish to use and upload it in nyx or an external server.
Then use this code:

Code: Select all

start#page(
'Testing this out',
mult(
text(<img src="https://s3.amazonaws.com/media.milovana.com/timg/tb_l/971c1f3efc03aeed47ab4c09363fce36268d521d.jpg" height="2000" width="2000"></img>),

horiz(
text(<br/><br/><font color="#000000"><b>This is a layout test</b></font>),
text( <img hspace="100" src="https://s3.amazonaws.com/media.milovana.com/timg/tb_l/6bc4ad5257fa71ad67ff27eb0d78b38cc76c5a9e.jpg" height="360" width="240"></img>),
vert(
text(<br/><br/><font color="#000000"><b>More Text</b></font>),
buttons(page2#,"<font color="#FFFFFF" size="15"><b>Test</b></font>")
)
)

)
);
https://s3.amazonaws.com/media.milovana ... 8d521d.jpg is the pink image url.

Note that the layout looks sightly different in nyx to the flashtease player.
You can view it in the flashtease player without publishing it by going to this address:
https://milovana.com/webteases/showteas ... view=1&id=
(Place your tease id at the end - this can be found at the top of nyx)


Unfortunately it only covers 3/4 of the screen, however you can place another image in that section although it looks strange:
background 2.png
background 2.png (123.49 KiB) Viewed 920 times
This does stop you from putting text in there - although you could put the text on the image.
Maybe your tease logo?

Code: Select all

start#page(
'<img src="https://s3.amazonaws.com/media.milovana.com/timg/tb_l/971c1f3efc03aeed47ab4c09363fce36268d521d.jpg" height="2000" width="2000"></img>',
mult(
text(<img src="https://s3.amazonaws.com/media.milovana.com/timg/tb_l/971c1f3efc03aeed47ab4c09363fce36268d521d.jpg" height="2000" width="2000"></img>),
horiz(
text(<br/><br/><font color="#000000"><b>This is a layout test</b></font>),
text( <img hspace="100" src="https://s3.amazonaws.com/media.milovana.com/timg/tb_l/6bc4ad5257fa71ad67ff27eb0d78b38cc76c5a9e.jpg" height="360" width="240"></img>),
vert(
text(<br/><br/><b><font color="#000000">More Text</b></font>),
buttons(page2#,"<font color="#FFFFFF" size="15"><b>Test</b></font>")
)
)
)
);
  
TEASES   VIDEOS   GAMES   ART
💕  Latest Tease:    Rock Paper Scissors - Visual Game
📼  Latest vids:      Sissy Trainer 22     🆕

Image
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 42 guests