PDA

View Full Version : Offsetting Resized Enemies.



bigjoe
05-20-2008, 01:39 PM
What pointer do you use to offset resized enemies? I got the rest done, the sizing and whatnot, I just need to offset it a bit so it matches the shadow.

EDIT: Here's whats happening. I set TileWidth, TileHeight, ColWidth, and ColHeight. The enemy appears, but his artwork is hanging off to the side of where the collision boundaries and shadow are at. I'll get a pic.

What I want to do is figure out the name of the pointers that will offset him so that his collision will match his shape.

http://bigjoesquests.googlepages.com/zelda001.gif

'scuse the colors of the enemy, haven't bothered to reduce and recolor yet.

Gleeok
05-20-2008, 11:21 PM
Yeah, I checked the wiki and there's nothing about it there either. I spent about 5 minutes just typing in stupid commands to see if I could guess what it was, and tried to compile it, but no, didn't work out so well. I thought I was on to something with sprite->ColChuckNorris, but nope. Nothing.