Path finding in 2d games

A major problem faced by game developers these days is the ability to effectively plan the motion from a Source object to a Target situated in an environment with several Obstacles . This paper proposes a framework for game design in which all objects have a precalculated bounding box. Polygons wit...

Full description

Bibliographic Details
Main Author: Mandachescu, Cosmin Adrian
Format: Others
Published: 2003
Online Access:http://spectrum.library.concordia.ca/2063/1/MQ77991.pdf
Mandachescu, Cosmin Adrian <http://spectrum.library.concordia.ca/view/creators/Mandachescu=3ACosmin_Adrian=3A=3A.html> (2003) Path finding in 2d games. Masters thesis, Concordia University.
id ndltd-LACETR-oai-collectionscanada.gc.ca-QMG.2063
record_format oai_dc
spelling ndltd-LACETR-oai-collectionscanada.gc.ca-QMG.20632013-10-22T03:42:24Z Path finding in 2d games Mandachescu, Cosmin Adrian A major problem faced by game developers these days is the ability to effectively plan the motion from a Source object to a Target situated in an environment with several Obstacles . This paper proposes a framework for game design in which all objects have a precalculated bounding box. Polygons with four or more edges (depending on the accuracy desired and the shape of the object) represent the bounding boxes. They are automatically generated at the creation of the object and are filtered to minimize the number of vertices while preserving the overall aspect of the object. The vertices of all the bounding boxes from a region of interest (situated in the vicinity of the direct path from the Source to the Target) are dynamically triangulated using a triangulation algorithm. The result of such a triangulation is a 2D mesh situated in the empty space available for movement. None of the edges generated by triangulation will cross any hard object (source, target, obstacle). A path from the Source to the Target is then derived by navigating on the edges generated by triangulation as well as on the contours of the hard objects. Further smoothing is done by removing redundant points from the discrete path while avoiding collisions. 2003 Thesis NonPeerReviewed application/pdf http://spectrum.library.concordia.ca/2063/1/MQ77991.pdf Mandachescu, Cosmin Adrian <http://spectrum.library.concordia.ca/view/creators/Mandachescu=3ACosmin_Adrian=3A=3A.html> (2003) Path finding in 2d games. Masters thesis, Concordia University. http://spectrum.library.concordia.ca/2063/
collection NDLTD
format Others
sources NDLTD
description A major problem faced by game developers these days is the ability to effectively plan the motion from a Source object to a Target situated in an environment with several Obstacles . This paper proposes a framework for game design in which all objects have a precalculated bounding box. Polygons with four or more edges (depending on the accuracy desired and the shape of the object) represent the bounding boxes. They are automatically generated at the creation of the object and are filtered to minimize the number of vertices while preserving the overall aspect of the object. The vertices of all the bounding boxes from a region of interest (situated in the vicinity of the direct path from the Source to the Target) are dynamically triangulated using a triangulation algorithm. The result of such a triangulation is a 2D mesh situated in the empty space available for movement. None of the edges generated by triangulation will cross any hard object (source, target, obstacle). A path from the Source to the Target is then derived by navigating on the edges generated by triangulation as well as on the contours of the hard objects. Further smoothing is done by removing redundant points from the discrete path while avoiding collisions.
author Mandachescu, Cosmin Adrian
spellingShingle Mandachescu, Cosmin Adrian
Path finding in 2d games
author_facet Mandachescu, Cosmin Adrian
author_sort Mandachescu, Cosmin Adrian
title Path finding in 2d games
title_short Path finding in 2d games
title_full Path finding in 2d games
title_fullStr Path finding in 2d games
title_full_unstemmed Path finding in 2d games
title_sort path finding in 2d games
publishDate 2003
url http://spectrum.library.concordia.ca/2063/1/MQ77991.pdf
Mandachescu, Cosmin Adrian <http://spectrum.library.concordia.ca/view/creators/Mandachescu=3ACosmin_Adrian=3A=3A.html> (2003) Path finding in 2d games. Masters thesis, Concordia University.
work_keys_str_mv AT mandachescucosminadrian pathfindingin2dgames
_version_ 1716605746975604736