Orthogonal projection of 2D map.

Started by
12 comments, last by dAND3h 11 years, 4 months ago
The sprites you have probably assumed the game would 'flip' the sprites horizontally at runtime. Left is can be seen as the same as right, just mirror image opposites. Another option is to flip the sprites in an image editor. Even MS Paint has a flip option.

C++: A Dialog | C++0x Features: Part1 (lambdas, auto, static_assert) , Part 2 (rvalue references) , Part 3 (decltype) | Write Games | Fix Your Timestep!

Advertisement
As for tiles that are similar to what you're looking for, are any of the ones here good? http://hasgraphics.com/category/tilesets/

C++: A Dialog | C++0x Features: Part1 (lambdas, auto, static_assert) , Part 2 (rvalue references) , Part 3 (decltype) | Write Games | Fix Your Timestep!

I tried flipping the image with GIMP and pasting the flipped images on to the sprite sheet. But something is wrong. When the object moves right, the movement is jerky. When it moves left, it's smooth.
Are you sure it is an exact mirror of the original? If you don't align the images in the spritesheet an exact distance (usually) then the actual texture will be slightly bigger than the sum of all the animation frames, meaning the frame width/height will be calculated incorrectly

This topic is closed to new replies.

Advertisement