View Full Version: Hello everyone! I have some quick questions...

lassie >>Technical support >>Hello everyone! I have some quick questions...


<< Prev | Next >>

StevenRafael- 03-21-2008
Hello everyone! I have some quick questions...
First, let me introduce myself. I'm a former U.S. Marine, currently unemployed, and waiting to begin college this year (I've got tons of time to kill before September, so why not make a game?). I stumbled onto this website while looking for Flash tutorials since I've recently decided to use my spare time to work on a game. I only have a brief history with Flash, and I'm not too educated with scripting. So you can see I was ecstatic to find an engine like this, at no cost! Well, I've been playing around with the director version for the past few days, but I think I'm going to use Lassie AS for my game. I'm currently working on my character and his animations, and I've got a few questions... I downloaded the demo character, and after reading a few older threads, I pretty much got a picture of how animations work in Lassie. 1. I understand that the walk animations use movie clips, but what about the standing and talking animations? Would it be possible to use animated movie clips for those as well? Basically, I want to have my character's breathing be visible while he's standing, and to move his hands while talking. 2. How would I implement other animations? Such as climbing a ladder? 3. What is the purpose of the frame labeled "move" (the one preceding "move1") if it isn't an animation?? 4. Is it possible to have two different controllable characters? For example, completing one puzzle switches the player's control to another character tasked with a puzzle in a different room... And would these characters share an inventory? Thanks!

NigeC- 03-21-2008

Hi and welcome :) If you use Lassie AS Yes you can have animation with standing and talking ) i had a character scratching himself if he was stood awhile lol).. you can do the character vector or still images. the way patrick is done isn't set in stone For extra animation you just add a frame and label for your clip Then add the TIMes playAnim('_char', 'yourframe', #null, #true) at the end of the animation movie clip time line add: stop() _root.runActions(); If you don't do it Lassie may lock up after the animation The Patrick character template was originally done for Lassie Director and theres some AS you don't need :wink: Im not sure about addition character, i haven't done it ..sorry

StevenRafael- 03-21-2008

Cool. That looks easy. I'll give it a shot tomorrow when I finish the animations. I can't even get my game to run at the moment, and it's already terribly late for me. Once I figure out why I'm unable to publish _data.fla, I'm hitting the sack for the night. Edit: Silly me, I was trying to run _data.swf. Game runs fine. No worries about the other character thing.. From the looks of Lassie AS, it seems possible, but it's no big deal anyway. I had another question, but I can't seem to remember it at the moment.. I'm sure I'll remember it tomorrow when I'm not so tired. Edit: Still can't remember it, but I have another one.. How do I adjust the transparency of my character? He walks around in a huge white box. Isn't there a way within Lassie to remove that white from around an graphic file? Or was that feature only in Director? Also, not so important, but what does the purple cursor represent in the cast characters window?

StevenRafael- 03-23-2008

I'm not sure if I did this right, but I added the frame after the default "reach2" frame in the Patrick template, and I added the code in an actionscript layer above the animation within the movie clip. I'm not sure where that TIMe goes though. Also, do I add sounds like footsteps directly in Flash?

NigeC- 03-24-2008

If the character was going to pick up a key on the "use" action for the key the TIMes would be: playAnim('_char', 'reach2', #null, #true) setSpriteDraw('this', 'key', #false) addInvenItem('key', 1) playAnim('_char', 'reach1', #null, #true) The code: stop() _root.runActions(); goes on last frame of reach2, i normally add a actions layer If you just had "stop" as soon as the animation stops, Lassie will just lock up, _root.runActions(); after the playAnim I assumed reach1 brings his arm back you may need a "wait" before that so it doesn't run to fast this may not be 100% right.. i just got up lol You will see an ugly white squares in the walk editor.. its one thing Greg never sorted unfortunately Yes i'd be more inclined to do the footsteps in flash..

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.