Comments (6)
Since CharacterBody2D is a physical node, it does detect collisions... but might have to sort thru detailed info of all the recent collisions for sliding characters. (At which point: just adding an area seems pretty straight forward...)
I'll play with some methods for Character Body first.
from nvd23.
Dictionaries don't export to the editor like I thought they would... nor do they update from a resource like I thought, either.... which ruins the simplest approach to this. It's gonna take more than the @export
annotation to make it adjustable, and that'd blow it out of proportion for class.
I need to see if there are any other quirks I should be aware of when it comes to dictionaries in Godot.
from nvd23.
OK so maybe the Stats Guage I was thinking of is solely a UI thing. All character entities/nodes can technically manage their own collection of stats as it sees fit and tell its listeners what's up... gonna move those tasks into a different issue. (Either add it to an existing step or make a new one.) → #13
Let's not over-engineer this 👍
A stat property on the character will technically:
- manage its assigned stat (increments/decrements based on events)
- share stat info w/ the UI and other components (via a signal)
from nvd23.
Should probably note the hitbox's parent would do all the reporting to sibling components cuz it already knows who they are/has access... the hitbox just needs to send the info it gathers to it. (via the "on enter" signals)
from nvd23.
Everything was fine until the Player stopped detecting collisions with the enemies... might have to switch back to a Rigid Body?
from nvd23.
Since we have a Hitbox, I'm going to use the Hitbox. The player character is still set to log collisions from move_and_slide
so we'll see if anything else fails to detect.
Rigid bodies would be fun but frankly... physics has drained me enough again.
from nvd23.
Related Issues (20)
- Flesh out the Enemies HOT 3
- Improve Platforming Mechanics HOT 3
- 👑 Create a full level! HOT 1
- alternate controls HOT 4
- "Advanced" Enemy behaviors HOT 1
- test out exports w/ self-contained mode
- release a build?
- Skins! HOT 1
- Wall Jumping
- Update assets zip file HOT 7
- Bonus Sonic Advance Sprite Sheets HOT 1
- Cannon coords seem off? HOT 2
- Gravity Shield HOT 1
- Double Jump animation isn't working anymore
- `move_and_slide` collisions ☠ HOT 1
- Coin Tool HOT 3
- Enable "Sugar Rush Mode" HOT 1
- Collectible Jingles don't play HOT 1
- Vault/Wiki Notes Cleanup & Research HOT 3
- Create PDF from MD notes HOT 1
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 nvd23.