![]() |
Requesting help
I haven't play much and now I forgot how to script custom bar etc. I need help on the showimg. I used:
showimg 1,IMAGE,playerx-13,playery; When I move all the way to the right, the image goes with it. |
1 Attachment(s)
I'm still having the same problem.
|
1 Attachment(s)
and this one for with more detail with the problem.
Yes, I want it to stay on the screen only. |
He said he used playerx and playery for positioning. Don't do that. Use on-screen positioning (with pixels) and changeimgvis to 4 or above.
|
Screenwidth and screenheight variables are the best x.X Don't use playerx and playery positioning, because when you are inside or you go to any side of a level, and you're not in the middle of the screen, it bojangles it all to hell :( PLUS that is set for your screenwidth/height. Most people don't resize, but it's always nice to make it compatible. Using screenwidth/height does not use a deffinative value, instead it's a variable. Look into it. When dealing with screenwidth/height you ALSO have to change the img's visiblity to 4 or more.
---Shifter |
Quote:
|
"Damn it doesn't work."
showimgvis 4; showimg 1,image,screenwidth,screenheight; |
Quote:
// if it's screenwidth or screenheight you won't be able to see the image. changeimgvis 1,4; // you need to give it the index of the image which you want to change the visibility of. |
Quote:
|
| All times are GMT +2. The time now is 01:13 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.