part9
icon_state = "11"
layer = 50
New(client/C)
src.pixel_y -= 30
screen_loc="1,4"
C.screen+=src
client
New()
..()
new /obj/newhuds/part9(src)
Problem description:
The object does not change its pixel_y or pixel_x... any help please:P ?
ID:140543
Nov 28 2009, 10:07 am
|
|
Code:
part9 Problem description: The object does not change its pixel_y or pixel_x... any help please:P ? |
Nov 28 2009, 12:27 pm
|
|
Screen objects do not use pixel_x or pixel_y. There is a special format for screen_loc for pixel offsets.
|
In response to Garthor
|
|
screen loc only places it by 32's what if i want it to be very specific like when using pixel_y we can put pixel_y -= 12 but when im using screen_loc then its either "1,2" which is going up by 32's
|
In response to Agrey123
|
|
In response to Garthor
|
|
i read it and i still dont understand how i am suppose to move it to a specific spot, can you just show me the line to get me started?
|
In response to Agrey123
|
|
Second and third from last paragraphs of the Reference entry. It's pretty damn explicit.
|
In response to Garthor
|
|
yeah i found it lol i didnt read ur reply closely i didnt see where it said "pixel offsets" now i got it to work, thx
|