averticalslice/design_document

58 lines
3 KiB
Text
Raw Permalink Normal View History

FunnyMemeLlama: a Vertical Slice
2024-09-02 21:09:24 -04:00
------------entities---------------
player controller
basically done at this point
physics object
its a physics object that will use a gltf model. OBJ Bad!
seperate visual model and model used for collision
has collisons with player, world and can trigger triggers
can be incredibly lazy ie would be nice if it was a full physics simulation but really doesnt need rotation and other properties real world objects have, think func_pushable from hl
can be picked up with the "use" key 'E'
when in the picked up state it will still obey physics such as not passing thru walls and still interact with triggers
still while picked up the objects postion will be a ray cast from the viewport out half a meter or so and that is where the object will float.
2024-09-02 21:09:24 -04:00
purpose of this is I want tge player to be able to pick up a cube and place it on a button like in portal and have a scrupted sequence happen
trigger_once (player, phys, other_entities)
can act on any combination of player, physics objects, or any other entity such as a non hitscan projectile
visible in editor but not in game
is a region in the world that looks when entities enter it
OnStartTouch fires when entity enters region
OnEndTouch fires when enitty exits region
OnStartTouch and OnEndTouch will only trigger once each for a total of 2 times and never again no matter how many times entity enters or exits the region
trigger_muiltiple
same as above but can trigger multiple times
2024-09-02 21:09:24 -04:00
---------------structure------------------
scope
this is gonna be a small vertical slice of the whole game to see if we cqn finish anything. I woukd really like to finish sonthing
world *TODO*
the world will be either a gltf/glb or a blend file depending on jf i get blend files to work
research needs to be done on how gltf and blend files work in godot. such as if i make a model for a plant and i use it in the world gltf will it link it or waste drive space and store it again.
independant models *TODO*
independent models are used in places that arnt tbe world eg the player's model, weapon models, physics object models, etc.
they will use gltf/glb or blend files depending on which suits it better and what i get working
obj
obj and mtl files will mostly not be used as they are old and cringe and i dont even think they support pbr materials.
there is only 1 spot that i can think of where objs can be used and thats for triggers. but like why woulsnt you just use a cube/rectangle
----------------world---------------
the main room
the whole playable game takes place in this room
it is apeoxametly big enough
walls and floor are made of a rough concrete that is typically seen in a pool
there are fish, bubbles, and other ocean things decorated on the wall
there are drains on the floor and perhaps one has a puddle of water on it
walls slope into the floor like a pool
on the walls along with the fish decals will be framed images of funny and random shit. for one i was gonna steal kerby's drawing of a pink rabbit thing