Jump to content

Recommended Posts

hello!

I wanna idea how I could do in python:

 

https://metin2.download/picture/R33sYGpBZ116Q1cUWJP6xWv3RGqJOhEV/.png

 

instead of writing that I want to put an image..

Is that possible ?

 

Sorry do not really know how to write in English..

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

If i remember, in Romania you are the best "python" programmer, why do you need help? that thing it's very simple :| and as i remember, you know to write english.

 

Is this an false identity?

 

it isn't simple, if you say that you have no idea what you are talking about :D

I don't think you will get any help with what you want 

Link to comment
Share on other sites

You need to use this 3 things:

self.Board = ui.Board()
self.Board.SetSize(750, 540)
self.Board.SetCenterPosition()
self.Board.Show()


self.ButtonOne = ui.Button()
self.ButtonOne.SetParent(self.Board)
self.ButtonOne.SetUpVisual("d:/ymir work/ui/public/large_button_01.sub")
self.ButtonOne.SetOverVisual("d:/ymir work/ui/public/large_button_02.sub")
self.ButtonOne.SetDownVisual("d:/ymir work/ui/public/large_button_03.sub")
self.ButtonOne.SetPosition(545, 50)
self.ButtonOne.SetEvent(self.Event) # Insert Event Here
self.ButtonOne.SetText("Button Text Here")
self.ButtonOne.Show()


self.Image = ui.ImageBox()
self.Image.SetParent(self.Board)
self.Image.SetPosition(-18, 3)
self.Image.LoadImage("d:/ymir work/ui/game/windows/image.tga")#The image path
self.Image.Show()

They arent in the correct position so you need to make them fit.

Kind Regards

Frozen

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.