Skip to content
This repository was archived by the owner on Nov 7, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Contributors

- Michael McCollum (gnustoboz)
- StarManta
- DeeNaxic

License
-------
Expand Down
4 changes: 3 additions & 1 deletion Typogenic/Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
1.6
- Fixed bugs as a result of Unity API changes.
- Changed the folder structure for demos, so they are contained in folders with their related scripts and materials for better modularity.
- Changed the 'Demo 1' to better reflect different alignment options, by adding a right alignment section.
- Changed the 'Demo 1' to better reflect different alignment options, by adding additional sections.
- Changed the 'Demo 4' by making the light source move back and fourth, to better show the light effect.
- Changed the 'Demo 2' to also show horizontal and vertical gradients.
- Added justified text alignment, and the option for strict justified text alignment.
- Updated the editor inspector for TypogenicText, in order to show the strict setting.
- Updated documentation.

1.5
Expand Down
Binary file modified Typogenic/Demos/01. Different alignments/Demo 01.unity
Binary file not shown.
32 changes: 16 additions & 16 deletions Typogenic/Documentation/index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Typogenic documentation.">
<meta name="author" content="Thomas Hourdel">
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content="Typogenic documentation."/>
<meta name="author" content="Thomas Hourdel"/>

<title>Typogenic Documentation</title>

<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet"/>
<link href="css/main.css" rel="stylesheet"/>

<!--[if lt IE 9]>
<script>
Expand Down Expand Up @@ -104,7 +104,7 @@ <h3 id="create-font">Creating a New Font</h3>

<p>Let's start with the global settings :</p>

<img src="img/littera-settings.png" class="img-rounded img-responsive img-center">
<img src="img/littera-settings.png" class="img-rounded img-responsive img-center"/>

<p></p>

Expand All @@ -114,7 +114,7 @@ <h3 id="create-font">Creating a New Font</h3>

<p>On to the font settings :<p>

<img src="img/littera-font.png" class="img-rounded img-responsive img-center">
<img src="img/littera-font.png" class="img-rounded img-responsive img-center"/>

<p></p>

Expand All @@ -137,7 +137,7 @@ <h3 id="create-font">Creating a New Font</h3>

<p>Assuming you've already imported the Typogenic package into Unity, go to <em>Assets -> Create -> Typogenic Font</em> to open the font wizard.</p>

<img src="img/font-wizard.png" class="img-rounded img-responsive img-center">
<img src="img/font-wizard.png" class="img-rounded img-responsive img-center"/>

<p></p>

Expand All @@ -152,7 +152,7 @@ <h3 id="text-component">Text Component</h3>

<p>To put a new text object on the scene, go to <em>Game Object -> Create Other -> Typogenic Text</em>. <mark>Drag the font material onto the object</mark> and add the font asset file generated by the wizard into the <strong>Font</strong> field of the <strong>Typogenic Text</strong> component.</p>

<img src="img/text-settings.png" class="img-rounded img-responsive img-center">
<img src="img/text-settings.png" class="img-rounded img-responsive img-center"/>

<p></p>

Expand All @@ -174,7 +174,7 @@ <h3 id="font-materials">Font Materials</h3>

<p>Typogenic comes with a few shaders : lit, unlit, texture &amp; shadow caster variants. By default, the font wizard generates an unlit untextured material but you can swap it to another shader depending on your needs. Make sure you set <strong>Generate Normals</strong> on every <strong>Typogenic Text</strong> that makes use of one the lit shaders.</p>

<img src="img/material.png" class="img-rounded img-responsive img-center">
<img src="img/material.png" class="img-rounded img-responsive img-center"/>

<p></p>

Expand All @@ -188,13 +188,13 @@ <h3 id="font-materials">Font Materials</h3>

<p>The <strong>Global Color Multiplier</strong> can be used to quickly change the text color or alpha without rebuilding the mesh, which can be useful to do quick animated color or fade effects. It applies to the outlines as well, if any. Set it to full-white full-opaque to disable it.</p>

<img src="img/material-texture.png" class="img-rounded img-responsive img-center">
<img src="img/material-texture.png" class="img-rounded img-responsive img-center"/>

<p></p>

<p>If you chose a textured <strong>Fill Mode</strong> make sure you switch to a textured shader. It will add a <strong>Fill Texture</strong> field to the material which works the same way any other textured material does in Unity.</p>

<img src="img/material-shadow.png" class="img-rounded img-responsive img-center">
<img src="img/material-shadow.png" class="img-rounded img-responsive img-center"/>

<p></p>

Expand All @@ -207,7 +207,7 @@ <h3 id="mixed-materials">Mixed Materials</h3>

<p>You can mix up to nine materials within the same text component using a simple formatting trick.</p>

<img src="img/material-mixed.png" class="img-rounded img-responsive img-center">
<img src="img/material-mixed.png" class="img-rounded img-responsive img-center"/>

<p></p>

Expand Down Expand Up @@ -244,7 +244,7 @@ <h3 id="scripting">Scripting Support</h3>
<div class="alert alert-warning">If your text is static or rarely changed it's recommended to set <code>AutoRebuild</code> to <code>false</code> so the component don't have to keep track of its current state and call <code>RebuildMesh()</code> when you need it.</div>

<div class="alert alert-warning">
About the colors, <code>TypogenicText</code> comes with four color fields which are used in the following ways depending on which <code>TFillMore</code> you choose :<br><br>
About the colors, <code>TypogenicText</code> comes with four color fields which are used in the following ways depending on which <code>TFillMore</code> you choose :<br/><br/>

<ul>
<li>Single : <code>ColorTopLeft</code>.</li>
Expand Down
Loading