Chatting Area! Have fun!

๐€๐ฉ๐ฉ๐š๐ซ๐ž๐ง๐ญ๐ฅ๐ฒ ๐ฐ๐žโ€™๐ซ๐ž ๐๐จ๐ข๐ง๐  ๐ญ๐ก๐ข๐ฌ ๐ญ๐ก๐ข๐ฌ ๐ญ๐ก๐ข๐ง๐  ๐ฌ๐จ ๐ˆ ๐œ๐š๐ฎ๐ ๐ก๐ญ @Wus_duck

1 Like

I found the issue! The problem you have is that the โ€œon buttonโ€ blocks donโ€™t register a new click until the the code running from the last click completes. This means that until those story and music blocks in the On A Button Pressed block are over, it wonโ€™t detect that you have pressed the A button. Then, once they do stop, the times you have pressed A while waiting for the blocks to end are saved, so the A block runs again after it stops, causing your double input issue. What I did to fix this was move all that story code into a forever loop. This is so that the On A Button Pressed block will still work for skipping text, while the Forever loop handles everything else!

I renamed that โ€œa or no aโ€ variable to โ€œdialogue is runningโ€ but I ended up not needing the variable at all. Instead, at the end of the Forever loop, I put a โ€œwait until <Not (A button is pressed)>โ€. This way, the Forever loop wonโ€™t loop again if you press A to skip dialogue! If you have any issues or questions, ask away!

3 Likes

2 Likes

๐€๐ง๐ ๐ง๐จ๐ฐ ๐ข๐ญ ๐ฃ๐ฎ๐ฌ๐ญ ๐ฐ๐จ๐งโ€™๐ญ ๐ฅ๐ž๐ญ ๐ฆ๐ž ๐ฌ๐ž๐ž ๐ฆ๐ฒ ๐ฉ๐จ๐ฌ๐ญ?..

1 Like

what am I doing?

1 Like

also you put this two times

1 Like

are you talking about light mode and dark mode

2 Likes

Wow that looks cool

7 Likes

so anyway ive started makin an rpg maker project thatโ€™s just phantasy star 1.

2 Likes

๐€๐ฅ๐ฌ๐จ, ๐ข๐Ÿ ๐ฒ๐จ๐ฎโ€™๐ซ๐ž ๐จ๐ง ๐ฅ๐ข๐ ๐ก๐ญ ๐ฆ๐จ๐๐ž, ๐ญ๐ก๐ž๐ง ๐ฆ๐ฒ ๐ฉ๐Ÿ๐ฉ ๐ฅ๐จ๐จ๐ค๐ฌ ๐ญ๐ข๐ง๐ฒ :].

2 Likes

@Manballmeat welcome to makecode
if you want more of that i have a forum ink to where i put my demos
then final game
here ya go

1 Like

Thanks a lot i have been stuck not devolping on this project for almost a month
to repay do you want an NPC?

2 Likes

I did not know until now that dark mode in on here

4 Likes

I am NOT manballmeat, nor am I affiliated with he/she in any way. just clearing things up before stuff gets out of hand

6 Likes

ok got it

2 Likes

your a meatball with a face and legs

3 Likes

Okay thanks for the info

5 Likes

We are Scratchโ€™s Upgrade.

3 Likes

should i try to run a makecode game on my xp laptop?

4 Likes

A small challenge for people who likes code :


No hints !

8 Likes