ERROR:setReferencePoint() is only available in 1.0 mode. Use Anchor Points instead.

I totally get the error message and all but I’ve only been using lua for a couple weeks now and I have no freakin idea how to use anchor points.

This is the block of code the error message is talking about:

--Notify player if match is found or not local matchText = display.newText(" ", 0, 0, native.systemFont, 26) matchText:setReferencePoint(display.CenterReferencePoint) matchText:setTextColor(0, 0, 0) matchText.x = \_W/2

How would I go about changing this into anchor points and where could I read up on it to???

Thanks

https://coronalabs.com/blog/2015/10/20/tutorial-extending-anchor-points/

Anchor points were part of graphics 1.0. Anchor point no longer work unless you set graphics compatibility to 1.

Man That was on point cuzz!!!

Thanks…

https://coronalabs.com/blog/2015/10/20/tutorial-extending-anchor-points/

Anchor points were part of graphics 1.0. Anchor point no longer work unless you set graphics compatibility to 1.

Man That was on point cuzz!!!

Thanks…