otacke / h5p-game-map

Let your students choose their exercises on a game map.
MIT License
3 stars 6 forks source link

stage customization #89

Open Ozimandia opened 3 weeks ago

Ozimandia commented 3 weeks ago

It would be interesting if the stage could be resized and when a stage is completed, instead of a star appearing, you could customize it and place an image.

otacke commented 3 weeks ago

@Ozimandia See https://github.com/otacke/h5p-game-map/issues/83 for setting a custom stage size.

You can already change the icon of a stage (like most other visual changes of H5P content types) by using CSS overrides. I understand that this is too complex for most people though. I'd not rule out adding this option, but you're the first person requesting this and I don't want to unnecessarily make the editor of GameMap more complex than it already is.

Ozimandia commented 3 weeks ago

Dear Otacke, thanks for the response, I didn't know it could be done that way since I'm not a programmer and I avoid trying to make those modifications to the code so as not to ruin something.

otacke commented 3 weeks ago

That's the beauty: You can't break anything by using the overrides, because you don't touch the original code.

Ozimandia commented 3 weeks ago

Thanks, I'll document myself and try to do it.