Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ask & anwser #542

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

JiepengTan
Copy link
Contributor

issue: #510
TODO : replace the default ui prefab

demo project: 06-AskAndAnwaser.zip

demo:

onStart => {
	say "Hello Go+"
	ask "What is your name?"
	say "Hello " + anwser , 1
	wait 1
	ask "What is your age?"
	say "Age " + anwser
}

Ask.Anwser.mp4

@JiepengTan JiepengTan requested a review from nighca March 25, 2025 09:46
return p.anwserVal
}

func (p *Game) ask(msg string, callback func(string)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Scratch, it is also supported to call Ask on game, which produces a different UI with calling Ask on sprite

Ask on sprite

image

Ask on game

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants