Comments (7)
For the GSAIKinematicBodyAgent2D, it'll need to be via the stat_changed signal, since those values are built into the steering framework.
from godot-2d-space-game.
Seems like a serious bug. Any advice on how to go about debugging this? Perhaps I can compare the code with that before the refactor commit.
from godot-2d-space-game.
I have to check again, this might be solved already. There's more refactoring to do for the upgrade system but for now, we're busy with other projects.
from godot-2d-space-game.
I've manually play tested all the upgrades and the stats' cache dictionary seems to be updating properly. _cache is where all the current stats are located right? If so then this issue can be closed. Unless, the _cache updates don't actually change the gameplay? I can't tell because of the lack of any numerical feedback in-game. The health bar & cargo circle don't get bigger but I guess that's how the GUI is set up.
from godot-2d-space-game.
The stats are the stats, but concrete movement speed is being handled by the steering ai framework. I'll check it right away
from godot-2d-space-game.
The issue is still there. Notes to address it:
In the player's Move.gd state, we need to update the linear_speed_max and acceleration_max when the corresponding stat changes on the ship. This requires adding signals to the stats (signal linear_speed_max_changed(new_speed)
etc. to connect them to the move state.
from godot-2d-space-game.
Could simplify it and just use the stats_changed
signal and just re-apply all the variables.
from godot-2d-space-game.
Related Issues (20)
- Enemies don't react to being shot from afar HOT 2
- Refactor Minimap to remove coupling with the Ship, Asteroids...
- Infinite map generation HOT 1
- Pirate ships not removed from minimap when dead
- When asteroid auras overlap, wrong asteroid is removed when mined out HOT 1
- Multiplayer HOT 1
- Space warp HOT 1
- Once docked, make the ship rotate with the dockable HOT 5
- Add possibility to change the controls
- Fix game crashes on startup HOT 2
- 3d verson? HOT 7
- Refactor world generation
- LayeredWorld.gd has unreliable planet retention and spawning issues HOT 1
- Bug: Signal 'force_undock' is already connected to given method '_on_Ship_force_undock'. HOT 4
- Lower the initial difficulty: Pirates are too OP HOT 2
- space-game/projects
- Minor improvements for Controller Support
- Link off main page to Contributor guidelines is a 404 HOT 1
- Porting in Godot 4 HOT 2
- dunno
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 godot-2d-space-game.