正在加载视频...
视频加载失败
I made an asteroids-ish game for my watch using the Flame engine and Flutter. Running on a WearOS 3 the player can use the rotating bezel to control the player. I challenged myself to start and finish a game in a week, and here is the result: Watchsteroids. Yep,... show more
157,398 次观看 • 3 年前 •via X (Twitter)
9 条评论

The game accepts two types of control: the physical bezel and the touch screen. This allows people with lame watches without the bezel to play. (Long live Galaxy Watch 4)

Technical details: As it uses the #flameEngine, I could use and abuse its best APIs: Effects and Collision. In terms of features, my favorite part was figuring out how to spawn asteroids and what path they should follow, the video below demonstrates what these paths are.

In terms of design, two things stand out: 1. This effect of "light" to see the asteroids is possible after lots of Blend mode sorcery 2. The viewport moving, which uses the Camera API to follow where the player is aiming and causes the parallax effect Yep, no shaders here.

Making a game (or any app really) for a watch means you have to be aware of hardware and usability constraints. Small screens, limited battery and the fact that it is attached to someone's arm mean you can expect more than one finger in the screen at a time.

I made this for myself but plan to make all of this open source and publish it in the play store (hurry up with my review Mr. Google)

This is to demonstrate the power of the #flameEngine with its amazing APIs. Shout out to @CptPixel (responsible for the effects API which is my favorite) and @spydon that made the collision system that JUST WORKS! Join the discord here:

@CptPixel @spydon The source code is here:

Finally!!! 🎉 Watchsteroids (ew) is available (for free) in the PlayStore for WearOS 3 devices, download it here:

How dare you use my meme against me? hahahhahaha
