Skip to content

Commit e0ea148

Browse files
Av3boyAntti VeikkolainenAnttiVeikkolainen
authored
Feature/52 av web (#119)
* Fix commit history (#113) * Temp * Fix * Fix UI element rendering * Use safe code * One more unsafe fix * Added error logging * Basic OpenAL implementation * #16 Remove unnecessary tester project * #26 Editor enhancements * #26 Context menu size fix and documentation * #26 Editor improvements * Method for opening multiple windows * Small refactoring * Opening SharpEngine windows works * UI improvements (WIP) A lot of stuff is unfinished. Context menu locations, launcher styling, xml documentation missing etc. Functionality should be working tho * Launcher UI improvements * Cleanup * Cleanup UIElement mesh data * Cleanup * Texturing improvements * Add basic layout placeholders * UI shader testing (WIP) * UI rendering works * Actual fix * Generalize functions * Fiddle with Transforms and types (WIP) * Midway solution (Not finished) * Getting there * Transform abstraction * UI element ortographic projection * Translating somewhat works * UI transform behaving correctly? * Add documentation / general enhancements * #2 Framing and rendering changes * Pop stash * #26 Fix build * #26 Fix flags * #26 Use width and height * #2 Temp * #2 loop working * #2 Refactoring Introduced obj loader, abstracted some functionality into separate projects, added placeholders for test projects * #2 Cleanup * #2 Separated Shader data container and extension methods * #2 Use correct ui shaders * #2 Fix absolute path bug * #2 Fix build (WIP) * #2 Cleanup * #2 Remove redundant interfaces * #2 More redundant interfaces * #2 More redundancies * #2 simplify data store * #2 Fixing readme details * #2 Simplify call * #2 Quality of life improvements * #2 Use mesh in obj loader * #2 Try map to old format * #2 Use Silk.NET example for debugging purposes * #2 Consolidate new changes * #67 Partial class definition * #2 Use Core Shader in tutorial * #2 Remove redundancies and plan merging * #2 Texture partial class * #2 Improve texture class * #2 Cleanup * #2 More cleanup * #2 Get rid of duplicates * #2 Reorganize content * #2 Using Core data types (Silk example no longer works) * #2 Intermediate state Both test projects work but the Model_Old is still required. * #73 Document issues * #73 Add missing issue links * #2 Use obsolete loader Let's use Model_Old for now to resolve the meshes. Later on once we are implementing the fbx stuff we can try to figure out again how to make the loader properly work. * #2 Using custom meshes in engine works * #2 A very bandaid solution for the obj renderer The implementation works but it's very hacky. This needs to fixed * #2 Cherrypick * #2 Tiny cleanup * #2 Shader issue? * #2 A very slow though "working" solution Textures still missing and the framerate is very bad * #2 Progress! * #2 Pop stash * #2 pop stash * #2 Cleanup IDisposables * #2 Cleanup * #2 Cleanup * #2 Pop stash * #2 A few warnings cleanup * #2 Try clean reliability ratings * #2 Light cleaning up * #2 Cleanup * #2 Fix * #52 gamification (#112) * #52 Modify folder structure * #52 Initial backend project * #52 Initial databases * #52 Temp arch in place --------- Co-authored-by: Antti Veikkolainen <anttiv@recastsoftware.com> --------- Co-authored-by: Antti Veikkolainen <antti.veikkolainen00@outlook.com> Co-authored-by: Antti Veikkolainen <anttiv@recastsoftware.com> * #52 Fix files (#114) Co-authored-by: Antti Veikkolainen <antti.veikkolainen00@outlook.com> * #52 Add marketing and asset store sites (WIP) * #52 Initial UI for websites * Small frontend additions * Fix README.md links * ci: add Azure Static Web Apps workflow file on-behalf-of: @Azure opensource@microsoft.com * #52 Package lock * #52 Hook yml to feature branch * #52 Test run pipeline * #52 Remove space from path * #52 Remove step backs * #52 Try ignore warnings * #52 Try fix output * #52 output test * #52 Placeholder pipelines --------- Co-authored-by: Antti Veikkolainen <antti.veikkolainen00@outlook.com> Co-authored-by: Antti Veikkolainen <anttiv@recastsoftware.com>
1 parent 98bb01a commit e0ea148

163 files changed

Lines changed: 58099 additions & 331 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€Ž.env.tempβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
AUTH0_DOMAIN={Your Auth0 domain}.auth0.com
2+
AUTH0_CLIENT_ID={Your Auth0 client id}
3+
AUTH0_CLIENT_SECRET={Your Auth0 secret}
4+
5+
AZURE_BLOB_CONNECTION_STRING=DefaultEndpointsProtocol=https;AccountName={Your azure blob storage connection string}

β€Ž.github/workflows/README.mdβ€Ž

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SharpEngine Pipelines
2+
3+
## Pull Request pipelines
4+
5+
6+
7+
## Deployment Pipelines
8+
9+
SharpEngine consists of 5 different deployment pipelines:
10+
- Publish Core
11+
- Publish Asset Store
12+
- Publish Web
13+
- Publish Docs
14+
- Publish Launcher
15+
16+
All of these pipelines are responsible of building and exposing the respective components of the system.
17+
18+
### Publish Core
19+
The `publish-core.yml` creates a zip file of the engine and adds a tag to github and the zip to the releases section. That tag is also added for the commit that it was built off. If a tag for the commit this is being run-off is already found, we don't want to create another copy of the essentially the same version so we skip it.
20+
21+
### Publish Asset Store
22+
The `publish-asset-store.yml` is responsible of deploying the Asset Store web interface, API and Database into Azure.
23+
24+
All Asset Store's resources can be found under the `rg-asset-store` resource group.
25+
TODO: Enable from selected access ips
26+
27+
### Publish Web
28+
The `publish-web.yml` is responsible of (similarly to the Asset Store) deploying the SharpEngine web interface, API and Database into Azure.
29+
30+
All SharpEngine Web's resources can be found under the `rg-sharpengine-web` resource group.
31+
32+
### Publish Docs
33+
The `publish-docs.yml` deploys the documentation files under the Β΄./docsΒ΄ in the root of the repository into the `docs.sharpengine.com` site.
34+
35+
### Publish Launcher
36+
The ``
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
name: Publish Asset Store
2+
3+
on:
4+
push:
5+
branches:
6+
# - main
7+
- feature/52-av-web
8+
pull_request:
9+
types: [opened, synchronize, reopened, closed]
10+
branches:
11+
# - main
12+
- feature/52-av-web
13+
14+
jobs:
15+
build_and_deploy_job:
16+
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
17+
runs-on: ubuntu-latest
18+
name: Build and Deploy Job
19+
permissions:
20+
id-token: write
21+
contents: read
22+
steps:
23+
- uses: actions/checkout@v3
24+
with:
25+
submodules: true
26+
lfs: false
27+
28+
- name: Install OIDC Client from Core Package
29+
run: npm install @actions/core@1.6.0 @actions/http-client
30+
31+
- name: Get Id Token
32+
uses: actions/github-script@v6
33+
id: idtoken
34+
with:
35+
script: |
36+
const coredemo = require('@actions/core')
37+
return await coredemo.getIDToken()
38+
result-encoding: string
39+
40+
- name: Build And Deploy
41+
id: builddeploy
42+
uses: Azure/static-web-apps-deploy@v1
43+
with:
44+
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_SKY_0ACD4AD03 }}
45+
action: "upload"
46+
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
47+
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
48+
app_location: "/AssetStore/asset-store-ui" # App source code path
49+
api_location: "" # Api source code path - optional
50+
# output_location: "app" # Built app content directory - optional
51+
github_id_token: ${{ steps.idtoken.outputs.result }}
52+
app_build_command: "CI=false npm run build"
53+
###### End of Repository/Build Configurations ######
54+
55+
close_pull_request_job:
56+
if: github.event_name == 'pull_request' && github.event.action == 'closed'
57+
runs-on: ubuntu-latest
58+
name: Close Pull Request Job
59+
steps:
60+
- name: Close Pull Request
61+
id: closepullrequest
62+
uses: Azure/static-web-apps-deploy@v1
63+
with:
64+
action: "close"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Publish Asset Store _ Temp
2+
3+
on:
4+
push:
5+
branches:
6+
- test
7+
pull_request:
8+
branches:
9+
- test
10+
11+
jobs:
12+
echo:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Echo message
16+
run: echo "Hello from the test branch πŸ‘‹"

β€Ž.github/workflows/publish-core.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish NuGet Package
1+
name: Publish Core
22

33
on:
44
push:
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Publish Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- test
7+
pull_request:
8+
branches:
9+
- test
10+
11+
jobs:
12+
echo:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Echo message
16+
run: echo "Hello from the test branch πŸ‘‹"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Publish Launcher
2+
3+
on:
4+
push:
5+
branches:
6+
- test
7+
pull_request:
8+
branches:
9+
- test
10+
11+
jobs:
12+
echo:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Echo message
16+
run: echo "Hello from the test branch πŸ‘‹"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Publish Web
2+
3+
on:
4+
push:
5+
branches:
6+
- test
7+
pull_request:
8+
branches:
9+
- test
10+
11+
jobs:
12+
echo:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Echo message
16+
run: echo "Hello from the test branch πŸ‘‹"

β€Ž.gitignoreβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,3 +262,5 @@ __pycache__/
262262

263263
# Registry file for setting the .sharpengine file type
264264
/Editor/shortcut.reg
265+
266+
.env

β€ŽAsset Store/AssetStore.Database/Models/Asset.csβ€Ž

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
Β (0)