User Tools

Site Tools


hpl3:game:scripting

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
Last revision Both sides next revision
hpl3:game:scripting [2015/09/11 10:29]
ian.thomas
hpl3:game:scripting [2017/04/26 06:54]
alexkalopsia [User Module]
Line 17: Line 17:
 Instead do this: Instead do this:
  
-<code c++>/​*void Update(float afTimeStep) ​   ​UpdateStuff(afTimeStep);​ }*/+<code c++> 
 +/*void Update(float afTimeStep) 
 +{ 
 +  ​UpdateStuff(afTimeStep);​ 
 +}*/
 </​code>​ </​code>​
  
Line 83: Line 87:
 === General === === General ===
  
-A user module is a class that has all kinds of functionality. It is really just base class that can be filled to take care of some kind of behavior. Normally the modules are not used directly, but instead have helper functions that simply the calling of various methods.+A user module is a class that has all kinds of functionality. It is really just base class that can be filled to take care of some kind of behavior. Normally the modules are not used directly, but instead have helper functions that simply ​handle ​the calling of various methods.
  
 Modules are added in "​Modules.cfg"​. Modules are added in "​Modules.cfg"​.
  
-The games come with pre-made ones that can be find in [[:​hpl3:​game:​scripting:​user_modules|User Modules page]].+The games come with pre-made ones that can be found on the [[:​hpl3:​game:​scripting:​user_modules|User Modules page]].
  
 === Callback Methods === === Callback Methods ===
Line 149: Line 153:
 === Callbacks === === Callbacks ===
  
-For an extensive list of these, check the [[:​hpl3:​game:​entity_types|Entity Types page]].+For an extensive list of these, check the [[:​hpl3:​game:​scripting:​entities|Entity Types page]].
  
hpl3/game/scripting.txt · Last modified: 2017/04/26 06:57 by alexkalopsia