I need help agian, but not for something dumb

I need help with a game im making, Dan The Therapist. Does anybody know how to make a splash text that has two possible options? also heres the game so far if u want to see it, but its pretty bare bones because im mainly working on MoonMan.

2 Likes

you could use the story extention for this

also I could help If you need

1 Like

You can use the story extension (like what cool.dudefncs has said) for a more easier way to add options however you can use Richard’s Arcade-mini-menu extension which is super awsome for customisable option selections giving you a lot more freedom into making it.

1 Like

Closest I can get to is using the ask block.

It’s a Boolean block that prompts the player a yes or no question, which is converted to a true or false output.

It also looks like splash text to.

1 Like

I tried it out, and it seems great! however…

I dont know how to do functions, so could anybody teach me? im new :sweat_smile:

1 Like

Uhhh I’m not sure but the link I provided has an example which you can check out! :kaiju:

1 Like

I tried looking on the functions and it wont let me open them :face_with_bags_under_eyes:

i guess ill just check if theres an official makecode tutorial

2 Likes

When you create a function, the “open” function is already created somewhere in your project! The closed “call…” blocks are just for calling the function (making it run). If you can’t find it, you can right click the “call” blocks to get the menu, and there is an option to “go to definition” which will teleport you to where the “open” part is at.

2 Likes

Thanks a bunch @WoofWoof !

Im trying out using functions, but (for the 107th time) i need help. i cant figure out why my menu isnt appearing. If you spam it it lags the game, so i think its being processed, but not showing up. But im not the expert so i would lve it if somebody who actually knew what tey were doing could help. Thanks! Also, dont mind the hole, im starting to make a mining area.

2 Likes

Your menus are spawning off the screen! Try turning on the flag “relative to screen” for your menu. Your game is lagging when you spam because you create more menus even when one is already open. Here’s a working version of your code:

1 Like

you should add walking animations