Difference between revisions of "Logic Resource (AGI)"

From AGI Wiki
Jump to navigationJump to search
m (Collector moved page LOGIC Resource to Logic Resource)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Logic''' resources are the “guts” of an AGI game. They are scripts that contain all the commands necessary to control the [[View|view]], [[Picture|picture]] and [[Sound|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.
+
'''Logic''' resources are the “guts” of an AGI game. They are scripts that contain all the commands necessary to control the [[View Resource (AGI)|view]], [[Picture|picture]] and [[Sound|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.
 
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|Logic editor]]. See [[Logic language|logic language]] for more information about how to program AGI logic.
+
You can edit logics with a [[AGI Logic editor|Logic editor]]. See [[Logic language|logic language]] for more information about how to program AGI logic.
  
 
== Sources ==
 
== Sources ==
Line 13: Line 13:
  
 
* [[:Category:Logic Commands|Logic Command Reference]]
 
* [[:Category:Logic Commands|Logic Command Reference]]
 +
 +
 
 +
 +
[[Category:Technical Info]]
 +
[[Category:Development]]
 +
[[Category:References]]
 +
[[Category:AGI References]]
 +
[[Category:AGI Logic Resources]]
 +
[[Category:AGI Logic Commands]]

Latest revision as of 21:11, 29 May 2024

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