It is currently March 29th, 2024, 5:08 am

How can I fix this stiuation?(Game Launcher)

Get help with creating, editing & fixing problems with skins
szrkygsz
Posts: 11
Joined: May 14th, 2017, 12:36 pm

How can I fix this stiuation?(Game Launcher)

Post by szrkygsz »

I am using game launcher by koutamarto from deviantart.

I am edited this launcher and added some icons, but ı have a trouble with this background , its on screenshot.

How can I fix it?
You do not have the required permissions to view the files attached to this post.
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: How can I fix this stiuation?(Game Launcher)

Post by fonpaolo »

This depends on how and what you've edited, it's impossible to help you, only looking at an image.
To understand what's going wrong, post your code using the tags.
szrkygsz
Posts: 11
Joined: May 14th, 2017, 12:36 pm

Re: How can I fix this stiuation?(Game Launcher)

Post by szrkygsz »

fonpaolo wrote:This depends on how and what you've edited, it's impossible to help you, only looking at an image.
To understand what's going wrong, post your code using the code tags.
Codes like here.

Code: Select all

[Rainmeter]
update=1000

[Metadata]
Name=Games Launcher
Author=koutamarto
Information= Tiled style 5 game launcher. 
Version= 1.2
License= CC BY-NC-SA 4.0

[Variables]
@include=#@#gamepaths.inc

; ----------------------------------
; 				BACKGROUND
; ----------------------------------



[drag]
Meter=IMAGE
ImageName=#@#icons/drag.png
x=40
y=30
H=30
w=30
MouseOverAction=!Execute [!ShowMeter drag1]


[drag1]
Meter=IMAGE
ImageName=#@#icons/drag1.png
x=40
y=30
H=30
w=30
MouseOverAction=!Execute [!ShowMeter drag1][!Redraw]
MouseLeaveAction=!Execute [!HideMeter Drag1][!ShowMeter Drag][!Redraw]
hidden=1


[background]
meter=image
imagename=icons/dock2.png
x=0
y=0
W=550
H=150
SolidColor=0,0,0,1



550
150

; ----------------------------------
; 				GAMES
; ----------------------------------

[game1]
Meter=IMAGE
ImageName=#image1#
x=75
y=7
H=100
w=75

ToolTipIcon=Info
ToolTipTitle=Play
Tooltiptext= #Name1#
AntiAlias=1

LeftMouseDownAction=["#game1#"][play "#sound#"]
MouseOverAction=[!SetOption #CURRENTSECTION# H 150][!SetOption #CURRENTSECTION# W 100][!SetOption game2 X "(Clamp([game2:X]+5,180,180))"][play "#sound1#"][!UpdateMeter #CURRENTSECTION#][!UpdateMeter game2][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# H 100][!SetOption #CURRENTSECTION# W 75][!SetOption game2 X "90r"][playstop][!UpdateMeter #CURRENTSECTION#][!UpdateMeter game2][!Redraw]


[game2]
Meter=IMAGE
ImageName=#image2#
x=90r
y=10r
H=100
w=75

ToolTipIcon=Info
ToolTipTitle=Play
Tooltiptext= #Name2#
AntiAlias=1

LeftMouseDownAction=["#game2#"][play "#sound#"]
MouseOverAction=[!SetOption #CURRENTSECTION# H 150][!SetOption #CURRENTSECTION# W 100][!SetOption game3 X "(Clamp([game3:X]+5,270,270))"][play "#sound2#"][!UpdateMeter #CURRENTSECTION#][!UpdateMeter game3][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# H 100][!SetOption #CURRENTSECTION# W 75][!SetOption game3 X "90r"][playstop][!UpdateMeter #CURRENTSECTION#][!UpdateMeter game3][!Redraw]

[game3]
Meter=IMAGE
ImageName=#image3#
x=90r
y=10r
H=100
w=75

ToolTipIcon=Info
ToolTipTitle=Play
Tooltiptext= #Name3#
AntiAlias=1

LeftMouseDownAction=["#game3#"][play "#sound#"]
MouseOverAction=[!SetOption #CURRENTSECTION# H 150][!SetOption #CURRENTSECTION# W 100][!SetOption game4 X "(Clamp([game4:X]+5,360,360))"][play "#sound3#"][!UpdateMeter #CURRENTSECTION#][!UpdateMeter game4][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# H 100][!SetOption #CURRENTSECTION# W 75][!SetOption game4 X "90r"][playstop][!UpdateMeter #CURRENTSECTION#][!UpdateMeter game4][!Redraw]

[game4]
Meter=IMAGE
ImageName=#image4#
x=90r
y=17
H=100
w=75

ToolTipIcon=Info
ToolTipTitle=Play
Tooltiptext= #Name4#
AntiAlias=1

LeftMouseDownAction=["#game4#"][play "#sound#"]
MouseOverAction=[!SetOption #CURRENTSECTION# H 150][!SetOption #CURRENTSECTION# W 100][!SetOption game5 X "(Clamp([game5:X]+5,450,450))"][play "#sound4#"][!UpdateMeter #CURRENTSECTION#][!UpdateMeter game5][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# H 100][!SetOption #CURRENTSECTION# W 75][!SetOption game5 X "90r"][playstop][!UpdateMeter #CURRENTSECTION#][!UpdateMeter game5][!Redraw]


[game5]
Meter=IMAGE
ImageName=#image5#
x=90r
y=7
H=100
w=75

ToolTipIcon=Info
ToolTipTitle=Play
Tooltiptext= #Name5#
AntiAlias=1

LeftMouseDownAction=["#game5#"][play "#sound#"]
MouseOverAction=[!SetOption #CURRENTSECTION# H 150][!SetOption #CURRENTSECTION# W 100][play "#sound5#"][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# H 100][!SetOption #CURRENTSECTION# w 75][playstop][!UpdateMeter #CURRENTSECTION#][!Redraw]


[game6]
Meter=IMAGE
ImageName=#image6#
x=90r
y=2
H=100
w=75

ToolTipIcon=Info
ToolTipTitle=Play
Tooltiptext= #Name5#
AntiAlias=1

LeftMouseDownAction=["#game6#"][play "#sound#"]
MouseOverAction=[!SetOption #CURRENTSECTION# H 150][!SetOption #CURRENTSECTION# W 100][play "#sound6#"][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# H 100][!SetOption #CURRENTSECTION# w 75][playstop][!UpdateMeter #CURRENTSECTION#][!Redraw]

[game7]
Meter=IMAGE
ImageName=#image7#
x=-20
y=5
H=100
w=75

ToolTipIcon=Info
ToolTipTitle=Play
Tooltiptext= #Name5#
AntiAlias=1

LeftMouseDownAction=["#game7#"][play "#sound#"]
MouseOverAction=[!SetOption #CURRENTSECTION# H 150][!SetOption #CURRENTSECTION# W 100][play "#sound6#"][!UpdateMeter #CURRENTSECTION#][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# H 100][!SetOption #CURRENTSECTION# w 75][playstop][!UpdateMeter #CURRENTSECTION#][!Redraw]
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: How can I fix this stiuation?(Game Launcher)

Post by CyberTheWorm »

szrkygsz wrote:I am using game launcher by koutamarto from deviantart.

I am edited this launcher and added some icons, but ı have a trouble with this background , its on screenshot.

How can I fix it?
Thanks for the code. Now what it the trouble with the background?
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
szrkygsz
Posts: 11
Joined: May 14th, 2017, 12:36 pm

Re: How can I fix this stiuation?(Game Launcher)

Post by szrkygsz »

CyberTheWorm wrote:Thanks for the code. Now what it the trouble with the background?
It's on the my first post with the screenshoot.
I need unlimited backgroud for too more icon on launcher but it's limited,
how can I do unlimited my background on this skin?
User avatar
CyberTheWorm
Posts: 860
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: How can I fix this stiuation?(Game Launcher)

Post by CyberTheWorm »

edit the

Code: Select all

W=550
in the background
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
szrkygsz
Posts: 11
Joined: May 14th, 2017, 12:36 pm

Re: How can I fix this stiuation?(Game Launcher)

Post by szrkygsz »

CyberTheWorm wrote:edit the

Code: Select all

W=550
in the background
I tried it , and refreshed skin but it still limited, I think it's expand for the otherside...
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: How can I fix this stiuation?(Game Launcher)

Post by fonpaolo »

Not really, first of all, remember that what is displayed starts from 0 and goes with positive values.
If you add another launcher:

Code: Select all

[game7]
Meter=IMAGE
ImageName=#image7#
x=-20
y=5
H=100
w=75
...and you put it starting at -20, it will always be truncated.

As a suggestion, this must be positioned as last, using the same x and y values of the previous launchers.
szrkygsz
Posts: 11
Joined: May 14th, 2017, 12:36 pm

Re: How can I fix this stiuation?(Game Launcher)

Post by szrkygsz »

fonpaolo wrote:
As a suggestion, this must be positioned as last, using the same x and y values of the previous launchers.
Does that's mean we can't add an icon on the left side of on this launcher?
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: How can I fix this stiuation?(Game Launcher)

Post by fonpaolo »

Since what is displayed goes only from left to right, starting from 0, you can simply add another launcher, change the first with the game you want (image and link), then edit the next launcher to move the first, and so on, or move the second to the last launcher.

As I said, if you use a negative value, it moves the image to the left side, going out of the skin dimension, so the image is truncated.

Remember, if you add another launcher, you've to increase the background width.