forked from kvfrans/touhou
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimage_loader.js
More file actions
34 lines (32 loc) · 774 Bytes
/
image_loader.js
File metadata and controls
34 lines (32 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
function loadImages()
{
var to_load = [
"player_straight.png",
"player_hitbox.png",
"player_left.png",
"player_right.png",
"player_bullet.png",
"spellcard_ring.png",
"focus_bullet.png",
"harambe_kun.png",
"score.png",
"harambe.png",
"white.png",
"bullet_hitbox.png",
"bullet_hitbox_rect.png",
"spell_charge.png",
"spell_charge_red.png",
"bg.png",
"spellcard_bg.png",
"enemy_marker.png",
"blackpixel.png",
"redpixel.png",
"sidebar.png",
"health_icon.png",
"spell_circle.png",
];
for(var i = 0; i < to_load.length; i++)
{
loader.add("images/" + to_load[i]);
}
}