...
This commit is contained in:
commit
bdbbd467e7
10 changed files with 265 additions and 1 deletions
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"nodes":[
|
||||
{"id":"90607e58582e2efc","type":"text","text":"SCRIPTS","x":-1720,"y":-1040,"width":250,"height":60},
|
||||
{"id":"efe7530a8f71c7bc","type":"text","text":"avatar.gd\nAttached to avatar object in 3D scene.\nmove_and_slides on _physics_process\n-> set_head","x":-1640,"y":-952,"width":500,"height":149},
|
||||
{"id":"85be6eaed789a27b","type":"text","text":"AUTOLOAD","x":-1100,"y":-1036,"width":250,"height":56},
|
||||
{"id":"85545de9a40d0e26","type":"text","text":"AWA_SHARED_SCENES","x":-480,"y":-1040,"width":250,"height":60},
|
||||
{"id":"9a8ed4ef2103714c","type":"text","text":"avatar","x":-419,"y":-948,"width":599,"height":90},
|
||||
{"id":"9f062df619681bb9","type":"text","text":"scene","x":-419,"y":-840,"width":599,"height":90},
|
||||
{"id":"cb70a9fb11102317","type":"text","text":"AUTOLOAD: spawnables","x":-419,"y":-713,"width":599,"height":90},
|
||||
{"id":"40e74d91fe5e3950","type":"text","text":"AUTOLOAD: scene_status","x":-419,"y":-593,"width":599,"height":93},
|
||||
{"id":"6d6e13ee54a65146","type":"text","text":"SCENES (LOCAL)","x":1000,"y":-1040,"width":250,"height":60},
|
||||
{"id":"f9340e9e93b186f0","type":"text","text":"AWA_SHARED_DATA","x":260,"y":-1040,"width":250,"height":60},
|
||||
{"id":"83b7303159693206","type":"text","text":"AUTOLOAD: player_info","x":320,"y":-948,"width":360,"height":90},
|
||||
{"id":"a2a9768704c0fd8c","type":"text","text":"AUTOLOAD: common","x":320,"y":-828,"width":360,"height":90},
|
||||
{"id":"8334716466cdd0e7","type":"text","text":"AUTOLOAD: logger","x":320,"y":-715,"width":360,"height":90},
|
||||
{"id":"b65b1224bc5ca6f7","type":"text","text":"login","x":1100,"y":-948,"width":250,"height":60},
|
||||
{"id":"85ed45246dc64042","type":"text","text":"testscene (offline)","x":1100,"y":-700,"width":250,"height":60},
|
||||
{"id":"62643e2db23e6181","type":"text","text":"character_vault","x":1100,"y":-783,"width":250,"height":60},
|
||||
{"id":"59fe09446e6ac2ac","type":"text","text":"create_account","x":1100,"y":-870,"width":250,"height":60},
|
||||
{"id":"6aeebc0b3d4cb5e8","type":"text","text":"COMPONENTS: gamewindow/CameraController/CameraController","x":-419,"y":-150,"width":599,"height":76},
|
||||
{"id":"480a7f7efc3a57ed","type":"text","text":"COMPONENTS: gamewindow/Chat/chat","x":-419,"y":-453,"width":599,"height":76},
|
||||
{"id":"33e1a53934aa2787","type":"text","text":"COMPONENTS: gamewindow/AvatarSpawner/AvatarSpawner","x":-419,"y":-353,"width":599,"height":76},
|
||||
{"id":"a7a74f9c7d91fdcf","type":"text","text":"COMPONENTS: fps_status/fps_counter","x":-419,"y":-253,"width":599,"height":76},
|
||||
{"id":"18f5895a1ccad5cf","type":"text","text":"**network_master_to_client**\n\n*Sends RPC*:\n\trpc_cm_create_account(username, password)\n\trpc_cm_select_char(char_id)\n\trpc_cm_create_character(charname)\n\trpc_cm_login(email, password)\t\n\n*Receives RPC:*\n\trpc_mc_create_account_response(success, message)\n\trpc_mc_character_created\n\trpc_mc_login_response(auth_token, character_shortlist)\n\trpc_mc_load_scene(scene_name, position, scene_port)\n\n*Signals:*\nCommon.master_ip_received => _on_master_ip_received\n\t\t","x":-1074,"y":-922,"width":534,"height":422},
|
||||
{"id":"a90b15be01bc2fe3","type":"text","text":"client","x":-1060,"y":-325,"width":294,"height":90},
|
||||
{"id":"22c3bb00e7e738a2","type":"text","text":"network_scene_to_client","x":-1060,"y":-445,"width":294,"height":90},
|
||||
{"id":"7605f29c3f0f0136","type":"text","text":"audio_manager","x":-1060,"y":-202,"width":294,"height":90}
|
||||
],
|
||||
"edges":[]
|
||||
}
|
||||
|
|
@ -0,0 +1,194 @@
|
|||
---
|
||||
|
||||
excalidraw-plugin: parsed
|
||||
tags: [excalidraw]
|
||||
|
||||
---
|
||||
==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠==
|
||||
|
||||
|
||||
# Text Elements
|
||||
avatar.gd
|
||||
Attached to avatar object in 3D scene.
|
||||
move_and_slides on _physics_process
|
||||
-> set_head ^ogiPzd6g
|
||||
|
||||
SCRIPTS ^meVCNPYm
|
||||
|
||||
**network_master_to_client**
|
||||
|
||||
*Sends RPC*:
|
||||
rpc_cm_create_account(username, password)
|
||||
rpc_cm_select_char(char_id)
|
||||
rpc_cm_create_character(charname)
|
||||
rpc_cm_login(email, password)
|
||||
|
||||
*Receives RPC:*
|
||||
rpc_mc_create_account_response(success, message)
|
||||
rpc_mc_character_created
|
||||
rpc_mc_login_response(auth_token, character_shortlist)
|
||||
rpc_mc_load_scene(scene_name, position, scene_port)
|
||||
|
||||
*Signals:*
|
||||
Common.master_ip_received => _on_master_ip_received
|
||||
^lzqSWhzg
|
||||
|
||||
%%
|
||||
# Drawing
|
||||
```json
|
||||
{
|
||||
"type": "excalidraw",
|
||||
"version": 2,
|
||||
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.0.17",
|
||||
"elements": [
|
||||
{
|
||||
"type": "text",
|
||||
"version": 162,
|
||||
"versionNonce": 2016797870,
|
||||
"isDeleted": false,
|
||||
"id": "ogiPzd6g",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"angle": 0,
|
||||
"x": -1584.967391304348,
|
||||
"y": -462.678328804348,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"width": 404.6795959472656,
|
||||
"height": 100,
|
||||
"seed": 363027310,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"roundness": null,
|
||||
"boundElements": [],
|
||||
"updated": 1708243007929,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 20,
|
||||
"fontFamily": 1,
|
||||
"text": "avatar.gd\nAttached to avatar object in 3D scene.\nmove_and_slides on _physics_process\n-> set_head",
|
||||
"rawText": "avatar.gd\nAttached to avatar object in 3D scene.\nmove_and_slides on _physics_process\n-> set_head",
|
||||
"textAlign": "left",
|
||||
"verticalAlign": "top",
|
||||
"containerId": null,
|
||||
"originalText": "avatar.gd\nAttached to avatar object in 3D scene.\nmove_and_slides on _physics_process\n-> set_head",
|
||||
"lineHeight": 1.25,
|
||||
"baseline": 93
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"version": 79,
|
||||
"versionNonce": 632364782,
|
||||
"isDeleted": false,
|
||||
"id": "meVCNPYm",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"angle": 0,
|
||||
"x": -1609.7525933307152,
|
||||
"y": -544.908797554348,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"width": 90.95991516113281,
|
||||
"height": 25,
|
||||
"seed": 1763326190,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"roundness": null,
|
||||
"boundElements": [],
|
||||
"updated": 1708243007929,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 20,
|
||||
"fontFamily": 1,
|
||||
"text": "SCRIPTS",
|
||||
"rawText": "SCRIPTS",
|
||||
"textAlign": "left",
|
||||
"verticalAlign": "top",
|
||||
"containerId": null,
|
||||
"originalText": "SCRIPTS",
|
||||
"lineHeight": 1.25,
|
||||
"baseline": 18
|
||||
},
|
||||
{
|
||||
"id": "lzqSWhzg",
|
||||
"type": "text",
|
||||
"x": -937.9712813004206,
|
||||
"y": -530.5457710597829,
|
||||
"width": 644.4392700195312,
|
||||
"height": 425,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"roundness": null,
|
||||
"seed": 1135180718,
|
||||
"version": 51,
|
||||
"versionNonce": 297749490,
|
||||
"isDeleted": false,
|
||||
"boundElements": null,
|
||||
"updated": 1708242995991,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"text": "**network_master_to_client**\n\n*Sends RPC*:\n\trpc_cm_create_account(username, password)\n\trpc_cm_select_char(char_id)\n\trpc_cm_create_character(charname)\n\trpc_cm_login(email, password)\t\n\n*Receives RPC:*\n\trpc_mc_create_account_response(success, message)\n\trpc_mc_character_created\n\trpc_mc_login_response(auth_token, character_shortlist)\n\trpc_mc_load_scene(scene_name, position, scene_port)\n\n*Signals:*\nCommon.master_ip_received => _on_master_ip_received\n\t\t",
|
||||
"rawText": "**network_master_to_client**\n\n*Sends RPC*:\n\trpc_cm_create_account(username, password)\n\trpc_cm_select_char(char_id)\n\trpc_cm_create_character(charname)\n\trpc_cm_login(email, password)\t\n\n*Receives RPC:*\n\trpc_mc_create_account_response(success, message)\n\trpc_mc_character_created\n\trpc_mc_login_response(auth_token, character_shortlist)\n\trpc_mc_load_scene(scene_name, position, scene_port)\n\n*Signals:*\nCommon.master_ip_received => _on_master_ip_received\n\t\t",
|
||||
"fontSize": 20,
|
||||
"fontFamily": 1,
|
||||
"textAlign": "left",
|
||||
"verticalAlign": "top",
|
||||
"baseline": 418,
|
||||
"containerId": null,
|
||||
"originalText": "**network_master_to_client**\n\n*Sends RPC*:\n\trpc_cm_create_account(username, password)\n\trpc_cm_select_char(char_id)\n\trpc_cm_create_character(charname)\n\trpc_cm_login(email, password)\t\n\n*Receives RPC:*\n\trpc_mc_create_account_response(success, message)\n\trpc_mc_character_created\n\trpc_mc_login_response(auth_token, character_shortlist)\n\trpc_mc_load_scene(scene_name, position, scene_port)\n\n*Signals:*\nCommon.master_ip_received => _on_master_ip_received\n\t\t",
|
||||
"lineHeight": 1.25
|
||||
}
|
||||
],
|
||||
"appState": {
|
||||
"theme": "light",
|
||||
"viewBackgroundColor": "#ffffff",
|
||||
"currentItemStrokeColor": "#1e1e1e",
|
||||
"currentItemBackgroundColor": "transparent",
|
||||
"currentItemFillStyle": "solid",
|
||||
"currentItemStrokeWidth": 2,
|
||||
"currentItemStrokeStyle": "solid",
|
||||
"currentItemRoughness": 1,
|
||||
"currentItemOpacity": 100,
|
||||
"currentItemFontFamily": 1,
|
||||
"currentItemFontSize": 20,
|
||||
"currentItemTextAlign": "left",
|
||||
"currentItemStartArrowhead": null,
|
||||
"currentItemEndArrowhead": "arrow",
|
||||
"scrollX": 1688.715846517812,
|
||||
"scrollY": 766.4362262228263,
|
||||
"zoom": {
|
||||
"value": 1.1499999999999992
|
||||
},
|
||||
"currentItemRoundness": "round",
|
||||
"gridSize": null,
|
||||
"gridColor": {
|
||||
"Bold": "#C9C9C9FF",
|
||||
"Regular": "#EDEDEDFF"
|
||||
},
|
||||
"currentStrokeOptions": null,
|
||||
"previousGridSize": null,
|
||||
"frameRendering": {
|
||||
"enabled": true,
|
||||
"clip": true,
|
||||
"name": true,
|
||||
"outline": true
|
||||
}
|
||||
},
|
||||
"files": {}
|
||||
}
|
||||
```
|
||||
%%
|
||||
|
|
@ -5,7 +5,12 @@ https://youtu.be/GDQmdsZWgVE?si=anfZDZvvU9-lHZc8
|
|||
3.) Adjust Bones
|
||||
4.) Click "Match to Rig"
|
||||
|
||||
5.) Tab "Skin": Mark Mesh, Shift-Click Rig, Click "Bind"
|
||||
5.) Tab "Skin": Mark Mesh, Shift-Click Rig, Click "Bind", Deselect All except Scale Fix
|
||||
|
||||
|
||||
Root ? Hip or spine1 ?
|
||||
**On Skinning, experiment with "Improve Hip Weights" and "Improve Heel Weights"**
|
||||
|
||||
![[Pasted image 20240211083431.png]]
|
||||
|
||||
In case of wrong weighting, try "Fix" scale on, and optimize flags off on Bind ( Step 5)
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 71 KiB |
|
|
@ -0,0 +1,8 @@
|
|||
1.) Generate Human and process: Bake Textures, Apply modifiers, LOD 1/4
|
||||
Baking currently takes 2 minutes ( current Desktop PC ) on a minimal underwear human.
|
||||
2.) Save as <Modelname>_00.blend
|
||||
|
||||
3.) Remove Hair, Eyes, Teeth , Bones, Particles
|
||||
|
||||
![[objects to remove.png]]
|
||||
![[objects to remove 2.png]]
|
||||
|
|
@ -0,0 +1 @@
|
|||
Weight Paint thigh twist im Beinbereich erweitern ?
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 115 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
|
|
@ -0,0 +1,10 @@
|
|||
pixel positions on the screen use Vector2 coordinates
|
||||
|
||||
cell to world using Vector2
|
||||
```
|
||||
var cell_size:Vector2 = Vector2(50.0, 50.0)
|
||||
# or: var cell_size := Vector2(50.0, 50.0)
|
||||
|
||||
func grid_to_world(cell):
|
||||
return cell + cell_size + cell_size / 2
|
||||
```
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
Sprite2D node
|
||||
|
||||
F => focus view on object
|
||||
|
||||
To get type information in code auto-completion, go to _Editor -> Editor Settings_, and in the _Text Editor -> Completion_ section, turn on the checkbox named _Add Type Hints_. You can also search for "type hints" in the search bar at the top of the window to find it quickly.
|
||||
|
||||
|
||||
`Vector2` values have a function named `angle()` that calculates and returns the vector's angle in radians. If we assign that to the ship's rotation, it will turn to face its move direction.
|
||||
|
||||
```gdscript
|
||||
var velocity = Vector2(480, -480)
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
position += velocity * delta
|
||||
rotation = velocity.angle()
|
||||
````
|
||||
Loading…
Add table
Add a link
Reference in a new issue