Trying to create a drawing tool on my app

Hi,

I have created and app that teaches people to draw and at the end of each image i’m teaching them to draw, i want to provide a space where the user can have a go at drawing. i found a tutorial for creating the drawing tool in adobe flash but want to either incorporate that or create another one. i would like it to look like it to have the following

  • a place to draw
  • a pencil tool
  • a eraser
  • a clear button
  • colour changer (roughly 10 colours)
  • a save to camera roll button

if anybody could help me, i would be extremely grateful
[import]uid: 166525 topic_id: 34395 reply_id: 334395[/import]

Pretty sure somebody has asked about this stuff before, but the short of it is that I don’t think Corona can pull it off since there’s no per-pixel painting support.

That being said I would search the forums for draw and paint, maybe something similar comes up.

No idea how you would incorporate flash into a mobile project… [import]uid: 41884 topic_id: 34395 reply_id: 136686[/import]

We have that ability in four of our apps, more so in our colouring book app and Wordoodle and to a lesser degree in Forever Lost and Forever Lost Camera, check out the colouring book on our site here - http://www.glitchgames.co.uk/app/my-first-colouring-book/ - and wordoodle here - http://www.glitchgames.co.uk/app/wordoodle/ [import]uid: 119420 topic_id: 34395 reply_id: 136716[/import]

Thank you both for your replies, Glitch games what you have on both your apps is exactly what im looking for, being relatively new to corona and app creation i do not know, nor can i seem to find out how to do this code wise. So any help would be awesome Glitch games.

Thanks again [import]uid: 166525 topic_id: 34395 reply_id: 136720[/import]

Thank you both for your replies, Glitch games what you have on both your apps is exactly what im looking for, being relatively new to corona and app creation i do not know, nor can i seem to find out how to do this code wise. So any help would be awesome Glitch games.

Thanks again [import]uid: 166525 topic_id: 34395 reply_id: 136721[/import]

No problem, for the actual drawing we basically listen to a touch event and then:

  1. Draw a circle at the position of every phase
  2. Draw a line between each phase

This gives a smooth ish line and is the closest we could get without get/set pixel functions.

The rest of what you ask for is actually pretty straight forward. [import]uid: 119420 topic_id: 34395 reply_id: 136758[/import]

Pretty sure somebody has asked about this stuff before, but the short of it is that I don’t think Corona can pull it off since there’s no per-pixel painting support.

That being said I would search the forums for draw and paint, maybe something similar comes up.

No idea how you would incorporate flash into a mobile project… [import]uid: 41884 topic_id: 34395 reply_id: 136686[/import]

We have that ability in four of our apps, more so in our colouring book app and Wordoodle and to a lesser degree in Forever Lost and Forever Lost Camera, check out the colouring book on our site here - http://www.glitchgames.co.uk/app/my-first-colouring-book/ - and wordoodle here - http://www.glitchgames.co.uk/app/wordoodle/ [import]uid: 119420 topic_id: 34395 reply_id: 136716[/import]

Thank you both for your replies, Glitch games what you have on both your apps is exactly what im looking for, being relatively new to corona and app creation i do not know, nor can i seem to find out how to do this code wise. So any help would be awesome Glitch games.

Thanks again [import]uid: 166525 topic_id: 34395 reply_id: 136720[/import]

Thank you both for your replies, Glitch games what you have on both your apps is exactly what im looking for, being relatively new to corona and app creation i do not know, nor can i seem to find out how to do this code wise. So any help would be awesome Glitch games.

Thanks again [import]uid: 166525 topic_id: 34395 reply_id: 136721[/import]

No problem, for the actual drawing we basically listen to a touch event and then:

  1. Draw a circle at the position of every phase
  2. Draw a line between each phase

This gives a smooth ish line and is the closest we could get without get/set pixel functions.

The rest of what you ask for is actually pretty straight forward. [import]uid: 119420 topic_id: 34395 reply_id: 136758[/import]

Thank you again Glitch games, sorry to be a pain but would you know where i could obtain more information about setting up my drawing tool as i cant seem to find what i am looking for, for example a website you could recommend to me.

Thanks again

[import]uid: 166525 topic_id: 34395 reply_id: 137343[/import]

I can’t think of a site with a specific tutorial on drawing apps however you should be able to learn all you need to make one from various tutorials on this site - http://www.learningcorona.com/ [import]uid: 119420 topic_id: 34395 reply_id: 137354[/import]

Thank you, i have searched this site but will try again.

Thanks [import]uid: 166525 topic_id: 34395 reply_id: 137490[/import]

I’m actually just in the process of making a drawing app template for our site. It will probably be done during the week sometime so i will post here to let you know! [import]uid: 69826 topic_id: 34395 reply_id: 137492[/import]

TandG to the rescue! :slight_smile: [import]uid: 119420 topic_id: 34395 reply_id: 137495[/import]

Hi Lemi-Creations,

We have a Drawing/Painting Corona Template available from our website : DBA Canvas - Deep Blue Apps.

It’s easy to customise and has lots of other features built in too to get you started. It already has the initial features you first described, plus a few more. Maybe watch the video / demonstration and have a read of the description to see if it’s what your after.

T and G Apps also has some pretty amazing templates available from their site too, so be sure to check his templates / and his new drawing template when it’s available.

Hope this helps
Wayne
www.deepblueapps.com [import]uid: 125294 topic_id: 34395 reply_id: 137516[/import]

The drawing app from DBA Canvas is great. I based one of my games off of their template. Kids Game Escape - https://itunes.apple.com/us/app/kids-game-escape/id588252273?mt=8&ign-mpt=uo%3D2.

Also, I wouldn’t discount what TandG offers. They have great stuff too and if they release a drawing template, I’d probably buy that one too. [import]uid: 14218 topic_id: 34395 reply_id: 137519[/import]

Thanks to everyone for replying and posting for me, Wayneh i will definitely check it out.

Thanks again [import]uid: 166525 topic_id: 34395 reply_id: 137607[/import]

Thanks for the kind words!

I’ve just uploaded a Drawing Template to our website. It’s a lot more simple than Deep Blue apps template but a great starting point for a Drawing app. If you happen to download it i hope you enjoy it, also if anyone finds any bugs please let me know as i literally only coded it yesterday :slight_smile:

To summarise, if your looking for a fully fledged drawing and painting app i would recommend going for Deep Blue Apps template, if your looking for a simple start with key features then ours may be more suitable.

Thanks,
Jamie Trinder [import]uid: 69826 topic_id: 34395 reply_id: 137612[/import]