خرید بک لینک

Vote count: 0

In Phaser I have a key event, which runs a function when a key is pressed, in the update function. However this update function is ran multiple times a second, making the function I have set up be run too.

I need a way to prevent the function from being spammed, so that it can only be run every second or so.

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 31 فروردين 1395 ساعت: 4:23

صفحه بندی