Forum Replies Created
October 2, 2013 at 11:37 pm in reply to: Change action triggered when direction of dragged object changed? #16224
Thanks for the quick reply Alex. Unfortunately I don't know lua which is why I like kwik so much. Starting to pickup and understand the odd line but not keen on using external code at this stage.
You can create a variable to keep track of the number of puzzle pieces that have been placed. Let's call it vCount.Create the button/message that you want to show on complete and hide it.Let's say your puzzle has four pieces;When setting up the drag pieces to your puzzle, set the following action to "trigger action on release"- to add one to vCount- condition if vCount = 5 then show buttonHope this helps, bit hard to explain clearly without showing screen shots. If you have not used variables before I would highly recommend working through the tutorials to help.
Very useful tutorial, thank you. I would also like to know how to:Add audio to the quizIf we were to add an audio file for each question in the quiz to the page, I'm thinking we would need to add the name of the audio file to the value table in variable quiz, how would we tell it to play the audio? Add image to answersNot sure if this one is achievable but I would like to add a image for each answer. So the question what colour is the sky would bring up a blue, pink and green image. I guessing each set of images would need to be placed on the page and hidden, then when question 1 is randomly picked, image set 1 is also shown?Sorry I realise I am probably asking for a whole new tutorial here...thanks in advanceK
Kilopop and Alex Thanks for your replies. Kilopop's code has done the trick as I still want to be able to see the object but need it independent from the group. This way looks at lot more efficient than my work around.
Tanya,No, I don't have any apps to show yet. Lots of work in progress but time poor. Have set myself a target so will see how we go.FYI your lite version of dress up app opens on my iPad upside down (I have home key on left) and won't rotate on an unlocked screen. Stamp and sketch rotates fine. (I have emailed you at yours games add)K
Hi Tanya,I understand your View point there. I do regularly delete saved photos when my children get snap happy.My 4 year old was happily playing with your app and then said "can we not take a photo?" he was looking for a camera button. I guess it is a function that he is quite used to seeing when playing with a sticker book style app. I think once a child has used a camera function once they will soon understand what a camera button with sound simulation does. He doesn't go in to the photo area, he is happy to know it is stored and will sometimes ask to email it to someone (I'll email it for him)Not a critism, just a thought. He still had fun without a save/photo function. Would be very interesting to hear other parents thoughts on this function.K
HiI took the first code - thank you.Congrats on publishing your app. Some nice characters and I like the bright colours. Have you thought about using kwiks screen grab option so that users can save their creations? I will let my youngest beta tester have a play when he comes home later.KFebruary 21, 2013 at 3:20 am in reply to: Object move to its original position if dragged to the wrong drop area? #14235
Hi psimedia and KarenDI have a puzzle where my objects bounce back to their starting point if placed in the wrong spot. Kwik made it nice and simple. (I'm no coder)When you create the 'drag object' interaction the last option in the drag box is 'trigger action on release' you need to create an action to go here.Add an action Name (act_returnA)CommonMove/scaleSelect the layer for the object you wish to returnEnter x and y CreateNow add (act_returnA) to the trigger action on releaseThis should now have your puzzle piece returning to start or locking if correct.Hope this helps, (or maybe I miss understood your request)
Thanks for the tips Alex. Using the game puzzle tutorial as a guide I was able to create a puzzle that plays one sound on lock and another if complete. Not sure I used the most efficient approach as I created a new check action for each puzzle piece. But it works! 🙂