Skip to content

Add touching color#680

Merged
JiepengTan merged 1 commit intogoplus:devfrom
JiepengTan:pr_add_touching_color
May 28, 2025
Merged

Add touching color#680
JiepengTan merged 1 commit intogoplus:devfrom
JiepengTan:pr_add_touching_color

Conversation

@JiepengTan
Copy link
Copy Markdown
Contributor

test project:
test_color.zip

test script:

onStart => {
	for {
		if touchingColor(HSB(0, 100, 100)) {
			say "touchingColor Red"
		} else {
			say "no touchingColor Red"
		}
		waitNextFrame()
	}
}

onKey KeyUp, => {
	changeXYpos 0, 5
}

onKey KeyDown, => {
	changeXYpos 0, -5
}

onKey KeyLeft, => {
	changeXYpos -5, 0
}

onKey KeyRight, => {
	changeXYpos 5, 0
}

TouchColor2.mp4

@JiepengTan JiepengTan force-pushed the pr_add_touching_color branch from 7cd8119 to dccdc7b Compare May 28, 2025 09:25
@JiepengTan JiepengTan requested a review from nighca May 28, 2025 09:26
@JiepengTan JiepengTan merged commit 1d1c6ff into goplus:dev May 28, 2025
3 checks passed
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.

3 participants