frame trouble

Game Editor comments and discussion.

frame trouble

Postby iconmaster » Sat Aug 02, 2008 6:44 pm

how do you use the frame variable ? in animations? in strings?
iconmaster
 
Posts: 2
Joined: Thu Oct 25, 2007 8:23 pm
Score: 1 Give a positive score

Re: frame trouble

Postby feral » Sat Aug 02, 2008 9:00 pm

frame is a read-only integer type variable ( I am not sure if it is a long or double or what type of integer)

from script reference
frame: Game frame count. This variable is global and read only
.


It counts the number of frames your game has gone through.

ie: starts at zero when the game starts and adds 1 every time the screen is redrawn

It can be used for counters/timers etc
User avatar
feral
 
Posts: 308
Joined: Sun Mar 16, 2008 6:27 am
Score: 47 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron