Game and Unit development: Difference between revisions

From Spring
Jump to navigationJump to search
Smoth (talk | contribs)
Knorke (talk | contribs)
m description that covers cob & lua
Line 57: Line 57:


=Unit Scripting/Animations (.cob, .bos, .lua)=
=Unit Scripting/Animations (.cob, .bos, .lua)=
Unit scripts animate units and are needed for various function such as firing weapons.
* [[Animation-CobLuaDifferences | Differences of .lua and .cob unit scripts]]
* [[Animation-CobLuaDifferences | Differences of .lua and .cob unit scripts]]


==Lua Animations==
==Lua Animations==
While called Lua animations, that is a misnomer, these are not just animation, these are high level behavior scripts which control not only animation but firing of weapons and various other unit functions.
*[[Animation-LuaScripting]]
*[[Animation-LuaScripting]]
**[[Animation-LuaCallins]]
**[[Animation-LuaCallins]]

Revision as of 16:15, 12 February 2012

Development < Game and Unit development

Game development

This information is meant to help newcomers learn how to develop their own games for the Spring Engine.


General

Resources

Reference

Unit Scripting/Animations (.cob, .bos, .lua)

Unit scripts animate units and are needed for various function such as firing weapons.

Lua Animations

COB Animations

The binary '.cob' file format is a compiled '.bos' script. To convert a '.bos' script file to '.cob' file you will need Scriptor

Modeling

Spring supports different 3d representations: '.s3o' and '.3do'. The biggest difference between both formats is the workflow to create a new unit. There are exporter plugins for 'blender' and '3ds-max' so that texturing and modeling can be done using these. In contrast: when you model an '.3do' you have to use upspring currently.

The animation with can either be done using 'lua' or 'COB/BOS' is does not depend on either, see rigging/animation. For new units use 'lua' scripting.

Engine Related

  • Download_Testing - Test the compatibility of your game on upcoming versions of the Spring engine.

Tutorials

Game Development Tutorials

Modeling Tutorials

Texture Tutorials