Home Forums
10 | 29 | 2020
JoomlaNook Forums
Welcome, Guest
Please Login or Register.    Lost Password?
scaled sprite with right of window?
(0 viewing) 
Imageloader
Go to bottom Favoured: 1
TOPIC: scaled sprite with right of window?
#15065
carterturner
Posts: 105
User Offline Click here to see the profile of this user
scaled sprite with right of window? 3 Years, 2 Months ago  
hello,

I'm having a bit of difficulty aligning the right hand side of a scaled sprite with the right hand side of the device screen/window. The example code below works perfectly for aligning to the left and works for the right when scale=1, but it breaks when scaling for aligning right. I haven't put any code to deal with scaling in the r.h.s. calculation but I've tried a bunch of stuff with no success.

Aligning right hand side of scaled sprite with right of window?


I didn't find the right solution from the Internet.

-References
-giderosmobile.com/forum/discussion/7043/...with-right-of-window

-Data Management Video
 
Logged Logged
  The administrator has disabled public write access.
Go to top