Dec 22nd, 1999, 03:43 AM
im makin a pac man game and had a post up before
i have ONE image that i made on a paint program that has all the walls painted in and i need to know the format to tell it when it gets to a certain x or y position (where a wall would be) to stop going nemore in that
direction.
somethin like...
if imgmovingpicture.left+imgmovingpicture.width>
(I NEED TO KNOW HOW TO ENTEr THE X,Y coordinates for the wall here) then
imgmovingpicture=imgmovingpicture.left-10
i dont know if this is clear at all but if you understand how to tell the computer to recognize x,y points please tell me the format
thanks alot
joe
i have ONE image that i made on a paint program that has all the walls painted in and i need to know the format to tell it when it gets to a certain x or y position (where a wall would be) to stop going nemore in that
direction.
somethin like...
if imgmovingpicture.left+imgmovingpicture.width>
(I NEED TO KNOW HOW TO ENTEr THE X,Y coordinates for the wall here) then
imgmovingpicture=imgmovingpicture.left-10
i dont know if this is clear at all but if you understand how to tell the computer to recognize x,y points please tell me the format
thanks alot
joe