Hi Anders, in addition to what Icy Spark mentioned, we also have our “Guides” as part of our documentation system:
http://docs.coronalabs.com/guide/index.html
The reason you are struggling with most of the 3rd party tutorials has to do with a change we made last summer to move to our new “Graphics 2.0” OpenGL engine. This new engine brought a bunch of changes that fixes up problems in our old API like somethings drawing at X, Y meant drawing the top, left at X, Y where other times it meant drawing the center at X, Y. We made sure every thing’s X, Y means center now. We also stopped using a concept called reference points as a way to let you change the meaning of what X, Y means to an object and use a new construct called Anchor Points. We also modernized our color system from the antiquated 0…255 per color value to 0…1 giving you access to a wider range of colors than before.
We really couldn’t this without breaking changes. However, you can in most cases add this line:
graphicsCompatibility = 1
in your config.lua where you set the width and height and your code will behave as the old engine would expect, making those tutorials work like they should.
There is one other breaking change. We used to use a sprite library that we’ve been warning the community for a while now that we were going to remove. We did that as well. If you’re code uses a line like: sprite = require(“sprite”), and you feel you need to continue using the old sprite library, you can download it from
https://github.com/coronalabs/framework-sprite-legacy
If you want to learn more about moving Graphics 1 based code to Graphics 2 based code, you can read the migration guide here:
http://docs.coronalabs.com/guide/graphics/migration.html