#Send help pls ;-;

56 messages · Page 1 of 1 (latest)

shy meteor
#

Basically I have a problem with my attack. When the player jumps, the magic ball attack jumps along with the character. And I also have a problem with reloading the current scene. It works after the player dies but the restart button in the pause menu doesn't work. Please help me out :')

daring thorn
#

Use

#

Set_as_top_level()

#

Method

#

In the

#

Fire ball

#

Code

#

Writr that function

#

In func _ready()

shy meteor
#

and player is down

daring thorn
#

Try to use cavas layer node as parent of fire ball

#

To adjust depth size

shy meteor
daring thorn
#

It is a node

shy meteor
#

okay lemme see

#

no wait

shy meteor
#

actually i think i can fix the spawn

daring thorn
#

Ohh ok

#

By the way in canvas layer

#

You need to change canvas layers

#

Layer property

shy meteor
#

actually i changed the spawn position of the attack, its fixed rn

#

tysm :D

#

but the reload scene thing doesnt work

daring thorn
#

I think it is reload_ current_shene()

#

Method

#

I do not remember correctly

#

This guy made a video on that

shy meteor
#

ik how to reload scene and it works

#

basically

#

theres pause menu and game over menu

#

my restart button in gameover menu works perfectly and the scene is restarted

#

but the restart button in pause menu kinda reloads the scene, but my scene doesnt play

#

pause menu restart used to work before, but it doesnt now

#

i didnt change anything

#

the script isnt wrong either

#

reload successfully happens but its just not working

shy meteor
daring thorn
#

do Me a favour check out that guy video

#

Also if it is internal glitch

#

I think i cannot fix it

shy meteor
shy meteor
shy meteor
daring thorn
#

Nice

#

If you facing problem

#

Notify me

shy meteor
#

i didnt set pause to false when i click restart

daring thorn
#

Ok

#

Nice

#

Good to here it got fixed