The global singleton scene, processes everything and hold global data. Also contains all the API functions.
<aside> đ Items marked with a âď¸are exclusive to the BLAST! version. Items marked with a đ will disappear in future versions.
</aside>
Properties of the root node :
<aside> âď¸ If you change Custom Bullet Props Data, you need to restart Godot to see the changes applied to all Bullet Props. Adding and removing keys will impact ALL Bullet Props in your project. Changing default values will ONLY impact Bullet Props where this default value hasnât been changed. If you witness a case where this rule doesnât apply, please report it.
</aside>
âď¸Default idle/spawn/shoot/waiting/delete: default âď¸AnimState for each native state of all bullets.
âď¸Time scale : change the speed of the time.
âď¸RAND SEED : the RandomNumberGenerator seed. Any Int32 value is a valid seed (except -1, which generates a random seed with randomize() ). Once the game is loaded, itâs better to change the seed through rng_edit()
. Read Randomisation and Randomisation
Bounce Group : bullets that will collide with bodies belonging to these groups will bounce instead of be destroyed. Default group name : "Bounce". You can change or add more.
âď¸Gravity : global gravity value applied to all bullets. A normal gravity should be less than 10. Using 0,0 will disable the gravity system.
âď¸z_index (this is the native Godot property) : change the z level at which the bullets are drawn. It can be individually changed in Bullet Props but itâs not recommended as it will impact performances.
đSFX list : list of audio files, see Animating bullets to learn how to use.
Culling :
update_viewport()
** : update the Rect2() which determines the limits of the screen. Used for Culling. Viewport is updated automatically every Viewport refresh rate
times but this function does it manually. It is recommended to call this function every time the scene changes in the sceneâs _ready
function, before any bullet gets shot.](https://dark-peace.notion.site/update_viewport-update-the-Rect2-which-determines-the-limits-of-the-screen-Used-for-Viewpor-13e6afe4334642fc92e2c51b41ed35a0)Spawning.interest_list
will have their collision disabled.These variables arenât exported but can still be useful. Use Spawning.*variable
* to get it. Variables accessible by an API function arenât listed here, as itâs recommended to get them through their function instead.