x and y coords

Started by
1 comment, last by ARCHIGAMER 23 years, 12 months ago
How do you get the x and y coords for objects etc in a 2d (side scroll). Are there any tutorials on getting this? mainly what i am asking can someone fill me in on x and y coords in game programming.
I wish there was a button on my monitor to turn up the intellegince. Theres a button called 'brightness' but it doesn't work
Advertisement
Well, when you say "getting the x and y coords", you''re really not giving us enough information. Do you mean x and y as in tiles? in pixels? in inches?

We also have NO idea how the structure of your game is set up, so we can''t help get the x and y if we don''t know HOW to get the x and y, see what i mean? The x and y can be anything you want them to be, so you are leaving us hanging here!
You''d want to keep track of the x,y coordinates yourself, instead of having to get them from the game. You''d probably have x,y coords for the player''s position on the entire level as well as on the screen.

hope that helps.

- Daniel
my homepage
- DanielMy homepage

This topic is closed to new replies.

Advertisement