From ad811abeefbc0352100a5c19d86aab2e703d6c54 Mon Sep 17 00:00:00 2001 From: Mimi Momo Date: Fri, 25 Nov 2022 23:57:37 -0600 Subject: [PATCH] player, tangible docs. world.tpl - css grid to block out map --- src/blessfrey-gdd/docs/player | 43 +++++++++++++++++++++++++++++++++ src/blessfrey-gdd/docs/tangible | 2 +- src/views/world.tpl | 18 ++++++++++++++ 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 src/blessfrey-gdd/docs/player create mode 100644 src/views/world.tpl diff --git a/src/blessfrey-gdd/docs/player b/src/blessfrey-gdd/docs/player new file mode 100644 index 0000000..573ed90 --- /dev/null +++ b/src/blessfrey-gdd/docs/player @@ -0,0 +1,43 @@ +

A player is a Node that inherits from characters. It is characterized by its possession of the UI, its use of the UserControl AI package, and exclusive abilities. It rests at res://character/Player/Player.gd.

+
+

flow

+

At ready, it gives itself to the UI singleton, so UI.get_player() is available to every node. Maybe dumb, but it works for now. It also sets up all AI packages and the UI, then has the UI display the correct stats.

+
Item Pickup: consider_pickup > (wait for user to press an inspect option) > id_pressed > +
+

groups

+


+
+

signals

+


+
+

variables

+


+
+

methods

+

void _ready ()

+

adds groups and default examine options.

+
+

void examine ()

+

placeholder; prints display name.

+
+

void highlight ()

+

calls entry point on this entity's highlight node.

+
+

void id_pressed (new_id)

+

calls associated method from inspect_options.

+
+

void inspect ()

+

triggers UI's inspect method.

+

void unhighlight ()

+

triggers tangible entity's body's unhighlight method.

+
diff --git a/src/blessfrey-gdd/docs/tangible b/src/blessfrey-gdd/docs/tangible index 23cebfe..f614d6e 100644 --- a/src/blessfrey-gdd/docs/tangible +++ b/src/blessfrey-gdd/docs/tangible @@ -1,4 +1,4 @@ -

A tangible entity is a Node that inherits from mobile entities. It is characterized by its physical presence in the world and possibility for interaction. It rests at res://addons/character_system/tangible.gd.

+

A tangible entity is a Node that inherits from mobile entities. It extends to characters and floor items. It is characterized by its physical presence in the world and possibility for interaction. It rests at res://addons/character_system/tangible.gd.


flow

Groups and default inspect options are added at ready.

diff --git a/src/views/world.tpl b/src/views/world.tpl new file mode 100644 index 0000000..2fffcf1 --- /dev/null +++ b/src/views/world.tpl @@ -0,0 +1,18 @@ +% rebase('frame.tpl') +
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+