Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

Offsetting Resized Enemies.

1 replies · 1,313 views · Started 20 May 2008

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.

User posted image

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

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.