Find a good method to solve this problem
make a maths game
attributes name:event1 event2 event3 `````ect
if event1 is 1 4 6 8 9 11 23 56 98(any of the number), attribute named "mission1" can be open.
if event2 is 2 3 5 6 7 89 99 74 223,attribute named"mission 2" can be open
I use the foolish method to do that ,it make the true machine run too slow.
![Photobucket](/home/leaving?target=http%3A%2F%2Fi1160.photobucket.com%2Falbums%2Fq487%2Fcmz118%2F3F71900D-5C81-490A-8893-761C27F646C9.png)
I think there are many good method to solve.Friends, if you have a good idea ,please tell me in detail
Thanks!
attributes name:event1 event2 event3 `````ect
if event1 is 1 4 6 8 9 11 23 56 98(any of the number), attribute named "mission1" can be open.
if event2 is 2 3 5 6 7 89 99 74 223,attribute named"mission 2" can be open
I use the foolish method to do that ,it make the true machine run too slow.
![Photobucket](/home/leaving?target=http%3A%2F%2Fi1160.photobucket.com%2Falbums%2Fq487%2Fcmz118%2F3F71900D-5C81-490A-8893-761C27F646C9.png)
I think there are many good method to solve.Friends, if you have a good idea ,please tell me in detail
Thanks!
Answers
Event1 would be a text attribute also and look like this !1!4!6!8!9!11!23!56!98!
Maybe can't. the number has its rule,
Because I must touch different actor,Tap each can get 1 point.At first the number is 0, if "touch" is "pressed" ,change attribute number=number+1.
The numbers"1 4 6 8```" should be integer
#-o
If they need to be an integer, then I believe you would have to go with your original way.
Jack