View Full Version: Just starting

lassie >>Lassie >>Just starting


<< Prev | Next >>

JohnGreenArt- 01-29-2006

It depends on what you want to happen. First you have to make sure the object in the room has an interaction set for the inventory item (so under the LOOK, TALK, USE, interactions would be the name of the inventory item, for instance SHOVEL.) If you wanted the character to have a shovel and dig a hole in the ground, it would basically be changing the phase of the ground to show a new graphic of the ground with a hole. Phase one of the hole could just be a sprite with no graphic, since the ground would probably be viewed on the background image. But phase two would have a graphic assigned, of just the hole, and it would overlay on the ground once the hole has been made. The TIMe's for the shovel interaction on the ground could be along the lines of this: changePhase(#this,#ground,2) playDia And for the sprite of the ground you would have a second phase that shows the hole you just dug. If you wish, you could include a playFlash TIMe to show an animation of the character digging the hole. Then the character would say "I dug a hole!" You could even add extra steps. Say you want the ground to be too hard to dig. So phase 1 of the ground would have interactions for inventory items SHOVEL and WATERCAN. If you use the shovel on the ground, the character would say "The ground is too hard. I need to loosen it up before I can start digging." And if you used the watercan on the ground, the character would say "Ah, now the dirt is nice and soft" and there would be a changePhase TIMe to make the ground phase 2. Phase 2 of the ground wouldn't have to be visually different, but maybe it could show a little puddle. Phase 2 would have an interaction for the shovel, so now when you use the shovel on the ground it would activate a changePhase TIMe to phase 3, which would then show the hole and have the character say "I dug a hole!" I hope this give you an idea.

JohnGreenArt- 01-29-2006

OK, phase 1 of the iMac should have the following interactions: *Look *Talk to *Use software (or whatever the ID of the inventory item is) With "software" highlighted, click on the TIMe tab. In the white box on the main screen, add the TIMe: changePhase(#this,#this,2) That will change the phase of the iMac sprite to phase 2. If you want the character to say something, keep (or add) the playDia TIMe, then back on the DIA tab add something to say, like "I put the disk in the iMac." Click on the O to go to the object editor and switch to phase 2 for the iMac sprite. Here you can change the graphic for the sprite, so it will have a different screen on the iMac after the software is used on it. Let me know how that turns out.

JohnGreenArt- 01-29-2006

It's kind of confusing keeping the track of names of things. I'd have to take a look at the project file myself to figure out what's going wrong.

JohnGreenArt- 01-29-2006

Sure, no problem. My e-mail is johngreenart@aol.com

JohnGreenArt- 01-29-2006

I got the file OK. First, I noticed you have inventory interactions for ilife*imac and key*door. You don't need to have inventory interactions for things that aren't inventory items (the imac and the door are not inventory items). As for why the key wasn't working, I don't know why. But I deleted that key interaction and just made a new one, and it worked. So, try getting rid of the key interaction on the door that you have and just make a new one.

Darth-Vader- 06-29-2006

Maybe it's a stupid question, but what are the purple dots for in the room layout editor in LASSIE AS? :roll: I didn't find any hint in the docs, or I was too blind to see it ;)

bigmac- 06-29-2006

check out the Lassie Director documentation, the editor applications (particularily the room layout editor) are very similar between Lassie Director and LassieAS. All the LassieAS documentation that currently exists is pretty much supplement to the Lassie Director guide. And to answer your question, purple is the sprite registration point plotter.

Darth-Vader- 06-29-2006

I already read http://www.gmacwill.com/lassie/files/lassie_doc.pdf a couple of times, but I don't see anythong on pruple dots or the sprite registration point plotter.. What is that anyway? ;)

bigmac- 06-29-2006

Hmm. You're right, nothing in there about it. Whoops... something I forgot to write about. I'll post an article in the "Helpful tips" forum as to what the floor and registration point setters do. Check there shortly.

Darth-Vader- 06-29-2006

I'll post an article in the "Helpful tips" forum as to what the floor and registration point setters do. Check there shortly. Thanks Greg! :) How about we drop the docs in a wiki so we all could work on them and update them after clearing questions here in the forums? :idea: Another thing: could you maybe give me the .fla-file for the LASSIE AS player? I would like to set a bigger screen resolution and center my game so when the disc pops up on the edge of the game it overlaps and is still visible. Or can I tell LASSIE where to position the disc? I hope I didn't explain it too incomprehensibly ;) :lol:

bigmac- 06-29-2006

How about we drop the docs in a wiki so we all could work on them and update them after clearing questions here in the forums? :idea: That's a great idea, although I don't know much about it (only recently did I even hear of a Wiki and I still don't fully understand what is it) and have other things that I'm focusing on. If you'd care to do so, I think we'd all appreciate it!! Another thing: could you maybe give me the .fla-file for the LASSIE AS player? I would like to set a bigger screen resolution and center my game so when the disc pops up on the edge of the game it overlaps and is still visible. Or can I tell LASSIE where to position the disc? I hope I didn't explain it too incomprehensibly ;) :lol: Sorry, but I'm reserving engine source at present. I'm aware of the edge-of-screen verb disc issue and its been on my to-fix list for a while. In the meantime remember that you can always stretch your game window wider within Flash Player (using the little drag-handle in the lower-right corner) to gain more canvas around a flash movie. That would be the most realistic solution if you're trying to have your game finished and handed in tomorrow.

Darth-Vader- 06-29-2006

That's a great idea, although I don't know much about it (only recently did I even hear of a Wiki and I still don't fully understand what is it) and have other things that I'm focusing on. If you'd care to do so, I think we'd all appreciate it!! Ok, deal. As soon as I get time (probably next week) I'll set up a wiki and post the URL here... If that set up, it would be great if you could give me the source of the docs so I can insert them into the wiki... ;) In the meantime remember that you can always stretch your game window wider within Flash Player (using the little drag-handle in the lower-right corner) to gain more canvas around a flash movie. Hm I'm sorry, but I don't get what you mean... :oops: EDIT: Could try once more and explain what you mean and how I do it, please? :)

bigmac- 06-29-2006

sure, no prob.

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