skip to content
Frictional Game Wiki
User Tools
Register
Log In
Site Tools
Search
Tools
Show pagesource
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
Register
>
Recent Changes
Media Manager
Sitemap
Trace:
•
AngelScript Tutorial
Sidebar
HPL1 Documentation
Documentation
Third Party Tools
Tutorials
Getting started document
Projects using the HPL engine
HPL2 Documentation
Amnesia – The Dark Descent
Amnesia – A Machine For Pigs
Resources
Third Party Tools
Tools
Tutorials
HPL3 Documentation
3rdparty
Community
engine
game
tools
tutorials
hpl3:community:scripting:angelscript_tutorial
Table of Contents
AngelScript Tutorial
Lesson Zero: Introduction
About SOMA
Who This Tutorial Is For
What is SOMA’s Scripting Language
What Tools Should I Use to Code in AngelScript
What Other Resources Can I Use For Help
Lesson One: Structure of a Script
Commenting
Hello World
Lesson Two: Variables and Types
Identifiers
Variable Types
Built-In Types
Special Types
Arrays
Lesson Three: Operators and Expressions
Math Operators
String Concatenation
Boolean Operators
Bitwise Operators
Order of Operations
Lesson Four: Statements and Flow Control
Conditions
If
Else
If-ElseIf-Else
Switch
Loops
While
Do-While
For
Loop Control
Lesson Five: Functions
Function Structure
Parameters
Returning Values
Function Overloading
Lesson Six: Calling Other Scripts
Include
Namespaces
Scope
Lesson Seven: Classes
What is Object-Oriented Programming
Classes
Constructors
Member Qualifying
Appendix: Miscellaneous AngelScript Features
Enums
Constants
Default Parameters
Passing Parameters by Reference
Value vs Reference
Passing Parameters By Reference
References and Object Types
In and Out
Object Handles
Inheritance
Overriding Base Classes
Interfaces
Mixin Classes
Delegates
Funcdef
Using Delegates
Appendix 2: HPL3 Specifics
Callbacks
Timers
Sequences
hpl3/community/scripting/angelscript_tutorial.txt
· Last modified: 2018/04/15 16:37 by
abion47
Page Tools
Show pagesource
Old revisions
Backlinks
Export to PDF
Back to top