mgerhardy / caveexpress

CaveExpress is a classic 2D platformer with physics-based gameplay and dozens of levels. CavePacker is a Sokoban game.
http://www.caveproductions.org/
Other
144 stars 20 forks source link

CMAKE: texture merge happens in configure step - should happen after the textures are exported by TexturePacker #85

Open mgerhardy opened 8 years ago

mgerhardy commented 8 years ago

the same visual error appears on ios (simulator and device)

mgerhardy commented 8 years ago

only happens for small texture definition

mgerhardy commented 8 years ago

and happens on ios, macosx and linux - so it's most likely a data issue, not a code issue

mgerhardy commented 8 years ago

The issue is in the class FontDef - the _heightFactor and _widthFactor members are always 1.0 - even for the 50% (small) texturedefinition. It must have something to do with the use of the unordered_map (f168d74dc085f6b37dc2c648635ec765f37c3981)