Need help with a Fnaf game

Hello I’m trying to make a Fnaf game but it has a bunch of bugs that I don’t know how to fix can anyone help me to fix them or give me ideas to make it better thanks.

6 Likes

If you share your code, we can help!

6 Likes

Sure! Just share your project (or your problem) and I can help, I made plenty of fnaf-likes and would love to help others do the same. :partying_face:

6 Likes

Can We See What you Have Currently???

5 Likes

I agree

5 Likes

I did. I’m still waiting for approval though.

3 Likes

I’d be happy to help with what I can. You’ll probably need to share the to link though

3 Likes
5 Likes

its good idk why buts its kinda buggy but I like the art

3 Likes

Very nice art, although I see the first problem. You keep destroying the left and right buttons when you don’t need to. Destroying sprites that are gonna be used later in code tend to no go so well (at least for me).
Solution: When the player turns left or right, make a variable (or a sprite data using the sprite-data extension) that saves what direction they’re looking at and make the button they use turn invisible and ghost through sprites.

2 Likes

can you show pictures or a game if you can I’m new to this kind of stuff thanks.

1 Like

Seems apparent that there is a bug which creates a sprite on every frame making it lag.

2 Likes

In this version, click the ‘A’ button on the arrows to look left and right!
it does add a 5 ms (milisecond) delay between switching, you can change it in the ‘After (500)’ block to 100 if you want to shorten it

3 Likes

Wow this is great !!! Is it okay if I build my game off this because this is amazing thanks.

2 Likes

Yep! And if you need anymore tips, me and everyone else here are happy to help. Also Welcome to the fourms! :partying_face:

2 Likes

thank you

1 Like

Love the art can’t wait to play the game :smiley:

4 Likes

question can you add voice lines into your game just wondering.

2 Likes

here’s how the game is doing I have been really updated it that much https://arcade.makecode.com/S36329-14707-94990-04801

2 Likes

good job on adding on to the existing code. Small problem, you put Down on the top when it should be up (since that’s what you set the direction to in the code.) meaning you can’t go back down after looking up.
Also you can’t add real like voice acted lines but you could do game over text or maybe subtitles with the many text sprite extensions

3 Likes