Noob with a basic question

I’m developing an app that creates a comic-like sequence, i.e. four pictures in a 2x2 table. The user gets to choose which pics to put in the four blocks. The problem is I have no idea how to implement such a design, I was initially thinking of adding the table to the UI and whenever the user selects an image, it is added to whichever block, but then I have the problem of saving the 4 images (and the table itself) as one image. [import]uid: 83395 topic_id: 13787 reply_id: 313787[/import]

When you say “saving as one image” - are you actually saving an image to the device, or what? (Sorry, I don’t totally get what your goal is yet ;))

Could you share a few more details, please?

Peach :slight_smile: [import]uid: 52491 topic_id: 13787 reply_id: 50716[/import]

For example, this is a 2x3 sketch:

http://www.google.com.bh/imgres?imgurl=http://upload.wikimedia.org/wikipedia/commons/0/0f/Offensive_comic_strip.jpg&imgrefurl=http://be.wikipedia.org/wiki/%D0%92%D1%8B%D1%8F%D0%B2%D0%B0:Offensive_comic_strip.jpg&usg=__4epMFr6YF7OKHdczAN1qeEgATT8=&h=600&w=600&sz=106&hl=en&start=3&zoom=1&um=1&itbs=1&tbnid=_YEzVWeBGCiwfM:&tbnh=135&tbnw=135&prev=/search%3Fq%3Dcomic%2Bstrip%26um%3D1%26hl%3Den%26biw%3D1280%26bih%3D699%26tbm%3Disch&ei=cF5JTpXEDsW0hAeUodmVBg

I have created empty 2x2 and 2x3 tables that will be displayed on the device, where the user selects either one of the tables and then selects images from the album and inserts them into the empty slots. After the user fills the table to create the sketch, I want him/her to be able to export this new sketch to the album, i.e. as a photo. Hope this clarifies it. Thanks!
[import]uid: 83395 topic_id: 13787 reply_id: 50953[/import]

Would the total size of the image be the screen size? Or would it require dragging?

If the end result is screen size you could screen cap it, maybe? [import]uid: 52491 topic_id: 13787 reply_id: 51085[/import]

My plan is for the image displayed on the screen to merely be a sample, and for the end result to be larger in size without degrading the quality (the user will be able to export the end result to facebook, twitter, email, etc.). Thanks. [import]uid: 83395 topic_id: 13787 reply_id: 51225[/import]

Hey,

At this stage, no - that would not currently be possible. Sorry :frowning: [import]uid: 52491 topic_id: 13787 reply_id: 51267[/import]

Oh well, I guess I should’ve did a bit of planning before directly coding the app. Thanks anyways, I really appreciate it, nice to know there are people willing to help! :smiley: [import]uid: 83395 topic_id: 13787 reply_id: 51405[/import]

Thanks - I appreciate your kind words, especially as it always bums me out a bit when I can’t give a perfect solution. [import]uid: 52491 topic_id: 13787 reply_id: 51541[/import]

Well perhaps you can help me with another issue. Basically I want the user to be able to input text into a label that can be inserted on top of an image. I did a bit of research and it seems that the method I’m looking for is “native.newTextField()”. However, I can’t seem to find any tutorials on how to use it and apparently the simulator can’t run it, therefore I’m not sure if this is even what I’m supposed to use. [import]uid: 83395 topic_id: 13787 reply_id: 51695[/import]

It is what you would want to use, yes :slight_smile:

There is some sample code in the CoronaSDK folder on your computer that will help you set one up if you need it.

You could then get the text the user entered to display by referring to it as yourtextfieldname.text

You can build for Xcode and test it there, which is what I do :slight_smile:

Peach [import]uid: 52491 topic_id: 13787 reply_id: 51720[/import]