Forum ActionScript 3.0 Continuous Non-Server Operations

Problems and discussions relating to ActionScript 3.0 here.

Continuous Non-Server Operations

Postby AK712 » February 11th, 2017, 11:54 pm

I have a game that only sends/receives data when a player moves, and that's about it. The rest I want to be able to do client-side. However, I'm not sure how to implement a "main loop" in with the player.io code. Let's say I want some little weather effects travelling across the screen (leaves, rain, etc). I don't want to have to wait until the player moves to move them, I want them to always be moving. However, it can't be done with a simple repeating animation, because I have specific formulas they follow. So, is it possible to have something constantly moving without the use of server connection send/receives, and if so, how would I implement it?
User avatar
AK712
 
Posts: 32
Joined: May 2nd, 2012, 12:43 am

Return to ActionScript 3.0



cron