Skip to content

Commit

Permalink
hide mouse in gameplay
Browse files Browse the repository at this point in the history
  • Loading branch information
Vortex2Oblivion committed Mar 24, 2024
1 parent 955b25a commit fb558a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/preload/data/eventList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ No Shader~Character (BF, Dad, GF)~Nothing
Init Shader~Id~Filename Shaders must be created before using in other events and scripts
Set Camera Shader~Id~Camera (hud, game, or both) Adds a shader to a camera.
Remove Camera Shader~Id~Camera (hud, game, or both)
Set Property~actor.property~value ex: boyfriend.x, 300
Set Property~actor.property~value - ex: boyfriend.x, 300
2 changes: 2 additions & 0 deletions source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,8 @@ class PlayState extends MusicBeatState{
// set instance because duh
instance = this;

FlxG.mouse.visible = false;

// preload pause music
new FlxSound().loadEmbedded(Paths.music('breakfast'));

Expand Down

0 comments on commit fb558a1

Please sign in to comment.