It looks like you're new here. If you want to get involved, click one of these buttons!
Player = Core.class (Sprite) print(Player.class_name) // I want to get “Player” local ins_player = Player.new() print(ins_player.class_name) // I want to get “Player” |
Comments
Likes: E1e5en
Likes: MoKaLux
Player:getClass()
Likes: E1e5en
Likes: E1e5en
But this does not solve the problem, as it gives the name Sprite for everyone. And I need the name of the class I created (Player).
Likes: MoKaLux, E1e5en
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game