Hi,
I’m trying to create a card game, where I have different cards, which all have the same back sprite, the same flip animation script, but different front sprites (and some other properties like ‘value’).
My plan was to have a base card object, and have all my cards inherit from that, and then set the front sprite and specific properties for each card in the respective inherited object.
In Godot for example I can inherit one scene from another, which makes it easy to have the same general object, but with different properties, sprites, etc.
I’m note quite sure how to do it in Defold, as I understand there is no inheritance.
Preferably I would like to do it in design time, so that I can see and edit each card in the editor.
How would you go about sth. like this?
Kind regards.