Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sarooptech/BoxCam2D
Godot Box / Room / Grid Based Camera Node.
https://github.com/sarooptech/BoxCam2D
gdscript godot godot-engine godotengine
Last synced: 6 days ago
JSON representation
Godot Box / Room / Grid Based Camera Node.
- Host: GitHub
- URL: https://github.com/sarooptech/BoxCam2D
- Owner: sarooptech
- License: mit
- Created: 2020-02-15T03:10:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-01T01:43:39.000Z (10 months ago)
- Last Synced: 2024-08-02T06:16:24.580Z (3 months ago)
- Topics: gdscript, godot, godot-engine, godotengine
- Language: GDScript
- Homepage: https://samdaiyagames.itch.io/boxcam2d
- Size: 36.1 KB
- Stars: 18
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-godot - BoxCam2D - Simplest way to implement grid-based 2D camera movement (Godot 3.x). (Plugins and scripts / 3D)
- awesome-godot-3 - BoxCam2D - Simplest way to implement grid-based 2D camera movement (Godot 3.x). (Plugins and scripts / 3D)
README
# BoxCam2D
Godot Box / Room / Grid Based Camera Node.# Requirements:
* Godot V3.X
* Godot Project With 2D Keep Aspect.( Optional )
* 2D Scene with "Player"(Name can be different) Node.# How To Use It:
* Copy "BoxCam2D.gd" inside your Godot Project.
* Add BoxCam2D Node using "+" or "Ctrl+A" inside root of your Scene.
* Assign your "Player" (KinematicBody2D Or RigidBody2D) Node to BoxCam2D Node using Inspector.
* Make Current True/Enabled/Ticked inside "BoxCam2D" Inspector.
* Also upate project Window Settings as shown.
* Make sure to set `Mode` to `2d` or `Viewport` and `Aspect` to `keep` in Project Settings. (Path: `Display/Window/Stretch/`)
* Checkout screenshot of Project Stretch settings below.![window settings](img/window_settings.png)
# Credits:
This asset is created during AssetJam-5. You can use this Asset in any possible way you want.
Checkout LICANCE for More Details.
If you like my work please consider following me on twitter at "https://twitter.com/sarooptech".
Have any query regarding this asset? Write me at [email protected]