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:42]
sausage
scratch [2018/12/22 04:55]
sausage
Line 49: Line 49:
  
 And now.place them into the scene by addong them to the.childlist. 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.
 +
 +Next, define.those locales and create keys for the various assets that are required to switch out: graphics, sound and text
 +
 +Finally go to each config and replace the absolute pathsnto assets and text with the named keys in the locale sections. These locale keys are.called using the $ symbol
  
  
scratch.txt ยท Last modified: 2021/02/02 01:24 (external edit)