GitHub Hot Board

GitHub Hot Board · Архів репозиторію

Plonq/bevy_rts_camera

RTS-style camera controls plugin for Bevy Engine (Опис узято з самого репозиторію.)

Rust

Дані на October 28Plonq

Найкраще місце

#205

Недооцінені перлини

Поточні місця · Недооцінені #205

100

Усього зірок

19

Усього форків

5

Днів у рейтингах (30 дн.)

Ліцензія: Apache-2.0Останній push: October 14Відкриті issues (вкл. PR): 3Збирається з 2026-10-25; невідомо = ще не зібрано

Поточні місця

  • 205

    Недооцінені перлини

    100 зірок · 19 fork · Усього зірок (за зростанням)

    Недооцінені →

Динаміка за 30 днів

Накоплені зірки

Динаміка місць

Приріст за день

Збирається з 2026-10-25; невідомо = ще не зібрано

Документація проєкту

Crates.io docs.rs Bevy tracking

Bevy RTS Camera

A screen recording showing camera movement

Summary

Bevy RTS Camera provides an RTS-style camera for Bevy Engine, to get your game up and running quickly. Designed for simple use cases, and does not try to cover advanced requirements.

Features:

  • Pan, zoom, and rotation
  • Automatically follows whatever you mark as 'ground'
  • Smoothed movement
  • Customisable controls and other settings
  • Comes with optional controller, or you can control it yourself

Default Controller

A default controller is included with these default controls:

  • Arrow Keys: pan
  • Mouse Wheel: zoom
  • Middle Mouse: rotate

You can also 'edge pan' by moving the mouse to the edge of the screen.

Quick Start

Add the plugin:

.add_plugins(RtsCameraPlugin)

Add RtsCamera (this will automatically add a Camera3d but you can add it manually if necessary):

commands.spawn((
    RtsCamera::default(),
    RtsCameraControls::default(),  // Optional
));

Add Ground to your ground/terrain entities:

commands.spawn((
    PbrBundle {
        mesh: meshes.add(Plane3d::default().mesh().size(80.0, 80.0)),
        ..default()
    },
    Ground,
));

This will set up a camera at world origin with good defaults based on a roughly realistic scale (where an average human is 1.75 units tall).

Check out the advanced example to see the possible configuration options.

Version Compatibility

bevy bevy_rts_camera
0.20 0.15
0.19 0.14
0.18 0.13
0.17 0.11-0.12
0.16 0.10
0.15 0.9
0.14 0.8
0.13 0.1-0.7

License

All code in this repository is dual-licensed under either:

at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.

Поставте бейдж у свій README · Plonq/bevy_rts_camera[![Поставте бейдж у свій README](https://git.vaiox.xyz/api/badge/Plonq/bevy_rts_camera.svg)](https://git.vaiox.xyz/uk/repo/Plonq/bevy_rts_camera)

Badge · 任何仓库都可以挂 —— 未上榜的仓库显示灰章,上完榜会自动点亮。

<a href="https://git.vaiox.xyz/uk/repo/Plonq/bevy_rts_camera"><img src="https://git.vaiox.xyz/api/badge/Plonq/bevy_rts_camera.svg" alt="Поставте бейдж у свій README" height="20"></a>

← До рейтингів

GitHub Hot BoardМашина часуОгляд联系我们 · Contact