[GAME][PLATFORM]Tutorial Template

Tutorials for all THUG+ games goes here.
Forum rules
This forum is only for posting tutorials.
Specify what game it is for, and please take a look at this Template.
Site Admin
Posts: 330
Joined: Mon Mar 01, 2010 2:23 pm
Location: Norway

[GAME][PLATFORM]Tutorial Template

Post by Morten1337 »

A short description of the tutorial.

!NOTE: Add important notes here, if its necessary.

Always provide links to the tools you'll be using, or specify what is needed.
- Tool1
- Tool2
- Tool3

Use numbered list items to make the steps easier

1. First step.

2. For many lines of text, use quote tags [ quote ][ / quotes ]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis eget ligula nec diam volutpat fringilla a sit amet velit. Aliquam erat volutpat. Morbi quis nisl lacus, vitae auctor neque. Integer quis mi in nisi gravida vestibulum nec a urna. Nunc dictum posuere dapibus. Cras mauris nunc, lacinia nec rutrum sed, dapibus at diam. Nulla posuere elementum dapibus. Nunc suscipit, neque blandit porta tempus, eros diam congue dolor, eu rutrum eros augue in nisl. Mauris posuere, nunc non iaculis ullamcorper, magna nisi adipiscing turpis, id rhoncus elit enim eget purus. Quisque rutrum convallis hendrerit. Aenean quam ligula, varius ut aliquet et, pharetra sed mauris. Mauris ultrices ante eget metus faucibus et mollis ipsum malesuada. Morbi hendrerit justo a est rutrum eu suscipit odio pellentesque. Nulla turpis purus, dapibus scelerisque iaculis vel, varius vitae arcu.
3. If you're showing examples of code use the code tags [ code ][ / code ]

Code: Select all

:i function $PrintState$
	:i if $InAir$
		:i $printf$%s(6,"In air")
	:i endif
	:i if $OnGround$
		:i $printf$%s(9,"On ground")
	:i endif
	:i if $OnWall$
		:i $printf$%s(7,"On wall")
	:i endif
	:i if $OnLip$
		:i $printf$%s(6,"On lip")
	:i endif
	:i if $OnRail$
		:i $printf$%s(6,"OnRail")
	:i endif
:i endfunction
4. Feel free to use colors to make stuff easier to understand.
:i if $OnRail$
:i $printf$%s(6,"OnRail")
:i endif
#: Printf function.

At the end its nice to have a summary.
!NOTE: You can also post additional notes here.

Credits at the end.