Skip to content

Commit

Permalink
p2bt start
Browse files Browse the repository at this point in the history
  • Loading branch information
namrog84 committed Nov 12, 2023
1 parent 0330945 commit fb9a6f7
Show file tree
Hide file tree
Showing 28 changed files with 330 additions and 101 deletions.
5 changes: 0 additions & 5 deletions .obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,6 @@
"src/theme/DocItem",
"src/components/DocItem/index.tsx",
"src/components/DocItem",
"src/theme/Admonition/Types.js",
"src/theme/Admonition/Icon/Info.js",
"src/theme/Admonition/Icon",
"src/theme/Admonition/styles.module.css",
"src/theme/Admonition",
"src/theme",
"products/plugins/p2bt/GettingStarted.mdx",
"products/plugins/p2bt/img/p2bt-duplicate.png",
Expand Down
1 change: 1 addition & 0 deletions .vscode/spellright.dict
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Blockout
File renamed without changes
6 changes: 3 additions & 3 deletions blog/2023-07-21-p1-dev-update-1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ authors: [namrog84]
tags: [frog, game, dev]
---

Welcome to the latest update from our studio! We're excited to introduce you to our project, codenamed <span style={{ color: '#F28C28', fontWeight: 'bold', fontSize: '1.2em' }}>P1</span> (or Project 1), <span style={{ color: '#00A9FF', fontWeight: 'bold', fontSize: '1.2em' }}> a thrilling multiplayer experience set in a world of amphibious warfare.</span> Developed using the cutting-edge [Unreal Engine 5](https://www.unrealengine.com/en-US/unreal-engine-5), this game is a simple and modern take on multiplayer first-person shooters.
Welcome to the latest update from our studio! We're excited to introduce you to our project, codenamed <HL12>P1</HL12> (or Project 1), <span style={{ color: '#00A9FF', fontWeight: 'bold', fontSize: '1.1em' }}> a thrilling multiplayer experience set in a world of amphibious warfare.</span> Developed using the cutting-edge [Unreal Engine 5](https://www.unrealengine.com/en-US/unreal-engine-5), this game is a simple and modern take on multiplayer first-person shooters.

![p1-2](./p1-2.png)
![p1-2](./img/p1-2.png)

Prepare yourselves for an action-packed adventure as we plunge you into the heart of the battle, taking on the persona of agile and fearless frogs. This isn't your typical first-person shooter; it's an entirely unique and captivating concept that will keep you hooked from the first leap!

Expand All @@ -17,6 +17,6 @@ As you dive into the game, you'll be able to choose from a variety of game modes

But that's not all; we have even more surprises in store! Our team has been hard at work crafting an array of innovative game modes that will challenge your strategy, teamwork, and skills. Whether you're a seasoned gamer or a newcomer to the battlefield, there's something here for everyone!

As we continue developing <span style={{ color: '#F28C28', fontWeight: 'bold', fontSize: '1.2em' }}>P1</span>, we remain committed to delivering a fun, polished, and enjoyable experience for all our players. We're eagerly anticipating the day when you can join us in this incredible adventure and experience firsthand the excitement, camaraderie, and fierce competition that awaits in our frog-filled universe.
As we continue developing <HL12>P1</HL12>, we remain committed to delivering a fun, polished, and enjoyable experience for all our players. We're eagerly anticipating the day when you can join us in this incredible adventure and experience firsthand the excitement, camaraderie, and fierce competition that awaits in our frog-filled universe.

Stay tuned for more updates, as we'll be sharing behind-the-scenes peeks, gameplay teasers, and further announcements on our journey to release! Thank you for your support, and we can't wait to hop into action with you in "Frog of War!"
5 changes: 0 additions & 5 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ const config = {
path: 'products',
routeBasePath: 'products',
sidebarCollapsible: true,
docItemComponent: '/src/theme/DocItem',
admonitions: {
keywords: ['HL'],
extendDefaults: true,
}
},
blog: {
blogTitle: 'News',
Expand Down
63 changes: 63 additions & 0 deletions products/plugins/p2bt/Editor/Commands.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
sidebar_position: 4
---


# Commands


## Stat (Perf)

### Hide All
### FPS (Frames per Second)
### Engine
### System
### Unit
### Streaming
### Scene Render


## Change View

### Lit

Standard lit view

### Unlit

Standard unlit view

### Collision

Allows you to see all the collision.

### Light Complexity

Allows you to see the approximate complexity costs of lights in the scene.


### Shader Complexity

Allows you to see vertex and pixel shader costs



## Toggle Show

### Collision

Toggle collision's visibility

### Nav Mesh

Toggle nav mesh's visibility




## Requests
Please join the discord if you'd like to request to see additional commands here.
More will likely be added in time.

Discord name: Broken Rock Studios
Discord Invite: https://discord.gg/P6tejWKrgq
46 changes: 46 additions & 0 deletions products/plugins/p2bt/Editor/Duplicate.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
sidebar_position: 3
---

# Duplicate Tab



## Grid

Duplicates the selected actors into a grid.



## Line



Duplicates the selected actors into a line.
Note: Supports packing. Will use bounding boxes to attempt to be as compact as possible.


## Circle

Duplicates the selected actors around the target actor in a circle.

Note: Doesn't take into account original duplicated assets locations.



## Spline


Duplicates the selected actors along a spline.

1. Create a spline, use duplicate/extrude to add additional points to the spline.
* Will automatically set Target Actor to created spline
2. Select a target spline if non are selected.
3. Select actors you wish to duplicate.
4. Duplicate!






39 changes: 39 additions & 0 deletions products/plugins/p2bt/Editor/Materials.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
sidebar_position: 2
---


# Material Tab



## Materials


### Solid Color

Assigns the clicked color to the selected scene objects in the scene.
These are solid color materials.


### Grid x8

Assigns the clicked color to the selected scene objects in the scene.
This is a grid based material split evenly among x8 grid. Useful for many things.


### Grid x1

Assigns the clicked color to the selected scene objects in the scene.
This has a single grid, useful for larger scale objects, especially ground based pieces.


### Randomize

* Randomly assign a grid color
* Randomly assign a solid color

### Default

* Reset to the selected object's default materials.

77 changes: 77 additions & 0 deletions products/plugins/p2bt/Editor/Transform.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
sidebar_position: 1
---

# Transform Tab

The Transform tab is used to move, rotate, and mirror selected objects. It also contains the grid settings and alignment tools.


## Transform

![Transform](./img/transform.png)

### Location

Translate the selected objects in the selected Axis by the grid scale amount. Typically 512cm x 512cm x 384cm or 0.5x or .25x of that.

You can set custom grid scale XY and Z values in the <HL>Project Settings -> Power of 2 Blockout Toolkit Settings</HL>

### Rotation

Rotate the selected objects in the selected Axis by 90 degrees. Most <HL>P2BT</HL> blocks are specifically designed to be rotated in 90 degree increments. If you are placing props or want more freedom, consider using Unreal Engine's default rotation tools.

### Mirror

Mirror the selected objects in the selected Axis. Not every P2BT block is designed to be mirrored, but many are. This will simply flip the sign on the selected axis.



## Grid

![Grid](./img/grid.png)

### Grid Scale

1.0|.5|.25|Custom
-|-|-|-
512cm|256cm|128cm|Set via project settings

### Snap Axis

Enable or disable snapping on the selected axis.
This only applies to P2BT <HL>AP2BTCellSnapActors</HL>

## Align

![Align](./img/align.png)

### AlignBounds

* Align the selected objects based upon the outer bounds of the selected objects.

### Aling Pivot

* Align the selected objects based upon the pivot of the selected objects.

### Distribute

* Distribute the selected objects evenly along the selected axis with equal spacing between each object's outer bounds.
* Distribute the selected objects evenly along the selected axis with equal spacing between each object's pivot.





## Settings

### Reset Rotation On Move

If checked, when moving a <HL>AP2BTCellSnapActor</HL> the rotation reset back to [0,0,0].

This is especially useful for floor pieces, which typically aren't designed to be rotated.
Though for walls and many pieces, this probably isn't the desired behavior.




Binary file added products/plugins/p2bt/Editor/img/align.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added products/plugins/p2bt/Editor/img/grid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added products/plugins/p2bt/Editor/img/transform.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions products/plugins/p2bt/Editor/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
sidebar_position: 4
slug: /editor-utility-widget
---


# Editor Utility Widget

## Editor

![Transform](./img/p2bt-transform.png)

## Material

![Material](./img/p2bt-material.png)

## Duplicate

![Duplicate](./img/p2bt-duplicate.png)

## Commands

![Commands](./img/p2bt-commands.png)



5 changes: 0 additions & 5 deletions products/plugins/p2bt/GettingStarted.mdx

This file was deleted.

5 changes: 4 additions & 1 deletion products/plugins/p2bt/details.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
sidebar_position: 3
---

# Examples
# Asset Examples


:::my-custom-admonition title goes here
Expand Down
43 changes: 33 additions & 10 deletions products/plugins/p2bt/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,49 @@ sidebar_position: 1

# Power of 2 Blockout Toolkit

The <span style={{ color: '#F28C28', fontWeight: 'bold', fontSize: '1.2em' }}>Power of 2 Blockout Toolkit</span> provides quality of life workflow improvements to worldbuilding prototypes or specific stylized gameplay.
The <HL>Power of 2 Blockout Toolkit </HL> provides quality of life workflow improvements to worldbuilding prototypes or specific stylized gameplay.

The <HLText>Power of 2 Blockout Toolkit </HLText> provides quality of life workflow improvements to worldbuilding prototypes or specific stylized gameplay.
# # Getting Started

There are 2 main features of the <HL>Power of 2: Blockout toolkit</HL>.

## Editor
The <HL>Assets</HL> and the <HL>Editor Utility Widget</HL>.

![Transform](./img/p2bt-transform.png)

## Material
The assets come in a few different variants.

![Material](./img/p2bt-material.png)
The main building/architecture related <HL>Block</HL> pieces which inherit from <HL>AP2BTCellSnapActors</HL>.
These pieces will snap to an absolute grid of <HL>512cm x 512cm x 384cm</HL>

## Duplicate
## Sizes

![Duplicate](./img/p2bt-duplicate.png)
### Why 512cm you might ask?

## Commands
* It's a power of 2
* 2, 4, 8, 16, 32, 64, 128, 256, <HL>512</HL>, 1024
* 512 can be represented perfectly in a texture
* 512x512, 1024, 2048, 4096, etc..
* Allows enough size to represent a single room that still has enough room to have a few props or assets in it.
* It is enough size to accommodate most art styles and designs

![Commands](./img/p2bt-commands.png)
### Why 384cm high?

* It's a combination of 2x power of 2s.
* 256 + 128 = <HL>384cm</HL>
* It is flexible enough for a large variety of character sizes, including vehicles.
* It is flexible enough to accommodate for over shoulder third person cameras
* Having rectangular shaped walls look better than if this was 512cm tall.
* It's just high enough to have reasonable stairs within a single 512cm tile.

## Assets:


<HL>Blocks</HL> are Floors, Walls, Roofs, Shapes, Stairs, Columns, Balconies, and Misc.

Raw Assets include a few additional assets in Props and Furniture, as well as the raw static mesh variants of the <HL>Blocks</HL>

All recommended assets usages have grid or solid color materials applied.
If you are looking at the Content Browser and are seeing the standard UV colors,
then there is likely a more appropriate asset to use instead. Such as a
<HL>AP2BTCellSnapActors</HL> for the given piece.

Loading

0 comments on commit fb9a6f7

Please sign in to comment.