You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"shortDescription": "Fire bullets, manage ammo, reloading and overheating.",
7531
-
"version": "0.9.1",
7531
+
"version": "0.9.2",
7532
7532
"description": [
7533
7533
"This extension allows objects to fire bullets. To use it, add the behavior to the object that will shoot, then use the provided action to launch another object as the bullet.",
7534
7534
"",
@@ -7539,7 +7539,7 @@
7539
7539
"- Overheat",
7540
7540
"",
7541
7541
"The speed can be specified when using the actions to fire the bullets.",
7542
-
"The bullets are automatically given a permanent force to make them move (no need to use a linear movement or move them with another behavior).",
7542
+
"The bullets are automatically given a permanent force to make them move in the 2D plane (no need to use a linear movement or move them with another behavior).",
7543
7543
"",
7544
7544
"It can be used for:",
7545
7545
"- Twin-stick shooters ([open the project online](https://editor.gdevelop.io/?project=example://conviction-of-gun-dude-desktop))",
@@ -7574,7 +7574,7 @@
7574
7574
"eventsFunctions": [],
7575
7575
"eventsBasedBehaviors": [
7576
7576
{
7577
-
"description": "Fire bullets, manage ammo, reloading, and overheating. Once added to your object that must shoot, use the behavior action in your events to fire another object as a bullet. This action will also make the bullet move (using a permanent force) at the speed specified in the action.",
7577
+
"description": "Fire bullets with built-in cooldown, ammo, reloading, and overheating. Once added to your object that must shoot, use the behavior actions to fire another object as a bullet. These actions check all constraints internally (can be called without conditions, they will only fire when ready) and will make the bullet move (using a permanent force).",
7578
7578
"fullName": "Fire bullets",
7579
7579
"name": "FireBullet",
7580
7580
"objectType": "",
@@ -8148,11 +8148,11 @@
8148
8148
"objectGroups": []
8149
8149
},
8150
8150
{
8151
-
"description": "Fire bullets toward an object at a specified speed.",
8151
+
"description": "Fire bullets toward an object at a specified speed. Call this continuously, the action checks readiness internally — no extra timer or check needed.",
8152
8152
"fullName": "Fire bullets toward an object",
8153
8153
"functionType": "Action",
8154
8154
"name": "FireTowardObject",
8155
-
"sentence": "Fire _PARAM4_ from _PARAM0_, at position _PARAM2_; _PARAM3_, toward _PARAM5_ with speed _PARAM6_ px/s",
8155
+
"sentence": "Fire _PARAM4_ from _PARAM0_ (if ready), at position _PARAM2_; _PARAM3_, toward _PARAM5_ with speed _PARAM6_ px/s",
8156
8156
"events": [
8157
8157
{
8158
8158
"type": "BuiltinCommonInstructions::Standard",
@@ -8217,11 +8217,11 @@
8217
8217
"objectGroups": []
8218
8218
},
8219
8219
{
8220
-
"description": "Fire bullets toward a position at a specified speed.",
8220
+
"description": "Fire bullets toward a position at a specified speed. Call this continuously, the action checks readiness internally — no extra timer or check needed.",
8221
8221
"fullName": "Fire bullets toward a position",
8222
8222
"functionType": "Action",
8223
8223
"name": "FireTowardPosition",
8224
-
"sentence": "Fire _PARAM4_ from _PARAM0_, at position _PARAM2_; _PARAM3_, toward position _PARAM5_;_PARAM6_ with speed _PARAM7_ px/s",
8224
+
"sentence": "Fire _PARAM4_ from _PARAM0_ (if ready), at position _PARAM2_; _PARAM3_, toward position _PARAM5_;_PARAM6_ with speed _PARAM7_ px/s",
8225
8225
"events": [
8226
8226
{
8227
8227
"type": "BuiltinCommonInstructions::Standard",
@@ -8291,11 +8291,11 @@
8291
8291
"objectGroups": []
8292
8292
},
8293
8293
{
8294
-
"description": "Fire bullets in the direction of a given angle at a specified speed.",
8294
+
"description": "Fire bullets in the direction of a given angle at a specified speed. Call this continuously, the action checks readiness internally — no extra timer or check needed.",
8295
8295
"fullName": "Fire bullets toward an angle",
8296
8296
"functionType": "Action",
8297
8297
"name": "Fire",
8298
-
"sentence": "Fire _PARAM4_ from _PARAM0_, at position _PARAM2_; _PARAM3_, toward angle _PARAM5_ and speed _PARAM6_ px/s",
8298
+
"sentence": "Fire _PARAM4_ from _PARAM0_ (if ready), at position _PARAM2_; _PARAM3_, toward angle _PARAM5_ and speed _PARAM6_ px/s",
8299
8299
"events": [
8300
8300
{
8301
8301
"type": "BuiltinCommonInstructions::Standard",
@@ -12256,19 +12256,27 @@
12256
12256
"unit": "Second",
12257
12257
"label": "Firing cooldown",
12258
12258
"description": "Objects cannot shoot while firing cooldown is active.",
12259
+
"group": "",
12260
+
"extraInformation": [],
12259
12261
"name": "FireCooldown"
12260
12262
},
12261
12263
{
12262
12264
"value": "",
12263
12265
"type": "Boolean",
12264
12266
"label": "",
12267
+
"description": "",
12268
+
"group": "",
12269
+
"extraInformation": [],
12265
12270
"hidden": true,
12266
12271
"name": "HasJustFired"
12267
12272
},
12268
12273
{
12269
12274
"value": "true",
12270
12275
"type": "Boolean",
12271
12276
"label": "Rotate bullets to match their trajectory",
12277
+
"description": "",
12278
+
"group": "",
12279
+
"extraInformation": [],
12272
12280
"name": "RotateBullet"
12273
12281
},
12274
12282
{
@@ -12278,6 +12286,7 @@
12278
12286
"label": "Firing arc",
12279
12287
"description": "Multi-Fire bullets will be evenly spaced inside the firing arc",
12280
12288
"group": "Multi-Fire",
12289
+
"extraInformation": [],
12281
12290
"name": "FiringArc"
12282
12291
},
12283
12292
{
@@ -12286,6 +12295,7 @@
12286
12295
"label": "Number of bullets created at once",
12287
12296
"description": "Multi-Fire bullets will be evenly spaced inside the firing arc",
12288
12297
"group": "Multi-Fire",
12298
+
"extraInformation": [],
12289
12299
"name": "BulletQuantity"
12290
12300
},
12291
12301
{
@@ -12295,6 +12305,7 @@
12295
12305
"label": "Angle variance",
12296
12306
"description": "Make imperfect aim (between 0 and 180 degrees).",
12297
12307
"group": "Firing variance",
12308
+
"extraInformation": [],
12298
12309
"advanced": true,
12299
12310
"name": "AngleVariance"
12300
12311
},
@@ -12305,13 +12316,17 @@
12305
12316
"label": "Bullet speed variance",
12306
12317
"description": "Bullet speed will be adjusted by a random value within this range.",
12307
12318
"group": "Firing variance",
12319
+
"extraInformation": [],
12308
12320
"advanced": true,
12309
12321
"name": "BulletSpeedVariance"
12310
12322
},
12311
12323
{
12312
12324
"value": "0",
12313
12325
"type": "Number",
12314
12326
"label": "Ammo quantity (current)",
12327
+
"description": "",
12328
+
"group": "",
12329
+
"extraInformation": [],
12315
12330
"hidden": true,
12316
12331
"name": "AmmoQuantity"
12317
12332
},
@@ -12321,6 +12336,7 @@
12321
12336
"label": "Shots per reload ",
12322
12337
"description": "Use 0 to disable reloading.",
12323
12338
"group": "Reload",
12339
+
"extraInformation": [],
12324
12340
"advanced": true,
12325
12341
"name": "ShotsPerReload"
12326
12342
},
@@ -12331,21 +12347,27 @@
12331
12347
"label": "Reloading duration",
12332
12348
"description": "Objects cannot shoot while reloading is in progress.",
12333
12349
"group": "Reload",
12350
+
"extraInformation": [],
12334
12351
"advanced": true,
12335
12352
"name": "ReloadDuration"
12336
12353
},
12337
12354
{
12338
12355
"value": "0",
12339
12356
"type": "Number",
12340
12357
"label": "Max ammo ",
12358
+
"description": "",
12341
12359
"group": "Ammo",
12360
+
"extraInformation": [],
12342
12361
"advanced": true,
12343
12362
"name": "MaxAmmo"
12344
12363
},
12345
12364
{
12346
12365
"value": "0",
12347
12366
"type": "Number",
12348
12367
"label": "Shots before next reload",
12368
+
"description": "",
12369
+
"group": "",
12370
+
"extraInformation": [],
12349
12371
"hidden": true,
12350
12372
"name": "ShotsBeforeNextReload"
12351
12373
},
@@ -12354,43 +12376,58 @@
12354
12376
"type": "Number",
12355
12377
"label": "Total shots fired",
12356
12378
"description": "Regardless of how many bullets are created, only 1 shot will be counted per frame",
12379
+
"group": "",
12380
+
"extraInformation": [],
12357
12381
"hidden": true,
12358
12382
"name": "TotalShotsFired"
12359
12383
},
12360
12384
{
12361
12385
"value": "0",
12362
12386
"type": "Number",
12363
12387
"label": "Total bullets created",
12388
+
"description": "",
12389
+
"group": "",
12390
+
"extraInformation": [],
12364
12391
"hidden": true,
12365
12392
"name": "TotalBulletsCreated"
12366
12393
},
12367
12394
{
12368
12395
"value": "0",
12369
12396
"type": "Number",
12370
12397
"label": "Starting ammo",
12398
+
"description": "",
12371
12399
"group": "Ammo",
12400
+
"extraInformation": [],
12372
12401
"advanced": true,
12373
12402
"name": "StartingAmmo"
12374
12403
},
12375
12404
{
12376
12405
"value": "0",
12377
12406
"type": "Number",
12378
12407
"label": "Total reloads completed",
12408
+
"description": "",
12409
+
"group": "",
12410
+
"extraInformation": [],
12379
12411
"hidden": true,
12380
12412
"name": "TotalReloadsCompleted"
12381
12413
},
12382
12414
{
12383
12415
"value": "true",
12384
12416
"type": "Boolean",
12385
12417
"label": "Unlimited ammo",
12418
+
"description": "",
12386
12419
"group": "Ammo",
12420
+
"extraInformation": [],
12387
12421
"advanced": true,
12388
12422
"name": "UnlimitedAmmo"
12389
12423
},
12390
12424
{
12391
12425
"value": "",
12392
12426
"type": "Boolean",
12393
12427
"label": "",
12428
+
"description": "",
12429
+
"group": "",
12430
+
"extraInformation": [],
12394
12431
"hidden": true,
12395
12432
"name": "ReloadInProgress"
12396
12433
},
@@ -12400,21 +12437,27 @@
12400
12437
"label": "Heat increase per shot (between 0 and 1)",
12401
12438
"description": " Object is overheated when Heat reaches 1.",
12402
12439
"group": "Overheat",
12440
+
"extraInformation": [],
12403
12441
"advanced": true,
12404
12442
"name": "HeatIncreasePerShot"
12405
12443
},
12406
12444
{
12407
12445
"value": "0",
12408
12446
"type": "Number",
12409
12447
"label": "Heat level (Range: 0 to 1)",
12448
+
"description": "",
12449
+
"group": "",
12450
+
"extraInformation": [],
12410
12451
"hidden": true,
12411
12452
"name": "HeatLevel"
12412
12453
},
12413
12454
{
12414
12455
"value": "true",
12415
12456
"type": "Boolean",
12416
12457
"label": "Reload automatically",
12458
+
"description": "",
12417
12459
"group": "Reload",
12460
+
"extraInformation": [],
12418
12461
"advanced": true,
12419
12462
"name": "AutomaticReloading"
12420
12463
},
@@ -12425,14 +12468,17 @@
12425
12468
"label": "Overheat duration",
12426
12469
"description": "Object cannot shoot while overheat duration is active.",
0 commit comments