Discuss Scratch

YT_DARK
Scratcher
100+ posts

FnF arrow help plz

So i need some help with coding fnf arrows because the people ive asked don't know how it works,so im coming here. My question is what would be the code to make it so that the fnf arrows always go to/point to the arrows at the top of the screen. But make sure it doesn't change the arrow direction.
If you want the game/project to see a refrence then here: https://scratch.mit.edu/projects/548452145/
P.S please dont just be like use the point towards block and thats it, because if I try it and it doesn't work im gonna be sad.
MasterofTheBrick
Scratcher
1000+ posts

FnF arrow help plz

Why wouldn't the point towards block work? Even if the direction was changed the movement shouldn't be affected, unless you are using the move () steps block. In which case use the change y by () blocks instead, so that the arrows will always be moving upwards/downwards regardless of any direction they are pointing in.

I can't view the project right now as I'm on mobile, so this reply was based entirely on guesswork.

Last edited by MasterofTheBrick (June 29, 2021 12:56:14)

EpicGhoul993
Scratcher
1000+ posts

FnF arrow help plz

Your explaination kinda make it sounds weird. Why don't you take a look at other FNF projects?
YT_DARK
Scratcher
100+ posts

FnF arrow help plz

MasterofTheBrick wrote:

Why wouldn't the point towards block work? Even if the direction was changed the movement shouldn't be affected, unless you are using the move () steps block. In which case use the change y by () blocks instead, so that the arrows will always be moving upwards/downwards regardless of any direction they are pointing in.

I can't view the project right now as I'm on mobile, so this reply was based entirely on guesswork.
So the problem isnt so much as the where it points but where it goes. Meaning that even though I set a forever loop of pointing towards all it does is change where the arrow points and not where it goes. And you can see the code and stuff even on mobile you just cant interact with the game itself YET.
YT_DARK
Scratcher
100+ posts

FnF arrow help plz

EpicGhoul993 wrote:

Your explaination kinda make it sounds weird. Why don't you take a look at other FNF projects?
Im not gonna tell you that I've already tried that but i've already tried that since the arrows on other fnf games don't track where the arrows on the top of the screen are. Since im trying to make it so that the arrows just follow the top arrows even if they move.
MasterofTheBrick
Scratcher
1000+ posts

FnF arrow help plz

In my case its not possible to view the project on mobile. Im using data and I don't want to have to use up so much just by looking inside the project.

Anyways, have you even added in the movement script yet? Yes, you have put the direction blocks in a forever loop, so that's solved. What about the change y by () blocks? Have you added that in as well?
YT_DARK
Scratcher
100+ posts

FnF arrow help plz

MasterofTheBrick wrote:

In my case its not possible to view the project on mobile. Im using data and I don't want to have to use up so much just by looking inside the project.

Anyways, have you even added in the movement script yet? Yes, you have put the direction blocks in a forever loop, so that's solved. What about the change y by () blocks? Have you added that in as well?
I would but if there isn't a destination for the arrows it wouldn't make since to move the arrows because Ive made an fnf game already so the script for moving the arrows up are done but in my old one if i moved the top arrows the bottom ones wont move to the new location but i'll try and if it doesn't work imma be sad.
YT_DARK
Scratcher
100+ posts

FnF arrow help plz

bump
MasterofTheBrick
Scratcher
1000+ posts

FnF arrow help plz

The project prevents players from starting the game; the option menu isn't clickable. People can't see what the problem with your project is if they can't play it.
YT_DARK
Scratcher
100+ posts

FnF arrow help plz

MasterofTheBrick wrote:

The project prevents players from starting the game; the option menu isn't clickable. People can't see what the problem with your project is if they can't play it.
Whoa Whoa Whoa there cowboy, Your not supposed to be able to play the game only look at the menus since the WHOLE POINT of this was so I can get the arrows working but imma pretend you already knew that. Also you obviously didn't read it you don't click you tap space to select so the options menu does work. AND that's why you can click see inside project but ok.
MasterofTheBrick
Scratcher
1000+ posts

FnF arrow help plz

I did read the instructions, and the spacebar detector isn't working for the menu. Was this intended to prevent others from playing since you are currently fixing the project?

Secondly, I did see inside the project when I found out the menu wasn't working, but your project has (let me see…) seventy different sprites. I don't know if you're expecting me to sift through all the sprites and see which ones activate the game, or try out every single broadcast in the project and see if one of them initiates the game script, but rest assured I don't want to have to go through that process.
YT_DARK
Scratcher
100+ posts

FnF arrow help plz

MasterofTheBrick wrote:

I did read the instructions, and the spacebar detector isn't working for the menu. Was this intended to prevent others from playing since you are currently fixing the project?

Secondly, I did see inside the project when I found out the menu wasn't working, but your project has (let me see…) seventy different sprites. I don't know if you're expecting me to sift through all the sprites and see which ones activate the game, or try out every single broadcast in the project and see if one of them initiates the game script, but rest assured I don't want to have to go through that process.

Wait if you meant actually play a song then you can't there isn't a script for it because my charter is still charting the song so there accurate. If not then spacebar should allow you to go through the options menu the game mode menu and technically the freeplay although nothing happens there.
As for my question being not about how to make the arrows work but to make them always end at the top arrows and if you need the scripts for those or sprites or whatever they should be located at the top of all the other sprites Being that they are the literal most important stuff
Also I like the joke that you put for your signature.

Last edited by YT_DARK (July 1, 2021 09:17:00)

MasterofTheBrick
Scratcher
1000+ posts

FnF arrow help plz

YT_DARK wrote:

MasterofTheBrick wrote:

I did read the instructions, and the spacebar detector isn't working for the menu. Was this intended to prevent others from playing since you are currently fixing the project?

Secondly, I did see inside the project when I found out the menu wasn't working, but your project has (let me see…) seventy different sprites. I don't know if you're expecting me to sift through all the sprites and see which ones activate the game, or try out every single broadcast in the project and see if one of them initiates the game script, but rest assured I don't want to have to go through that process.

-snip-

I didn't mention anything about music/songs/sound blocks in my reply, how did you come to the conclusion that I wanted a song to be played?

I'll look through your code, but I need to be able to play the project (whether it is unfinished or not). Are you able to point me to a specific broadcast which starts the arrow's movement script?
And as mentioned, the spacebar doesn't work (even if it should be).
YT_DARK
Scratcher
100+ posts

FnF arrow help plz

MasterofTheBrick wrote:

YT_DARK wrote:

MasterofTheBrick wrote:

I did read the instructions, and the spacebar detector isn't working for the menu. Was this intended to prevent others from playing since you are currently fixing the project?

Secondly, I did see inside the project when I found out the menu wasn't working, but your project has (let me see…) seventy different sprites. I don't know if you're expecting me to sift through all the sprites and see which ones activate the game, or try out every single broadcast in the project and see if one of them initiates the game script, but rest assured I don't want to have to go through that process.

-snip-

I didn't mention anything about music/songs/sound blocks in my reply, how did you come to the conclusion that I wanted a song to be played?

I'll look through your code, but I need to be able to play the project (whether it is unfinished or not). Are you able to point me to a specific broadcast which starts the arrow's movement script?
And as mentioned, the spacebar doesn't work (even if it should be).
See when you say “PLAY THE PROJECT” that makes it kinda sound like playing a week or song or whatever and if you mean you can click spacebar on like the menu or options then your spacebar might be broken because the spacebar allows me to do the freeplay and game mode stuff. And like I said you could just click show on the arrows that would be on the top then if you go to the cpu arrows then you can just slightly scroll left to be able to click on the scripts that send the arrows up.(Although you do have to change the bpm in or for the arrows to move).
It should say cpu arrows for the name. If you need for top arrows it will say pattern for the name.

Last edited by YT_DARK (July 1, 2021 09:53:57)

MasterofTheBrick
Scratcher
1000+ posts

FnF arrow help plz

Well, I don't see what the problem is now, your arrows are working fine. Unless you are using the gray cpu arrow sprites as an endpoint for the corresponding cloned arrows? In which case use this script instead:

when I start as a clone
show
repeat until <(y position) > ([y position v] of [arrow spritev])>
change y by (bpm)
wait (.1) secs
end
delete this clone

You'll also have to use clone IDs so that clones created in the cpu arrows sprite know which grey arrow sprite to follow.
YT_DARK
Scratcher
100+ posts

FnF arrow help plz

MasterofTheBrick wrote:

Well, I don't see what the problem is now, your arrows are working fine. Unless you are using the gray cpu arrow sprites as an endpoint for the corresponding cloned arrows? In which case use this script instead:

when I start as a clone
show
repeat until <(y position) > ([y position v] of [arrow spritev])>
change y by (bpm)
wait (.1) secs
end
delete this clone

You'll also have to use clone IDs so that clones created in the cpu arrows sprite know which grey arrow sprite to follow.
So the problem is that if the arrows that are gray move left and right like retro zardy the arrows that are colored/arrows that you hit go up they don't follow the gray arrows and if I do left and right scripts that would be very tedious unless there is absolutely no other way.
EpicGhoul993
Scratcher
1000+ posts

FnF arrow help plz

Is this any close to what you want?
YT_DARK
Scratcher
100+ posts

FnF arrow help plz

EpicGhoul993 wrote:

Is this any close to what you want?
yup so im clocing this topic.

Powered by DjangoBB