HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Title screen?..

View previous topic View next topic Go down 
AuthorMessage
Claire
Very Helpful
Very Helpful
avatar

Game username : SoftMoon | MissDiealot
Server : Vaellerios (admin) | Lair of the Wolf (admin) | Journey Kingdom (dev)
Female Posts : 326
Join date : 2015-03-03
Age : 16

PostSubject: Title screen?..   Fri May 15, 2015 8:57 pm

Hello,
I was wondering how do you change the dimention of the title picture on the startscreen? ^^'
I don't know if this as been asked before but I can't seem to find the answer.
The picture is a .PNG, but even changing the height and width in the gui.OVERLAY doesn't change much, and I'm stuck with this:

help? ;n;
Back to top Go down
http://missdiealot.deviantart.com/
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: Title screen?..   Fri May 15, 2015 9:58 pm

It doesn't? (May I ask, did you create that title its really nice.)
Back to top Go down
Karro

avatar

Game username : Kovii
Server : Broken Paths(Owner-Host)
Female Posts : 70
Join date : 2015-05-14
Age : 20
Location : There

PostSubject: Re: Title screen?..   Fri May 15, 2015 10:20 pm

Im not sure..Maybe it its like that because of changed weight and height of start screen? It is possible
Back to top Go down
DavidStrides

avatar

Game username : DavidStrides
Server : None
Male Posts : 49
Join date : 2014-12-29
Age : 19
Location : Dirk's Apartment

PostSubject: Re: Title screen?..   Fri May 15, 2015 10:26 pm

If I may ask, did you make it in adobe illustrator? That'll help a lot since I've worked in adobe Illustrator for quite the time now. The only thing that could most likely be wrong if it is is that it was drawn and then put in there or you didn't make it high quality when putting it in. I'm sure just changing your artboard size will make it bigger as that usually worked for me but if it's still having problems it could just be something with the Title screen in game its self rather than the image.
Back to top Go down
Claire
Very Helpful
Very Helpful
avatar

Game username : SoftMoon | MissDiealot
Server : Vaellerios (admin) | Lair of the Wolf (admin) | Journey Kingdom (dev)
Female Posts : 326
Join date : 2015-03-03
Age : 16

PostSubject: Re: Title screen?..   Fri May 15, 2015 10:44 pm

War wrote:
It doesn't? (May I ask, did you create that title its really nice.)
Yup, it doesn't show up properly. (And yes, I did the title myself.)

DavidStrides wrote:
If I may ask, did you make it in adobe illustrator? That'll help a lot since I've worked in adobe Illustrator for quite the time now. The only thing that could most likely be wrong if it is is that it was drawn and then put in there or you didn't make it high quality when putting it in. I'm sure just changing your artboard size will make it bigger as that usually worked for me but if it's still having problems it could just be something with the Title screen in game its self rather than the image.
No, sorry. I've made the title in Photoshop CS6. I have no clue on how Illustrator works. cx
So, should I resize the picture to the original dimention?.. I've seen servers with bigger titles though.
Back to top Go down
http://missdiealot.deviantart.com/
DavidStrides

avatar

Game username : DavidStrides
Server : None
Male Posts : 49
Join date : 2014-12-29
Age : 19
Location : Dirk's Apartment

PostSubject: Re: Title screen?..   Fri May 15, 2015 10:57 pm

Softie wrote:
War wrote:
It doesn't? (May I ask, did you create that title its really nice.)
Yup, it doesn't show up properly. (And yes, I did the title myself.)

DavidStrides wrote:
If I may ask, did you make it in adobe illustrator?  That'll help a lot since I've worked in adobe Illustrator for quite the time now. The only thing that could most likely be wrong if it is is that it was drawn and then put in there or you didn't make it high quality when putting it in. I'm sure just changing your artboard size will make it bigger as that usually worked for me but if it's still having problems it could just be something with the Title screen in game its self rather than the image.
No, sorry. I've made the title in Photoshop CS6. I have no clue on how Illustrator works. cx
So, should I resize the picture to the original dimention?.. I've seen servers with bigger titles though.

Ah, good old photoshop. Yes, just change the original artboard and it should fix it, of course make the image bigger without scewing it after you fix your artboard then save it as a PNG and make it high quality. That should fix it.
Back to top Go down
Nefadozone

avatar

Game username : Nefadozone
Server : Fucko McShitpo
Male Posts : 176
Join date : 2011-11-11
Age : 23
Location : Satan's Asshole

PostSubject: Re: Title screen?..   Sat May 16, 2015 12:22 am

You have to change the size and position of the title in the source code.

EDIT: I was too late to post setdimensions in magixgui Mad

But yeah, setting dimensions will change the final scale (when you do that slow zoom transition into the titlescreen) and the position may be set up in those two places as well. (Position for zoom start, position for zoom finish) Might take a couple re-compiles to get positioning and sizing right so!


Last edited by SET on Sat May 16, 2015 1:23 pm; edited 1 time in total
Back to top Go down
http://wildmidnight.boards.net/
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2575
Join date : 2011-07-24
Age : 30

PostSubject: Re: Title screen?..   Sat May 16, 2015 7:01 am

https://github.com/jespersh/KITO/blob/master/src/client/src/MagixGUI.cpp#L1641-1642
Code:
OverlayManager::getSingleton().getOverlayElement("GUI/StartScreenTitle")->setDimensions(8, 1.2);
OverlayManager::getSingleton().getOverlayElement("GUI/StartScreenTitle")->setPosition(-3.5, -0.29);

https://github.com/jespersh/KITO/blob/master/src/client/src/MagixGUI.cpp#L1650-1651
Code:
OverlayManager::getSingleton().getOverlayElement("GUI/StartScreenTitle")->setDimensions((Real)(0.8 + 0.8 * 9 * tRatio), (Real)(0.12 + 0.12 * 9 * tRatio));
OverlayManager::getSingleton().getOverlayElement("GUI/StartScreenTitle")->setPosition((Real)(0.5 - (0.8 + 0.8 * 9 * tRatio) / 2), (Real)(0.25 - (0.12 + 0.12 * 9 * tRatio) / 2));

Change the four 0.8's and the 8
Change the four 0.12's and the 1.2



Please do notice that the 0.8 is a tenth of 8.

________________________________
Retired
Back to top Go down
ShadoWolfozo

avatar

Game username : ShadoWolfozo
Server : GROWL: Spirits
Male Posts : 875
Join date : 2012-01-22
Age : 22
Location : Australia

PostSubject: Re: Title screen?..   Sat May 16, 2015 7:08 am

Alternatively just change the size of the image and resize the title to be smaller. Since if you don't know anything about the code this is probably quicker and easier for you.

E.g. a 1500x200px image and the title itself is only 800x150 of that.

edit: oooor follow what RedEye just posted.
Back to top Go down
Sponsored content




PostSubject: Re: Title screen?..   

Back to top Go down
 
Title screen?..
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: