Fenix Manual
Fenix Manual
Command Reference
Map Commands

Get_Point
Graphic_Info
Graphic_Set
Load_Map
Load_Pcx
Load_Png
Map_Block_Copy
Map_Clear
Map_Clone
Map_Exists
Map_Get_Pixel
Map_Name
Map_Put
Map_Put_Pixel
Map_Set_Name
New_Map
Save_Map
Save_Png
Set_Center
Set_Point
Unload_Map

Graphic_Set
Last Modified: May 23, 2005 20:05PM
(Any)
Description

GRAPHIC_SET ( INT LIBRARY, INT GRAPH, INT TYPE, INT VALUE )
This command allows you to change an attribute of a graph

PARAMETERS:
INT library: Number of FPG library
INT graph: Number of graph inside the library
INT value: New value to assign to the attribute
INT type: Type of attribute to modify. It can be:

G_CENTER_X: Horizontal coordinate of the centre

G_CENTER_Y: Vertical coordinate of the centre

G_ANIMATION_STEP: Current frame of the animation

G_ANIMATION_SPEED: Current speed of the animation


DESCRIPTION:
This function allows access in runtime to the determined attributes of a graph, those specially of its animation. It can be used to select a certain frame in animated graphs, or change the speed of its animation, in milliseconds. For example, a speed of 0 stops the animation of the graphic.

The animations of the MAP graphs are automatic, and independent of the frames per second established by the function Set_Fps.

User Contributed Notes
Graphic_Set
Add Notes About Notes
There are no user contributed notes for this page.
Last updated: Tue, 24 May 2005 - 21:23:54

Manual © 2005 By Gary Moncrieff(Dazzy), Notes belong to their respective posters