[RC1] Manialink Quad BGTitle3_x Clouds

Talk about ManiaLink development in this forum

Moderator: NADEO

Post Reply
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

[RC1] Manialink Quad BGTitle3_x Clouds

Post by w1lla »

Hi,

When trying to use the following code:

Code: Select all

<quad posn="-164 57 0" sizen="330 15" style="Bgs1" substyle="BgTitle3_2"/> 
It seems i see Storm Clouds or Anything like that? It seems the

Code: Select all

background="0"/background="1"
isnt properly covered.

An example of my code:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<manialink version="1" background="1" navigable3d="0"> 
	<timeout>0</timeout>
<quad posn="-164 57 0" sizen="330 15" style="Bgs1" substyle="BgTitle3_2"/>
<script><!--
while(True) {
    foreach(Event in PendingEvents) {
        if (Event.Type == CGameManialinkScriptEvent::Type::KeyPress) {
		if(Event.CharPressed == "2424832") //F1
		OpenLink("http://localhost:8080/test1.xml", ::LinkType::Goto); // -> refreshes
        }
    }
    yield;
}
    --></script>
</manialink>
It happens with all BGTitle3_x substyles aswell as Bgs1 styles.

with kind regards,

w1lla
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
User avatar
m4rcel
Posts: 650
Joined: 15 Jun 2010, 11:12
Contact:

Re: [RC1] Manialink Quad BGTitle3_x Clouds

Post by m4rcel »

I am not sure, if I understand your problem correctly: How about using "Bgs1InRace" instead of "Bgs1", does this solve the problem?

The BgTitle styles have a shadow or so around the actual Quad. With "Bgs1" these shadoes have transparent backgrounds, whereas with "Bgs1InRace" they don't. Yet not all Bgs1-styles are available as Bgs1InRace and vice versa. So try your luck ^^
ImageImage
Image
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: [RC1] Manialink Quad BGTitle3_x Clouds

Post by w1lla »

I tried 'Bgs1inRace' and that solves the problem.

But still it a transparency issue.
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Post Reply

Return to “ManiaLink”

Who is online

Users browsing this forum: No registered users and 2 guests