x and y coords
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.
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!
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
hope that helps.
- Daniel
my homepage
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement