Utility functions #107
Replies: 2 comments
-
@ejamshidiasl Fyi, for 'is on floor?' there is an engine variable called |
Beta Was this translation helpful? Give feedback.
-
Thank you for the suggestions! i can see how some of these would be useful. There isn't any camera logic at all in the engine, maybe some stuff for that would be helpful. part of the goal of LJS is to keep things simple to empower users to write their own functions for this kind of thing like how the camera works in their game because there are so many different types of cameras. I will think about what I can do to help make it easier to do this stuff tough. Keep adding to the list if there is anything else you feel is missing! thanks @swkidd! LJS uses a streamlined approach so there isn't a function like "isOnGround()". There is just a variable on objects called groundObject which is truthy if an object is on the ground. Usually it is the object it is on top of but it may just be a true value if it is on the the ground on something that is not a real object like the tile collision. |
Beta Was this translation helpful? Give feedback.
-
i think we need some usefull functions (like godot). maybe these things:
Beta Was this translation helpful? Give feedback.
All reactions