Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 67 and Version 68 of content/LevelHowTo


Ignore:
Timestamp:
Nov 2, 2015, 10:16:48 PM (8 years ago)
Author:
fvultier
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • content/LevelHowTo

    v67 v68  
    549549}}}
    550550
     551== SimpleNotification ==
     552The next section about the event system will need the SimpleNatification class to display text messages.
     553Place the following code block inside the level before the opening Scene tag
     554{{{
     555#!xml
     556<?lua include("includes/notifications.oxi") ?>
     557
     558<NotificationQueueCEGUI
     559  name="narrative"
     560  targets="simpleNotification"
     561  size=3
     562  displayTime=3.9
     563  position="0.2, 0, 0.1, 0"
     564  fontSize="23"
     565  fontColor="0.3, 1, 0.2, 0.8"
     566  alignment="HorzCentred"
     567  displaySize="0.6, 0, 0, 0"
     568  />
     569}}}
    551570
    552571== Triggers && Events ==