I need some help. I’m going to create 5 lists full of numbers.
Something like this will make your code much shorter.
let list: number[] = []
for (let index = 0; index < 10; index++) {
list.push(randint(0, 10))
}
I don’t want it random. I want it to have 5 lists and then get all the numbers in order in text sprites
Hmmm…let me whip up something real quick.
I put the list in there first, then I kinda need to do it for another four times
So you need to place all the numbers on screen and have the user choose one of them?
Maybe this?
Uses this:
To generate the menu.
Hmm… That could work except, I don’t need it as a menu though
Then, you just remove the close menu
block so it never goes away.
hmm… never used this extension before but I think ti could work
is there any way to get rid of the choice block thing? I want the white block thing to go away
I tried editing the foreground and background but it didnt work
This is @richard’s extension, so I would ask him to add functionality to show or hide the cursor.
@richard sorry to bother you, but is it possible to remove the cursor? Something like:
blockmenu.showCursor(false)
I wouldn’t want to switch to text sprites because then you have to figure out the positions of all of them.
I think I have the position code down thanks to @jacob_c. He showed me how to use the variables and math to create different kinds of positions
Then I would just create a list of text sprites so you can cleanly reference them.
Something like this:
But for each number.
Oh. That sounds good
Darn it. Now I gotta copy and paste all the textSprite booleans now. (I think they’re called booleans)
bool
s are true
or false
values. I think you mean sprites?