mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-05 02:49:57 +00:00
using glb model forexplosion
This commit is contained in:
Binary file not shown.
@@ -1,12 +0,0 @@
|
|||||||
# Blender MTL File: 'None'
|
|
||||||
# Material Count: 1
|
|
||||||
|
|
||||||
newmtl Matériau
|
|
||||||
Ns 323.999994
|
|
||||||
Ka 1.000000 1.000000 1.000000
|
|
||||||
Kd 0.800000 0.800000 0.800000
|
|
||||||
Ks 0.500000 0.500000 0.500000
|
|
||||||
Ke 0.000000 0.000000 0.000000
|
|
||||||
Ni 1.000000
|
|
||||||
d 1.000000
|
|
||||||
illum 2
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -38,7 +38,7 @@ namespace BBM
|
|||||||
.addComponent<TimerComponent>(1s, [](WAL::Entity &explosion, WAL::Wal &wal) {
|
.addComponent<TimerComponent>(1s, [](WAL::Entity &explosion, WAL::Wal &wal) {
|
||||||
explosion.scheduleDeletion();
|
explosion.scheduleDeletion();
|
||||||
})
|
})
|
||||||
.addComponent<Drawable3DComponent, RAY3D::Model>("assets/bombs/explosion/explosion.obj",
|
.addComponent<Drawable3DComponent, RAY3D::Model>("assets/bombs/explosion/explosion.glb",
|
||||||
std::make_pair(MAP_DIFFUSE, "assets/bombs/explosion/explosion.png"));
|
std::make_pair(MAP_DIFFUSE, "assets/bombs/explosion/explosion.png"));
|
||||||
// TODO do a raycast here to only remove health to entities that are not behind others.
|
// TODO do a raycast here to only remove health to entities that are not behind others.
|
||||||
health->takeDmg(1);
|
health->takeDmg(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user