Trying to create a drawing tool on my app

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]

Thank you both Deep Blue Apps and T and G apps i purchased both of your templates and have found T and G’s awesome, i love the fact you have catered for storyboard and director. And its so simple Keep up the good work
[import]uid: 166525 topic_id: 34395 reply_id: 138223[/import]

Hi, got another question I hope you could help me with, I’m creating an app that teaches the user how to draw, Once they go through the steps of learning how to draw each Object they then get to try and draw it I have incorporated a canvas which also Includes a back button so they can look at the steps again but when they return to the Canvas it’s blank again I want to be able to keep the state of the canvas for the user to use

I would have preferred to incorporate like an image popup where there’s five small buttons at the top of the canvas page (for each image in the steps of drawing tutorial) where the user clicks on it and the corresponding step image pops up (canvas is still in background/ not directed to another page) on the screen and has a close button on it so user can resume their drawing. But am still relatively new to all this and cant seem to work it out.

Thanks in advance

also i ended up using template from T and G apps (director template). and modified it for my app. [import]uid: 166525 topic_id: 34395 reply_id: 138241[/import]

Hi Lemi,

FIrst of all thanks a lot for purchasing and we’re glad you like it :slight_smile:

In regards to your question, if you have the five step buttons along the top with an associated ID for each, you could do something like the following to display an image related to that button over everything else.

--Shows your one of your drawing steps images.  
local function showStep( event )  
 if event.phase == "ended" then  
 --Get the id of the button. You have to set this when you create the button  
 local id = event.target.id  
 local image, close  
  
 --Function for closing this step popup.  
 local function closeStep(event)  
 display.remove(image); image=nil  
 display.remove(close); close=nil  
 return true  
 end  
  
 --Open an image that is related to the button you pressed  
 image = display.newImageRect("stepbystep"..id..".png", 480, 320)  
 image.x = \_W\*0.5; image.y = \_H\*0.5;  
 overlayGroup:insert(image) --Insert it ontop of everything else.  
   
 --Then show a close button ontop of that.  
 close = display.newImageRect("closeBtn.png", 40, 40)  
 close.x = \_W-30; close.y = 30;  
 close:addEventListener("tap", closeStep)  
 overlayGroup:insert(close)  
 end  
 return true  
end  
button:addEventListener("touch", showstep)  

Obviously i have just made up the images and groups, but you get the general gist :slight_smile: You could also do it a different way by creating a whole new group inside that function and just transitioning that up onto the screen as a popup. Either way is good! [import]uid: 69826 topic_id: 34395 reply_id: 138257[/import]

Thank you, yay finally got it sorted. hey would it be possible for T & G apps to produce a whack a mole style app where it has levels. each level the moles pop out faster i have tried modifying tutts+ version but a lot missing that i couldn’t figure out. I would definitely buy it.

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

theres one thing im confused by

what does the following mean and how do i fill in this bit or leave it
[lua] local id = event.target.id

–Open an image that is related to the button you pressed
image = display.newImageRect(“stepbystep”…id…".png", 200, 200)
image.x = _W*0.5; image.y = _H*0.5;
overlayGroup:insert(image) --Insert it ontop of everything else.
[import]uid: 166525 topic_id: 34395 reply_id: 138269[/import]

never mind
thank you so much again [import]uid: 166525 topic_id: 34395 reply_id: 138270[/import]

Sorry i didn’t see your questions in time! Glad you got it sorted though, figuring stuff out by yourself is the best way to learn :slight_smile:

I’ve added “Whack a Mole” to our list of templates to create, the list is getting pretty large so i don’t know when it will be made, but we will do it eventually! Thanks for the tip. [import]uid: 69826 topic_id: 34395 reply_id: 138277[/import]

I’m really glad to be wrong in this case! Will definitely give that drawing template a look once my project gets far enough along! [import]uid: 41884 topic_id: 34395 reply_id: 138285[/import]

Thank you again so much [import]uid: 166525 topic_id: 34395 reply_id: 138295[/import]

No problem :slight_smile:

And to clarify Richard, there isn’t any per-pixel painting support in the template, its literally just “cheating” with circles/lines. I’m not sure about Deep Blues Apps template, but theirs is more advanced and probably won’t cheat as much as ours :stuck_out_tongue: [import]uid: 69826 topic_id: 34395 reply_id: 138296[/import]

Thank you both Deep Blue Apps and T and G apps i purchased both of your templates and have found T and G’s awesome, i love the fact you have catered for storyboard and director. And its so simple Keep up the good work
[import]uid: 166525 topic_id: 34395 reply_id: 138223[/import]