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

Milestone 8 - Crafting #33

Merged
merged 18 commits into from
Jul 23, 2023
Merged

Milestone 8 - Crafting #33

merged 18 commits into from
Jul 23, 2023

Conversation

smileynet
Copy link
Member

No description provided.

* 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]>
* 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]>
@sonarcloud
Copy link

sonarcloud bot commented Jun 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@smileynet smileynet requested a review from dwhitehead June 9, 2023 23:18
@@ -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

Void function return value is used

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

Void function return value is used

export default class HelpScene extends DraggableScene {
protected logger = getLogger('entity');
private controlMapping: ControlMapping;

Check notice

Code scanning / QDJS

Field can be readonly Note

Field can be readonly
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

Void function return value is used
@smileynet smileynet removed the request for review from dwhitehead July 23, 2023 19:00
@sonarcloud
Copy link

sonarcloud bot commented Jul 23, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@smileynet smileynet merged commit df69ff3 into main Jul 23, 2023
8 checks passed
@smileynet smileynet deleted the milestone-8 branch July 23, 2023 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant