-
Notifications
You must be signed in to change notification settings - Fork 0
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
Milestone 8 - Crafting #33
Conversation
Signed-off-by: Sam Biggins <[email protected]>
* feat: add help screen Signed-off-by: Sam Biggins <[email protected]> * feat: add help screen tip Signed-off-by: Sam Biggins <[email protected]> * refactor: move time feature files to correct subfolders Signed-off-by: Sam Biggins <[email protected]> * fix: slow and pause time events Signed-off-by: Sam Biggins <[email protected]> --------- Signed-off-by: Sam Biggins <[email protected]>
* feat: add hammer item/asset * fix(focus): correctly handle player moving out of range of focus objects Signed-off-by: Sam Biggins <[email protected]> * refactor: make hammer pickupable, modify world position Signed-off-by: Sam Biggins <[email protected]> * refactor(focus): refactor focusSystem to focusManager class Signed-off-by: Sam Biggins <[email protected]> * fix(focus): correctly center focus arrow Signed-off-by: Sam Biggins <[email protected]> * feat(controls): add simple onClick function for initial mouse handling Signed-off-by: Sam Biggins <[email protected]> * chore: remove extraneous logging Signed-off-by: Sam Biggins <[email protected]> * refactor: move all focus functionality to entity feature Signed-off-by: Sam Biggins <[email protected]> * refactor(focus): calculate distance based on nearest edges Signed-off-by: Sam Biggins <[email protected]> --------- Signed-off-by: Sam Biggins <[email protected]>
* feat: implement simple crafting Signed-off-by: Sam Biggins <[email protected]> * feat(crafting): add recipes, rock item and assets Signed-off-by: Sam Biggins <[email protected]> * fix: add missing eslint plugin Signed-off-by: Sam Biggins <[email protected]> * refactor(crafting): remove code smells Signed-off-by: Sam Biggins <[email protected]> --------- Signed-off-by: Sam Biggins <[email protected]>
Signed-off-by: Sam Biggins <[email protected]>
Signed-off-by: Sam Biggins <[email protected]>
Signed-off-by: Sam Biggins <[email protected]>
* feat: add help screen Signed-off-by: Sam Biggins <[email protected]> * feat: add help screen tip Signed-off-by: Sam Biggins <[email protected]> * refactor: move time feature files to correct subfolders Signed-off-by: Sam Biggins <[email protected]> * fix: slow and pause time events Signed-off-by: Sam Biggins <[email protected]> --------- Signed-off-by: Sam Biggins <[email protected]>
* feat: add hammer item/asset * fix(focus): correctly handle player moving out of range of focus objects Signed-off-by: Sam Biggins <[email protected]> * refactor: make hammer pickupable, modify world position Signed-off-by: Sam Biggins <[email protected]> * refactor(focus): refactor focusSystem to focusManager class Signed-off-by: Sam Biggins <[email protected]> * fix(focus): correctly center focus arrow Signed-off-by: Sam Biggins <[email protected]> * feat(controls): add simple onClick function for initial mouse handling Signed-off-by: Sam Biggins <[email protected]> * chore: remove extraneous logging Signed-off-by: Sam Biggins <[email protected]> * refactor: move all focus functionality to entity feature Signed-off-by: Sam Biggins <[email protected]> * refactor(focus): calculate distance based on nearest edges Signed-off-by: Sam Biggins <[email protected]> --------- Signed-off-by: Sam Biggins <[email protected]>
* feat: implement simple crafting Signed-off-by: Sam Biggins <[email protected]> * feat(crafting): add recipes, rock item and assets Signed-off-by: Sam Biggins <[email protected]> * fix: add missing eslint plugin Signed-off-by: Sam Biggins <[email protected]> * refactor(crafting): remove code smells Signed-off-by: Sam Biggins <[email protected]> --------- Signed-off-by: Sam Biggins <[email protected]>
# Conflicts: # .github/workflows/code-quality.yaml
* feat(crafting): implement crafting ui Signed-off-by: Sam Biggins <[email protected]> * feat(crafting): make crafting scene (window) draggable Signed-off-by: Sam Biggins <[email protected]> * fix(crafting): fix duplicate call to craft function * refactor(crafting): rename to craftingScene, break code in to additional methods for clarity * feat(crafting): implement crafting ui Signed-off-by: Sam Biggins <[email protected]> * feat(crafting): make crafting scene (window) draggable Signed-off-by: Sam Biggins <[email protected]> * fix(crafting): fix duplicate call to craft function * refactor(crafting): rename to craftingScene, break code in to additional methods for clarity * refactor(entity): create common draggable class, inherit subscenes from it Signed-off-by: Sam Biggins <[email protected]> * refactor(entity): simplify all subscenes to be uniform Signed-off-by: Sam Biggins <[email protected]> * refactor(entity): add location contants for subscenes, colorize recipe text based craftability Signed-off-by: Sam Biggins <[email protected]> --------- Signed-off-by: Sam Biggins <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@@ -9,11 +10,10 @@ | |||
this.add.image(400, 300, 'starry_night'); | |||
|
|||
const forestSilhouette = this.add.image(400, 300, 'forest_silhouette'); | |||
forestSilhouette.setScale(1); | |||
forestSilhouette.setScale(1).setDepth(10); |
Check warning
Code scanning / QDJS
Void function return value used Warning
|
||
const title = this.add.image(400, 150, 'postapoc_title'); | ||
title.setScale(2); | ||
|
||
title.setScale(2).setDepth(10); |
Check warning
Code scanning / QDJS
Void function return value used Warning
|
||
export default class HelpScene extends DraggableScene { | ||
protected logger = getLogger('entity'); | ||
private controlMapping: ControlMapping; |
Check notice
Code scanning / QDJS
Field can be readonly Note
this.cameras.main.height, | ||
'mushroom_cloud' | ||
); | ||
mushroomCloud.setScale(0.1).setOrigin(0.5, 1); |
Check warning
Code scanning / QDJS
Void function return value used Warning
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
No description provided.