[WIP] New Demo

This commit is contained in:
Mahdi Dibaiee
2015-01-28 19:26:03 +03:30
parent 5af08e5cd7
commit fc7d76637d
13 changed files with 289 additions and 35 deletions

View File

@ -55,7 +55,7 @@ Bolt.Play.start(function() {
fireworks.push(new Firework({
type: 0,
position: Bolt.Vector(window.innerWidth/4, 0, 0),
mass: 4
mass: 2
}));
count = 0;
}
@ -79,7 +79,7 @@ Bolt.Play.start(function() {
type: 1,
position: fw.particle.position.clone(),
velocity: vel,
mass: 2
mass: 1
});
fireworks.push(childFirework);
}

View File

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bolt</title>
<title>Bolt | Fireworks Demo</title>
</head>
<body style="margin: 0">
<p style="position: absolute;top:5px;left:10px;" id='fps'></p>