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

feat: add Knights of Antrom RPG Game migration from SDK6 #201

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ca422a6
add loading and dungeon ui components
sdilauro May 13, 2024
20cdc90
- extract mocked data to a file `mocked-data/dungeons-data.ts`
sdilauro May 13, 2024
449f8a2
extact tokens to mocked data file
sdilauro May 13, 2024
3bef545
add Quest Log UI and README
sdilauro May 15, 2024
3b023c5
fix duplicated workspace names
sdilauro May 15, 2024
36b3d9c
improvement: add abandon quest button when no stage is selected
sdilauro May 15, 2024
3cad4d1
fix: delete useless variables
sdilauro May 15, 2024
7c292ee
feat: add timer
sdilauro May 15, 2024
870dee7
feat: add banner
sdilauro May 16, 2024
42cf778
feat: npc dialogs first aproach
sdilauro May 16, 2024
7c0f1f0
add utils.ts with getUvs() function
sdilauro May 22, 2024
9918fee
feat: add resources market first aproach
sdilauro May 23, 2024
f5a1c9e
wip on resource market ui
sdilauro May 24, 2024
3457a0c
wip trade button behavior
sdilauro May 27, 2024
a05d42f
update dcl/sdk
sdilauro May 27, 2024
ae72cbf
improve trade button behavior
sdilauro May 27, 2024
196498e
feat: add exit button to market resources
sdilauro May 28, 2024
2e4ac78
feat: split sprites in specific files to each ui component
sdilauro May 28, 2024
642a52c
improve: types on marketResource items
sdilauro May 29, 2024
0876835
redistribute some data
sdilauro May 29, 2024
effa818
feat: add market pagination
sdilauro May 30, 2024
7fdd6a4
add some mocked data
sdilauro May 30, 2024
1777dcc
feat: Using custom component to save ResourcesMarket data
sdilauro May 31, 2024
f96e1c4
wip
sdilauro Jun 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions UiCanvasInformation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "ECS7 ",
"version": "1.0.0",
"dependencies": {
"@dcl/js-runtime": "latest",
"@dcl/js-runtime": "7.4.20",
"@dcl/sdk": "latest"
},
"devDependencies": {},
Expand All @@ -16,4 +16,4 @@
"deploy": "sdk-commands deploy",
"start": "sdk-commands start"
}
}
}
1 change: 1 addition & 0 deletions antrom-rpg/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build.js
8 changes: 8 additions & 0 deletions antrom-rpg/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 80,
"tabWidth": 2,
"useTabs": false
}
32 changes: 32 additions & 0 deletions antrom-rpg/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Knights Of Antrom RPG

> Please visit the [SDK7 scene template](https://github.com/decentraland/sdk7-scene-template) for a SDK7 summary.

## Description
"@KnightsOfAntrom, the ultimate role-playing game that will challenge you to farm, craft, and fight your way to the top. Explore a vast and immersive world filled with danger and opportunity at every turn. Gather resources, upgrade your gear, and face off against fearsome enemies as you level up and unlock new abilities and skills. Are you ready to rise to the challenge and become an Antrom legend? Join us and find out!",

## Instructions
> IMPORTANT: In this version with SDK7 the game is not working yet. First we are working on migrating the different UI's and then we will work on the game code itself.

## Try it out

**Previewing the scene**

1. Download this repository.

2. Install the [Decentraland Editor](https://docs.decentraland.org/creator/development-guide/sdk7/editor/)

3. Open a Visual Studio Code window on this scene's root folder. Not on the root folder of the whole repo, but instead on this sub-folder that belongs to the scene.

4. Open the Decentraland Editor tab, and press **Run Scene**

Alternatively, you can use the command line. Inside this scene root directory run:

```
npm run start
```

To test each migrated UI you must set up the chosen component by importing it in `index.ts` from the `migrated-ui/` location and its corresponding file.

## What's new on SDK 7
see the [Documentation site](https://docs.decentraland.org/creator/).
Loading
Loading