So for future reference I just make @1x physics lua file, and Corona expands this to @2x and @4x?
I do not have to make @2x and @4x physics lua files?
No, thatâs not what I meant. Â
-
Youâre using a tool to generate these files right?
-
That tool generates 2X and 4X lua files?
-
If 1 and 2 are yes, just:
- let the tool generate the files,
- include them in your project as you have been
- code as if youâre only dealing with the 1x files. Â i.e. Let Corona worry about selecting the right images from those you provided (from the tool). Â Donât worry if the @2x, @4x, etc Lua files are not used.
The only thing you care about here is getting the right:
- graphic selected for the right resolution (I verified this is working).
- physics body to wrap that shape (again I verified this).
Question: What triggered this whole conversation? Â i.e. What made you think this wasnât working the the first place? Â Was it the use of âdebugâ instead of âhybridâ draw modes?
Also, remember my tip about modifying the 1/2/4 X images (during debug) so you can visually verify which one is being used.