Imagesprites

27 views
Skip to first unread message

Stamatis Papadakis

unread,
Jun 13, 2012, 2:22:59 AM6/13/12
to app-inventi...@googlegroups.com
Hello.
In a canvas i have put 10 imagesprites to represent numbers from 0 to 9 with the property visible set to false.
I want with the help of a randominteger call to display imagesprites in the canvas. For example if the number is 3 to display only the first three (imageSprite1, imageSprite2, imageSprite3).
Do you know if it is possible?
Also what do you think is the best idea to manipulate the imagesprites? With the help of a list or separate as the way i already described?

Thank you!
(i am novice in programming)

Taifun

unread,
Jun 13, 2012, 12:13:03 PM6/13/12
to app-inventi...@googlegroups.com
Do you know if it is possible?
yes it is

Also what do you think is the best idea to manipulate the imagesprites? With the help of a list or separate as the way i already described?
you can put the image sprite components into a list and use the advanced features
see an example here http://puravidaapps.com/checkbox.php
Taifun

M Huret

unread,
Jun 13, 2012, 12:24:46 PM6/13/12
to app-inventi...@googlegroups.com
The random factor is described in chapter3 (moleMash) I did something like that with a duck; but only used 1 example
here it is
 
I am working on a drag/drop and display when the image gets to a named area.
 
-=mh=-
 
PS:
 
Come to <tAIR.info> it is free and there are a lot of helpful people there especially on Wednesday
mh_LUCKY_DUCKY.apk

Anthony Barnes

unread,
Jun 13, 2012, 12:35:51 PM6/13/12
to app-inventi...@googlegroups.com
Awesome!

Got somebody that is going to hit you up this evening for help in a drag drop scenario.

Stamatis Papadakis

unread,
Jun 13, 2012, 5:47:57 PM6/13/12
to app-inventi...@googlegroups.com
Hello! I tried to install your app in my phone and it reports me an error.
Also i tried to run it in my pc eith bluestacks but also it reports me an error. Is it possible to send me the source code to see how you handle the  imagesprites ?
Thank you!


 

 

------------------------------------------------------------------------------------

P Please consider the environment before printing this e-mail !

M Huret

unread,
Jun 13, 2012, 10:11:19 PM6/13/12
to app-inventi...@googlegroups.com
did you set your phone to allow "unknown sources"
 
Are you familiar with the basic molemash?
 
-=mh=-

Stamatis Papadakis

unread,
Jun 14, 2012, 3:23:42 AM6/14/12
to app-inventi...@googlegroups.com
Good morning!
Thank you for your advices. I finally did it, but know i have a small problem if you can help me:
I use 3 buttons to display in one button the correct answer and in the other two buttons 2 other possible numbers. 
Everything is working fine except that as i have made my app,  it always in the button1 is displaying the correct answer and the other two buttons random numbers.
Is it possible to make every time to display the 3 possible answers in different buttons?
Reply all
Reply to author
Forward
0 new messages