The ammunition and door puzzles are fully implemented now, and the secret room has proper z planes. Sorry for committing it all at once, it'll get better, I promise. Carol is animated with the basic init and stand animations for now, but that's just a workaround until I'm more confident with animateActor().
> Names can't be used currently, so atm using addresses is the only way. > I don't think anyone really tried that up to now. I don't remeber > off-hand what animateActor() exactly expect, but if just giving the > address doesn't work try to divide it by 4. After playing around a while, It seems that the mapping is indeed a division by 4, but you have to subtract 2 first. So, anim 26 in the .scost maps to 6 in the code, 30 maps to 7, and so on. The numbers inbetween seem to be useless. And, of course, you have to avoid the predefined stuff. I'll experiment further and update you on this. > you could quite easily make a script to make > Carol the cleaner wander about and "clean" the room. Her vacuum cleaner is dragging a cable behind. Until she gets a battery-powered one, she needs to stay where she is. :-) But the commander is actually supposed to wander about all the time. Can you implement that? There's also possibly an issue problem with the dialogs code. The dialog questions are indexed after the order in which they are added, but the answers' indexes are hardcoded in the switch statement. In this small game, there's only one optional question, which I added last. However, in more complex games, many questions might be added or not, according to some flags set in the game's progress. Wouldn't this mess up the mapping? Finally, the blue cup is supposed to fall down into the circular terminal at the end of the game. Can I change y without changing z? While playing with the z clipping, I got the following error statements: "Function setActorZClip needs 0 args, 1 found." "getActorLayer is not a known function or script." Both functions are listed in the Wiki though, setActorZClip with one parameter, "clip". Any ideas? > There is another SCUMM compiler project out there called scummgen > which targets V8, but from what i've seen it's still early days. Yeah, I've noticed that one too. Once that guy gets his project running for real, we might wanna join forces. -- http://www.fastmail.fm - Access all of your messages and folders wherever you are _______________________________________________ ScummC-general mailing list [email protected] https://mail.gna.org/listinfo/scummc-general
