Hi, please bear with me I am new to app development and the COrona SDK but my background is in c# development for .net (so I might be going about things the worng way!).
I am trying to build a ‘join the dots’ type game for my first app. I’ve started by setting up an array of corrdinates for each shape which I then intended to draw on the screen, but scaling has confused me. Say I have this for my triangle:
local shape1 = {
“0,300”,
“150,0”,
“300,300”}
I then have a function which iterates through the array and plots each ‘dot’ to the screen. I am currently testing in the android simulator only.
Will the shape autoscale if viewed on an ipad?
And secondly I had envisaged drawing each shape in a ‘group’ so that I could autocenter the group vertically and horizontally to the screen and then my coordinates would be in relation to the group not the screen. But before I draw anything in the group it always seems to have a width of 0. Am i totally on the wrong track with this?!
Thanks for any help! [import]uid: 139209 topic_id: 24760 reply_id: 324760[/import]
(Try letterbox, which is the default.)