School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,477 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,763 people online right now. Registration is fast and FREE... Join Now!




SCUMM for beginners

 
Reply to this topicStart new topic

> SCUMM for beginners, The very basics

paperclipmuffin
Group Icon



post 30 Jun, 2009 - 01:01 AM
Post #1


Hello, and welcome to my tutorial.

SCUMM: Script Creation Utility for Maniac Mansion.

Scumm is a flexible, javascript-like programming language mainly used for point-and-click adventure games. As the company who created Scumm, LucasArts, still has not released the full syntax, what I know, and anyone outside of lucas knows, is mostly guesswork. So nothing here has a 100% guarantee. But we think this is it. So here it is.

---Chapter 1: Getting started---
To learn Scumm, you really need experience in a c variant, java or a .net language. This is fast-paced and complex stuff.

To create a variable, you say:
CODE

var variable1;

And if looks like:
CODE

If(variable = 1){do stuff here};

And then you have actors. Actors are people in the game. As of yet, it is still hard to determine how to introduce an actor*, but we know how to handle them. You can select an actor and move bits about like:
CODE

Actor.Init(1); //Selects actor 1
Actor.Face(180); //Turns the face to 180 degrees

And then make them speak:
CODE

SayLineSimple(1, "This is a new game!"); //1 = actor 1
//In a game with sound, you would
//identify the sound clip like so:
SayLineSimple(1, "/soundclip_nwgm/ This is a new game!");

For a long speaking part, you have 2 sound clips, and have to wait for the first to end:
CODE

SayLineSimple(4,"/newgame1/This is a new game...");
Wait.ForMessage();
SayLineSimple(4,'/newgame2/ and it will be AWESOME!');

Wait.ForMessage(); says to wait till the first sound clip finishes.

That's pretty much it for now. Stay tuned for more. I hoped you liked my tutorial.!


*We think that an actor does not need to be introduced, but needs to be in the data files (hex files that show the images, ect. for each actor and room) next to the executable. We are working on how to make data files.
Go to the top of the page
+Quote Post


Register to Make This Ad Go Away!

born2c0de
Group Icon



post 2 Jul, 2009 - 09:49 AM
Post #2
This is awesome, I've always loved the Monkey Island and Maniac Mansion series.
Go to the top of the page
+Quote Post

paperclipmuffin
Group Icon



post 3 Jul, 2009 - 06:51 PM
Post #3
There's more on the way, but progress is slow.

JUST RELEASE THE DAMN SOURCE, LUCAS!! YOU DON'T EVEN USE IT ANYMORE!

Ahem...

This post has been edited by paperclipmuffin: 3 Jul, 2009 - 11:12 PM
Go to the top of the page
+Quote Post


Fast ReplyReply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 11/8/09 03:37AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month