User Tools

Site Tools


scratch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
scratch [2018/12/22 04:35]
sausage
scratch [2018/12/22 04:51]
sausage
Line 33: Line 33:
  
 Create thedefault person I bje c t in the.cpnfig woth Create thedefault person I bje c t in the.cpnfig woth
 +
 +Create a second man from the first but one that stands on the other side and faces the other way.
 +
 +Next, create a scene object that wiĺl be the root to hold all the other objects. Then place both men objects in Its childlist.
 +
 +Create the scene in the game In code. This.will create all the xhild objects onscreen.
 +
 +Next create all the text objects to go onscreen. Younwill need text objects for 
 +
 +The speech
 +The player instructions
 +The current language indicator
 +
 +Create these as
 +
 +And now.place them into the scene by addong them to the.childlist.
 +
 +Next is the music. Define it with
 +
 +And add it to the scene with
 +
 +Next is the actual conbersation. Define the speech with
 +
 +Them usingna timeline track switch on and off thealpha of thenspeech text object to make it appear and disappear, move its position and play the sounds.
 +
 +Compile and run. Our two french gentlemen will start having a lovelo conversation.
 +
 +That is the basic game. Now to make the game switchable to australia mode.
 +
 +Befin by defining the two languages or locales for the game: french and aistralian.
 +
  
  
scratch.txt · Last modified: 2021/02/02 01:24 (external edit)