Quantcast
Channel: Other IT certifications
Viewing all articles
Browse latest Browse all 147

Need help spawning falling items in random position html5

$
0
0
I am trying to make a platformer mod of the first tutorial platformer, and this is my first time working with a phaser. I am attempting to have diamonds spawn from the sky on a timer, that the player may collect. Everything except the spawning of diamonds seems to be working correctly, my code is as follows:

<!--The sprites and some of the motion controls for this game come from
this tutorial: xyz.com -->
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Phaser...

Need help spawning falling items in random position html5

Viewing all articles
Browse latest Browse all 147

Trending Articles