Skip to content

Tiny Auto Tank#230

Open
xbjbmdj wants to merge 7 commits into
Yao-class-cpp-studio:mainfrom
xbjbmdj:Tiny-Auto-Tank
Open

Tiny Auto Tank#230
xbjbmdj wants to merge 7 commits into
Yao-class-cpp-studio:mainfrom
xbjbmdj:Tiny-Auto-Tank

Conversation

@xbjbmdj

@xbjbmdj xbjbmdj commented Jan 16, 2025

Copy link
Copy Markdown

To make the tank automatically fire, we only need to remove the line :
if (input_data.mouse_button_down[GLFW_MOUSE_BUTTON_LEFT]) {
For the tiny tank, its turret always follows the mouse.
We designed a new tank: Tiny Auto Tank.
Press Key 1 to activate auto fire.
Press Key 2 to activate auto turret rotation.

@xbjbmdj

xbjbmdj commented Jan 16, 2025

Copy link
Copy Markdown
Author
demo.4.mp4

@xbjbmdj

xbjbmdj commented Jan 16, 2025

Copy link
Copy Markdown
Author

Issue #217.

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.

1 participant