Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monster illustrations #154

Open
oskarrough opened this issue Jan 30, 2022 · 2 comments
Open

Monster illustrations #154

oskarrough opened this issue Jan 30, 2022 · 2 comments
Labels
UI Styling and other things related to the game's UI/UX

Comments

@oskarrough
Copy link
Owner

This kind internet user has allowed us to use these illustrations for Slay the Web.

slaytheweb-monsters-imgur

Currently all enemies only have a healthbar.

@oskarrough oskarrough added the UI Styling and other things related to the game's UI/UX label Jan 30, 2022
@AndreyKorzukhin
Copy link

great, but here's how to use them on enemies... tricky to figure out, so far without success.

@oskarrough
Copy link
Owner Author

Do you mean to ask how it could be implemented? If so, I'm also not sure. All rooms and their monsters are defined in https://github.com/oskarrough/slaytheweb/blob/main/public/content/dungeon-encounters.js. For example

Monster({
  hp: 28,
  intents: [{weak: 1}, {block: 10, damage: 10}, {damage: 21}],
})

each monster could have two new properties: name and image? Once that's added, we "just" need the CSS styles to make it fit into the layout and ideally make it work on mobile landscape as well as desktop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI Styling and other things related to the game's UI/UX
Projects
None yet
Development

No branches or pull requests

2 participants