View Full Version : Element alignment question. Hard to explain in title

11-24-2012, 05:42 PM
Guys, I'm trying to make an rpg game engine. For curiosity and an interest to upgrade to 3d later.So far you guys have been very helpful. Thanks to you I have implemented primitive tilesets.

I already have splash screens, sprites(entire character objects), menu boxes, and some half finished stuff. Wish me luck!

By the way, no use of canvas. I like it, but it seems more practical to use harware accellerated elementd compared to live canvas drawing, yes?

On to the question!

I would like to align a table to a user inputted x, y to referrig to a td(its position in the tilemap/table, not its x, y), then align that td with a sprite element that is centered on the screen.

Make sense? Its an engine so almost everything is created on the fly.

Thanks in advance!!!