That absolutely works! Thanks.
I wasn't sure how specific the .swf needs to be, can you not just create an .swf from scratch and put it into the game then?
Ashley.
Shofixti- 12-03-2007
Hey, when you were having that .swf problem that started this thread, was ANYTHING loading?
like would you get a loading bar that says something like "loading player" but that infinitely loads?
NigeC- 12-03-2007
a character can be any size, obviously the smaller it is the better the game will run/load online
I have had problems with swf's not showing in Lassie if you draw something in flash and not convert it to a symbol
normally you have 3 layers, script, labels and animation
the first frame is the default view then stand 1 to 8, move 1 to 8, talk and other animation
in Lassie AS all you need is:
stop();
in the script layer spanning all the frames
if you have animation which, for example reaches out, you move something, then the arm returns, you need to add
_root.runActions();
the reach out will have a stop on the last frame, the code tells the engine to run the TIMes
Ashley- 12-03-2007
With the original problem, absolutely nothing was loading. My flash player would open, but I only knew that because my dock bar and the top left of my screen next to the apple said so. No window opened on the screen at all.
I have seen that infinite loading bar a couple of times though... I think that was when I tried opening the player having published my .fla with errors in the actionscript.
Funnily enough, at the moment, having attempted to add dialogue, the actionscript being exported is always erroneous. I have just been deleting the last part of the actionscript:
_root.staticdata = {
dialogue: { 0
d0:{char:"_char", exp:0, text:"Look default dialogue", voice:""},
d1:{char:"_char", exp:0, text:"Talk default dialogue", voice:""},
d2:{char:"_char", exp:0, text:"Use default dialogue", voice:""},
d3:{char:"_char", exp:0, text:"Item default dialogue", voice:""},
d4:{char:"_char", exp:0, text:"its a solid wooden door", voice:""},
d5:{char:"_char", exp:0, text:"I don't think its feeling very talkative", voice:""},
d6:{char:"_char", exp:0, text:"its locked", voice:""},
d7:{char:"_char", exp:0, text:"its a flame", voice:""},
d8:{char:"_char", exp:0, text:"I don't think it has much of a temperament", voice:""},
d9:{char:"_char", exp:0, text:"Ouch!", voice:""},
d10:{char:"_char", exp:0, text:"New dialogue text", voice:""}
},
soundLib: {
}
};
And it works fine, but, of course, the dialogue doesn't work.
Hmmmm.
NigeC- 12-03-2007
thats really odd..
i wonder if John can send you a copy of his Lassie AS, , it just seems to be doing stuff we've never come across before..
There is an issue with sound dialog, but not with regular text
I run windows so i think mines slightly different
JohnGreenArt- 12-03-2007
The LassieAS application for download on the main site seems to have problems, at least the Mac version. I recently downloaded it and couldn't get it to edit projects or the player to work. I sent my working version of the app to Greg, he was going to see what happened.
bigmac- 12-03-2007
_root.staticdata = {
dialogue: { 0
d0:{char:"_char", exp:0, text:"Look default dialogue", voice:""},
},
soundLib: {
}
};
That would be the infamous "random zero" bug. I actually fixed that back while I was job searching... Arg. I am so confused by the Lassie versioning posted on the website at this point, I have no idea what build of the application is currently available for download. Go figure... rule of the world is that everything needs to go to hell all at once. Work has gone to hell right now, so I'm blissfully ignoring the fact that the currently available Lassie release isn't the most current stable build.
For the record though, all you have to do is delete that random zero that gets stuck into the dialogue node, so... "dialogue: { 0" should just be "dialogue: {".
BTW: That bug occurs when you export AS multiple times during an editor session. So, the first time you export AS after launching the editor, the output will be fine. However, if you export AS again without relaunching, there is still some lingering data from the previous export that throws in the additional character.
Ashley- 12-03-2007
Great! Thank you!
I thought I was just hopeless on this thing, maybe I am too, we'll soon find out!
Anyway, I really appreciate everyone's help, and for building this in the first place so a big thank you to you all.
I can't wait to know exactly what I'm doing with LASSIE, always loved playing Monkey Island with my dad when I was a nipper so am excited about being able to send him a game of my own to consume his precious hours all over again.
Does anyone want me to send my version of the app to have a look at? If it turns out my version is corrupt, what do people recommend?
Cheers,
Ashley.
SeanCyrusTowel- 12-03-2007
rule of the world is that everything needs to go to hell all at once.
That rule has a name already, it's Murphy's Law.
NigeC- 12-03-2007
I've built a fresh version of Lassie AS for Mac you can now download from the main site, I'll add a mirror download link tomorrow just in case folks are still having problems
this version shouldn't do the random "0" problem
big thanks to John for the files
bigmac- 12-04-2007
big thanks to John for the files
here, here! although I'm confused... I thought I posted the one he'd sent me. if this all works out, then I dub Nige the version control watchdog. Thanks to all for chipping in to keep things straight.
Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.