mirror of
https://github.com/wassname/phaser.git
synced 2026-07-25 13:20:14 +08:00
Test
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
}
|
||||
function update() {
|
||||
// Animating alpha property of each item using forEach() method.
|
||||
game.world.group.forEach(function(item) {
|
||||
game.world.forEach(function(item) {
|
||||
// Update alpha first.
|
||||
item.alpha -= item.alphaIncSpeed;
|
||||
// Check for switch between increasing and descreasing.
|
||||
|
||||
Reference in New Issue
Block a user