Game Development Using Panda 3D Game Engine
Game Development Using Panda 3D Game Engine
Game Development Using Panda 3D Game Engine
Volume: 3 Issue: 2
ISSN: 2321-8169
534 - 536
_______________________________________________________________________________________________
Nilakshi Jain
Information Technology.
Shah & Anchor Kutchhi Engineering College, Chembur.
Mumbai,India.
vipulraocr7@yahoo.in
Information Technology.
Shah & Anchor Kutchhi Engineering College, Chembur.
Mumbai,India.
nilakshijain1986@gmail.com
Prashant Rana
Prathamesh Mahagaonkar
Vishal Hanchate
Information Technology.
Shah & Anchor Kutchhi Engineering
College, Chembur.
Mumbai,India.
rana.prashant10@gmail.com
Information Technology.
Shah & Anchor Kutchhi Engineering
College, Chembur.
Mumbai,India.
pratham_m@outlook.com
Information Technology.
Shah & Anchor Kutchhi Engineering
College, Chembur.
Mumbai,India.
vvh019@gmail.com
Abstract This paper explores the features of panda 3d game engine and the AI algorithm used in creating games. Here we
propose the A* algorithm which is used in game development and explain its merits and demerits with other path finding
algorithms. We describe the importance of AI in games and even understand how to A* algorithm works and also how to
implement A* algorithm in python.
Keywords- algorithms,artificial intelligence,computationalintelligence;games,path planning.
__________________________________________________*****_________________________________________________
I.
INTRODUCTION
Interactive Storytelling
It is quite popular yet has very little commercial success. Here
we dynamically generate story-lines that are bound to be
interesting to the player.
Cooperative Behaviors
It requires a good AI engine for the individual actors in the
first place. It is useful for serious games, such as training
simulations that involve multiple people coordinating together
(e.g. fire drills or police investigations).
Player Control
This area is still under-research and holds lots of promise for
improving the players experience. The idea is to build the
whole player logic with a robust AI system so that the avatar
would behave more intelligently and remove the frustrations
of traditional reactive behaviors (running into walls, not doing
the right thing, etc.)
Content Creation
Next-gen titles need huge amounts of time and money to
create. We use similar AI techniques to create more behaviors
with less time, and apply them to creating levels. For example,
generating cities, buildings, rooms, or any kind of terrain
thats interesting for the player.
534
_______________________________________________________________________________________
ISSN: 2321-8169
534 - 536
_______________________________________________________________________________________________
II.
III.
A. A* algorithm
A* algorithm is primarily used for path finding and graph
traversal in computer games. A* not only finds path towards
the goal but also finds the shortest path towards it. This
process of finding the shortest path is done relatively
quickly.[6]
A* algorithm works only after the preparation and pre
processing of game map. Here the map is broken into
different points called nodes that help us in recording the
progress of the search.
Each node has 3 attributes Goal which is denoted by g is defined as the cost of
reaching the current node from the starting node.
Heuristic which is denoted by h is defined as an
estimate cost from current node to goal node.
Fitness which is denoted by f is defined as sum of g
and h and is also the best estimate cost of the path
going through the current node.
Thus the value of f is critical in A* and thus lower the value
of f the more efficient the path.
For implementing A* algorithm we need to maintain two lists,
an Open list and a Closed list. The open list contains the
nodes that are yet to be explored while the closed list contains
nodes that have been already explored. Thus nodes represent
the state and progress of search.
B. Steps in A* algorithm
The pseudo-code for the A* Algorithm[4] is as follows:
1. Let P = starting point.
2. Assign f, g and h values to P.
3. Add P to the Open list. At this point, P is the only node on
the Open list.
4. Let B = the best node from the Open list (i.e. the node that
has the lowest f-value).
535
_______________________________________________________________________________________
ISSN: 2321-8169
534 - 536
_______________________________________________________________________________________________
a. If B is the goal node, then quit a path has been
found.
b. If the Open list is empty, then quit a path cannot
be found
5. Let C = a valid node connected to B.
a. Assign f, g, and h values to C.
b. Check whether C is on the Open or Closed list.
i. If so, check whether the new path is more
efficient (i.e. has a lower f-value).
1. If so update the path.
ii. Else, add C to the Open list.
c. Repeat step 5 for all valid children of B.
6. Repeat from step 4.
[2]
[3]
[4]
[5]
[6]
IV. CONCLUSION
In this paper we have described the features of Panda
3D.Here we have given a brief description of the importance of
AI in games. Thus AI plays a crucial role in establishment of
present generation video games. AI helps in decision making
and thus improves the quality of the game thereby helping the
developer create a convivial game for gamers.
[7]
[8]
[9]
536
IJRITCC | February 2015, Available @ http://www.ijritcc.org
_______________________________________________________________________________________