ajout de sons

This commit is contained in:
Deadzi06
2026-07-11 04:40:29 +02:00
parent a55abbc5f7
commit d17c13f2ca
12 changed files with 131 additions and 13 deletions

Binary file not shown.

BIN
assets/sounds/laz_c.wav Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

View File

@@ -9,7 +9,7 @@
// The version of your project.
"version": "v1.0.0",
// What version of the engine your project was made with.
"engineVer": "v0.10.0-dev",
"engineVer": "v0.11.0-dev",
// The Deltarune chapter you'd like to base your project off of.
// Do keep in mind that you can control chapter-specific features

View File

@@ -5,7 +5,7 @@ function balta:init()
super.init(self)
-- The name of the actor
self.name = "seam"
self.name = "baltazarius"
-- The sprites dimensions
-- The shop uses this to know where to place the shopkeeper

View File

@@ -12,7 +12,7 @@ function character:init()
-- Display level (saved to the save file)
self.level = Game.chapter
-- Default title / class (saved to the save file)
self.title = "UwU\n uwu all over the place"
self.title = "UwU\nuwu all over the place"
-- Determines which character the soul comes from (higher number = higher priority)
self.soul_priority = 1
@@ -77,9 +77,9 @@ function character:init()
-- Effect shown above enemy after attacking it
self.attack_sprite = "effects/attack/shot"
self.attack_sprite = "effects/attack/cut"
-- Sound played when this character attacks
self.attack_sound = "heartshot_dr_b"
self.attack_sound = "Voicy_TADC-curse"
-- Pitch of the attack sound
self.attack_pitch = 1

View File

@@ -10,7 +10,7 @@ return {
tilewidth = 40,
tileheight = 40,
nextlayerid = 8,
nextobjectid = 94,
nextobjectid = 116,
properties = {
["name"] = "Test Map - Room 1"
},
@@ -641,9 +641,9 @@ return {
name = "transition",
type = "",
shape = "rectangle",
x = 160,
y = 680,
width = 120,
x = 101,
y = 410,
width = 80,
height = 40,
rotation = 0,
opacity = 1,
@@ -667,6 +667,70 @@ return {
opacity = 1,
visible = true,
properties = {}
},
{
id = 108,
name = "climbentry",
type = "",
shape = "rectangle",
x = 120,
y = 680,
width = 40,
height = 40,
rotation = 0,
opacity = 1,
visible = true,
properties = {
["target"] = { id = 111 }
}
},
{
id = 111,
name = "climbexit",
type = "",
shape = "rectangle",
x = 120,
y = 680,
width = 40,
height = 40,
rotation = 0,
opacity = 1,
visible = true,
properties = {
["target"] = { id = 107 }
}
},
{
id = 114,
name = "climbentry",
type = "",
shape = "rectangle",
x = 120,
y = 360,
width = 40,
height = 40,
rotation = 0,
opacity = 1,
visible = true,
properties = {
["target"] = { id = 115 }
}
},
{
id = 115,
name = "climbexit",
type = "",
shape = "rectangle",
x = 120,
y = 360,
width = 40,
height = 40,
rotation = 0,
opacity = 1,
visible = true,
properties = {
["target"] = { id = 113 }
}
}
}
},
@@ -725,6 +789,34 @@ return {
opacity = 1,
visible = true,
properties = {}
},
{
id = 107,
name = "target",
type = "",
shape = "point",
x = 142,
y = 773,
width = 0,
height = 0,
rotation = 0,
opacity = 1,
visible = true,
properties = {}
},
{
id = 113,
name = "target",
type = "",
shape = "point",
x = 138,
y = 346,
width = 0,
height = 0,
rotation = 0,
opacity = 1,
visible = true,
properties = {}
}
}
}

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.11" tiledversion="1.12.2" orientation="orthogonal" renderorder="right-down" width="30" height="24" tilewidth="40" tileheight="40" infinite="0" nextlayerid="8" nextobjectid="94">
<map version="1.11" tiledversion="1.12.2" orientation="orthogonal" renderorder="right-down" width="30" height="24" tilewidth="40" tileheight="40" infinite="0" nextlayerid="8" nextobjectid="116">
<editorsettings>
<export target="room1.lua" format="lua"/>
</editorsettings>
@@ -140,7 +140,7 @@ no-good wall slammers.</property>
<point/>
</object>
<object id="46" name="tool" x="876.051" y="144.258" width="40" height="40"/>
<object id="79" name="transition" x="160" y="680" width="120" height="40">
<object id="79" name="transition" x="101" y="410" width="80" height="40">
<properties>
<property name="facing" value="down"/>
<property name="marker" value="shop_exit"/>
@@ -148,6 +148,26 @@ no-good wall slammers.</property>
</properties>
</object>
<object id="89" name="climbarea" x="120" y="360" width="40" height="360"/>
<object id="108" name="climbentry" x="120" y="680" width="40" height="40">
<properties>
<property name="target" type="object" value="111"/>
</properties>
</object>
<object id="111" name="climbexit" x="120" y="680" width="40" height="40">
<properties>
<property name="target" type="object" value="107"/>
</properties>
</object>
<object id="114" name="climbentry" x="120" y="360" width="40" height="40">
<properties>
<property name="target" type="object" value="115"/>
</properties>
</object>
<object id="115" name="climbexit" x="120" y="360" width="40" height="40">
<properties>
<property name="target" type="object" value="113"/>
</properties>
</object>
</objectgroup>
<objectgroup color="#7f00ff" id="5" name="markers">
<object id="20" name="spawn" x="703.606" y="843.26">
@@ -159,5 +179,11 @@ no-good wall slammers.</property>
<object id="80" name="shop_exit" x="220" y="779">
<point/>
</object>
<object id="107" name="target" x="142" y="773">
<point/>
</object>
<object id="113" name="target" x="138" y="346">
<point/>
</object>
</objectgroup>
</map>

View File

@@ -3,8 +3,8 @@
{
"fileName": "maps/room1.tmx",
"height": 960,
"width": 800,
"x": 0,
"width": 1200,
"x": -400,
"y": 0
},
{