Replies: 3 comments 3 replies
-
Global You should not override |
Beta Was this translation helpful? Give feedback.
-
Thank you for your quick answer. Ok got it, it makes sense. Do you know an example project which uses Entity's methods inheritance instead of global functions? |
Beta Was this translation helpful? Give feedback.
-
I don't know if it helps but I've made this https://github.com/a2cy/CubePixel/tree/upstream |
Beta Was this translation helpful? Give feedback.
-
Hello,
I want to write a game using ursina. However, the only source code I found on github are little games or examples, but not real games.
There are two questions here:
update
andinput
functions have to be global, as I want to write my code using classes. I readmain.py
and it seems there is no alternative. Maybe I should override theUrsina
class instead? What is the recommandation when you want to write a game application which is not a single file script?Thank you.
Beta Was this translation helpful? Give feedback.
All reactions