Skip to content
Snippets Groups Projects
Commit 0f0908b9 authored by Piers Williams's avatar Piers Williams
Browse files

Updated to have some bolding of key points and an example of an EntityType

parent 5f62fc35
No related branches found
No related tags found
No related merge requests found
......@@ -17,13 +17,15 @@
\end{frame}
\begin{frame}{Limitations}
\note{\begin{itemize}}
\begin{itemize}[<+->]
\item Games take place on a hex grid
\item Games are turn-based
\item No randomness
\item No randomness \note{\item In fairness, it is the UI and AI that do not support it}
\end{itemize}
\uncover<4>{We originally designed it for Civilization style games, but it's much more general than that.}
\note{\end{itemize}}
\end{frame}
\section{Game Engine}
......@@ -39,18 +41,87 @@
\begin{frame}{Entity Types}
\begin{itemize}[<+->]
\item Entity Types can extend other types
\item Used to build entities
\item Every entity has a type
\item Used to \textbf{define} entities
\item \textbf{Every} entity has a type
\item Entity Types can \textbf{extend} other types
\item Defines:
\begin{itemize}
\item Graphics
\item Actions
\item Properties
\end{itemize}
\end{itemize}
\end{frame}
\begin{frame}[fragile]{Example: EntityType}
\begin{minted}[breaklines,tabsize=4]{javascript}
{
"name": "abstract_civilian",
"properties": {
"movement": 1,
"health": 5,
"attackRange": 1,
"atkMelee": 1,
"ter-grass": 1
},
"cost": {
"food": 10
},
\end{minted}
\end{frame}
\begin{frame}[fragile]{Example: EntityType}
\begin{minted}[breaklines,tabsize=4]{javascript}
"_actions": [
"Move",
"MeleeAttackAction",
"Build[farm]",
"BuildOnResource[lumber_mill:wood]",
"BuildOnResource[gold_mine:gold]",
"Build[marketplace]"
]
},
\end{minted}
\end{frame}
\begin{frame}{Entities}
\begin{itemize}[<+->]
\item Have an entity type
\item Has properties
\end{itemize}
\end{frame}
\begin{frame}{Actions}
\begin{block}{Actions}
\textbf{What} an Entity can do
\end{block}
\begin{itemize}[<+->]
\item 0 or more
\item Parameterisable
\item Inherited
\end{itemize}
\end{frame}
\begin{frame}{Orders}
\begin{block}{Order}
An order is \textbf{generated} when an Action is used on a \textbf{particular} location
\end{block}
\begin{itemize}[<+->]
\item What an Entity actually does in its turn
\item Used to \textbf{update} the game state
\item Move Action $\rightarrow$ \textbf{multiple} possible Move Orders
\end{itemize}
\end{frame}
\begin{frame}{Properties}
\begin{itemize}[<+->]
\item String $\rightarrow$ Integer mapping
\item Used by default actions as well as custom ones
\item Two sets per Entity
\item Inherited
\end{itemize}
\end{frame}
\section{Example - Hexxagon}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment