Word game


hi in stages of building word game word displayed on screen , letters fall down screen. player required click on correct letters build word appears @ bottom of screen.

 

i have made letters in illustrator. each letter on different layer. question - how best import them flash appear in game?

 

as test imported 1 png, made movie clip, made own class file have alpha , path move on.

i've set start moving when timer starts in constructor file. added event listener letter "a" clicked on. still have remove stage when passes x or y co-ordinates , loop behaviour untill timer has run out.

 

i want many letters glide on screen , start @ random times while timer running.

 

do keep going in same way other letters - each having own class file , manipulating them in constructor file.

 

i have never worked array of anything, think might have learn how arrays letter tiles?

 

 

this small part of game, think best ask/learn specific sections 1 @ time.

 

screenshot.jpg

 

message edited by: buggoop

i don't know need create class file yourself.  if want assign alpha , path think elements defined dynamically.  may have assgn class id each moviclip in library , use dynamically create instance.... flash automatically create class in case.



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account