by Game A Gogo » Wed Nov 14, 2007 2:15 am
I know some of them
xprevious: the horizontal position (Relative to center, or parent if present) of the actor on the last frame
yprevious: the vertical position (Relative to center, or parent if present) of the actor on the last frame
animpos: The position of the animation in frame numbers, starting from 0
nframes: The number of frames present in the current animation
clonename:
cloneindex:
frame:
real_fps: Holds the current Frame Per Second
ActorCount: ActorCount("Actor"); returns the number of the indicated actor
ToAlteriorPosition:
abs: gives out the absolute number abs(1.198); would return 1
acos:
actor_to_screen: Transform actor coordinate into screen coordinate
asin:
atan:
atan2:
atof:
atoi:
atol:
calloc:
ceil:
cos: Returns the Cosine of a value cos(3.14);
cosh: Returns the Hyperbolic Cosine of a value cosh(3.14);
degtorad:
direction: returns the direction between two points in angles direction(point1.x,point1.y,point2.x,point2.y);
distance: returns the distance between two points in pixel distance(point1.x,point1.y,point2.x,point2.y);
draw_from: used in canvas only. Copy the image information of another actor, will the possibility of scalling
erase: used in canvas only. Used to fill the canvas by one color.
fclose: Closes a currently opened FILE.
feof: Checks for the EOF (End Of File) for binary FILE.
fgetc: Gets a char from a FILE
fgets: Gets a string from a FILE
floor:
fmod:
fopen: Opens or Creates a FILE
fprintf: Prints a formated string in a FILE
fputc: Prints a char in a FILE
fputs: Prints a string in a FILE
fread: Reads a FILE with defined settings
free:
fscanf: Scans a formated string?
fseek: Sets the cursor location in a FILE
ftell:
fwrite: Writes in FILE with defined settings
getAllActorsInCollision:
getAnimIndex: Gets the index number of an animation
getAnimName: Gets the name of an animation from the index number
getanimHardwareID:
getKeyText:
getLastKey:
getOwner:
getTime: Too long to explain
getactor:
getclone:
lineto: used in canvas only. draws a line between two points
loadVars: Loads one or more saved variables in a exterior file
log: returns the logometric (?) value log(10);
log10: returns the logometric10 (?) value
malloc:
max: returns the maximal value of two values
memcmp:
memcpy:
memmove:
memset:
min: returns the minimal value of two values
moveto: used in canvas only. moves the cursor to another point
open url: opens a website link
pow:
putpixel: used in canvas only. Places a pixel (Size of the "pixels" depends on the setting in setpen)
radtodeg:
rand: returns a random number between 0 and the number inputed
realloc:
remapkey:
restorecanvas: Restore a saved canvas
round: rounds a number to an integer. 1.5 becomes 2 and 1.4 becomes 1
saveVars: Saves a set of vars in a defined file
savecanvas: Saves a canvas state for later use
screen_to_actor:
setPan: Sets the pan of a channel (channel 0 being all the sounds, channel 1 being the music, all other are individual sounds)
setVolume: set the volume of a channel (Channel 0 being all sounds, channel 1 being the music, all other are individual sounds)
setpen: used in canvas only. Must be set before drawing on canvas, it defines the color, the transparency and the size
sign:
sin: Returns the Sine of a value sin(3.14);
sinh: Returns the Hyperbolic Sine of a value sinh(3.15);
sprintf: Prints a formated string in another string
sqrt: gives out the square root of a value
sscanf:
stopsound: stop the sound in a channel
strcat:
strchr:
strcmp:
strcpy:
strlen:
strncat: Appends a string
strncmp:Compares two strings
strcpy:Writes a string in another string
tan: Returns the tan (Forgot the whole name...) of a value tan(1);
tanh: Returns the Hyperbolic tan (again) of a value tanh(1);
vectoradd:
Programming games is an art,