runGameLoop()

Run an iteration loop on the server that calls your onUpdate method.

parameters

none

Returns

none

Usage

Examples

1.

//Link code/server/rooms/room.js
onInit() {
	g.runGameLoop();
}

setDefaultActions()
addResources()

Need Help?

Proofread your code, check with your team and classmates, and if you’re still stuck!

Click Here for Help