Difference between revisions of "AGIWiki/Logic"

From ScummVM :: Wiki
Jump to navigation Jump to search
m
m
Line 15: Line 15:


* [[:Category:AGIWiki/Logic Commands|Logic Command Reference]]
* [[:Category:AGIWiki/Logic Commands|Logic Command Reference]]
 
{{AGIWiki/AGI Resources}}
 
{| style="border: 1px solid #bfffbf; background-color: #f2fff2; text-align: center" width="50%" align="center" <font color="#000">
! style="background-color: #bfffbf; text-align: center" colspan="4" | '''[[AGIWiki/AGI Resources|AGI Resources]]'''
|-
|
[[AGIWiki/Logic|Logic]]
|
[[AGIWiki/Picture|Picture]]
|
[[AGIWiki/View|View]]
|
[[AGIWiki/Sound|Sound]]
|}

Revision as of 11:10, 1 February 2015

AGIWiki


Logic resources are the “guts” of an AGI game. They are scripts that contain all the commands necessary to control the view, picture and sound resources and to receive and act on input from the player, thus determining everything that happens in the game. Each room generally has its own logic which determines what happens in that room, and the game also has a few other logics to look after things like initialization and error handling.

Games are programmed in a special language specific to AGI and compiled into logic resources. The logic programming language is similar to standard programming languages like C, but a lot less powerful as it is designed for specific purpose.

You can edit logics with a Logic editor. See logic language for more information about how to program AGI logic.

Sources

See also

AGI Resources

Logic
AGIWiki AGI Studio 1.38b Logic Editor.png

Picture
AGIWiki Jedi Quest 00.png

View
AGIWiki Voodoo Girl View000.png

Sound
AGIWiki Visual AGI Sound Editor Beta 8.png