Comments (1)
This is roughly related to the camera being scrolled multiple times. There is a switch_map
function which handles the map switching upon contact with a door that leads to a new map. This function scrolls the camera with an instant move speed(1.0).
However the on_update
function also constantly scrolls the camera using the default camera move speed(which is not instant to create the scrolling camera effect), this means that we're essentially instantly scrolling the camera to the player, and then trying lerp it there on the normal camera speed at the same time, so it creates this rubber band effect we see now.
What we will need for this is a way to control the camera scroll speed for a given run on of on_update
, such that it could be the normal camera speed constant normally, but could be changed to 1.0 if we are changing maps.
from community-rpg.
Related Issues (20)
- Bug: Cats do not use vertical movement texture data HOT 6
- Enhancement: Entity Component System
- Feature: Give characters foot step sounds HOT 1
- Feature: Add sounds for doors & item pickups
- Pressing the Main Menu button (Esc) crashes the game HOT 2
- :bug:: World Boundary
- Hitbox does not match textures HOT 2
- Farm Texture is Messed Up
- Add a sparkle effect ✨ for items that are searchable
- Switch to the Scene Manager HOT 1
- GUI System HOT 1
- Switch the main menu to use the arcade GUI HOT 1
- Switch to Raycasted Shadows HOT 2
- what the dog doin? HOT 1
- Bug: Foot step sounds get stuck re-playing rapidly HOT 1
- Update screenshot in README.md
- README.md needs to be updated with a link to the discussion board
- Controls listing in README is hard to read on one line
- Bug: Game crashes with exception when launching
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from community-rpg.