Newer
Older
\subtitle{\textbf{Lab} - Game Design Hack}
\date{Monday (PM), 14 May 2018}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{Intro}
\item Remember we mentioned that we built you a game engine...
\item well, here it is.
\item Games take place on a hex grid
\item Games are turn-based
\item No randomness
\end{itemize}
\uncover<4>{We originally designed it for Civilization style games, but it's much more general than that.}
\item A game has Entity Types, Resources and Terrain
\item Entity types have actions, costs and properties
\item Resources and Terrain make up the maps
\item Victory conditions tell you how to win (or lose)
\end{itemize}
\end{frame}
\begin{frame}{Entity Types}
\item Entity Types can extend other types
\item Used to build entities
\item Every entity has a type
\end{itemize}
\end{frame}
\begin{frame}{Entities}
\item Have an entity type
\item Has properties
\end{itemize}
\end{frame}
\section{Example - Hexxagon}
\begin{frame}{Hexxagon}
\only<1>{\includegraphics[width=0.8\linewidth]{images/gd_hexxagon}}
\uncover<2->{\includegraphics[width=0.7\linewidth]{images/gd_hexxagon}\\}
\only<2>{Entity types: piece, piece-p1, piece-p2}
\only<3>{Terrain types: board}
\only<4>{Actions: jump and clone}
\only<5>{Resources: ticks (used to permit moving only one piece)}
\only<6>{Victory conditions: LastManStanding, MostPiecesLock}
"ter-playzone": 1, // it can 'walk' on playzone tiles
"health": 1 // it has 1 health (things with no health die)
"Jump[tick]", // Jump Action (defined in Java)
"Clone[tick]" // Clone action (defined in Java)
\begin{frame}{Movement Lock}
Allow the player to only move one piece on their go
\item Resource: time
\item Only allow a move if the resource < current tick
\item After a move is made, update the resource to tick + 1
\end{itemize}
\begin{frame}{Timers}
You can define a timer by doing the following:
\item Create an automatic action that performs the effect that you'd like to achieve.
\item Set requirements to be ``timeProperty $\geq$ timeRequired''
\item Create an automatic action that generates 1 timeProperty
\item Define the automatic actions as [generateAction, doneAction]
\end{itemize}