Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Entity Component System #43

iansedano started this conversation in Ideas
Discussion options

As per #13

Currently there isn't much of a system to handle entities and especially different types of them. As the game's complexity and feature set grows we will need at least some minimal system for this.

My suggestion would be a simple class based approach, while maybe not truly an entity component system, it will probably handle most of what we care about for the foreseeable and be easy enough for people to understand.

There is a very basic system in Arcade's platformer tutorial here: https://api.arcade.academy/en/latest/examples/platform_tutorial/step_17.html

This is a simple and straight forward system, however maybe not the most flexible. Definitely this is open for discussion/suggestions on what might be the best approach.

You must be logged in to vote

Replies: 1 comment

Comment options

From the PyCon discussions it would seem to make sense to use composition to structure our sprite classes, the question becomes whether we should roll our own or just use something like esper.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /