Programming 2D Games

The official forum for "Programming 2D Games" the book by: Charles Kelly

It is currently Sun Sep 22, 2019 4:41 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Jul 30, 2014 2:19 pm 
Offline

Joined: Sat Oct 12, 2013 4:48 pm
Posts: 44
Hi
same with other topic but this time could we get some sample of pathfinding to work within your engine (a* or depthsearch would be preferable)

Kind regards

jc mazza


Top
 Profile  
Reply with quote  
PostPosted: Thu Jul 31, 2014 12:04 pm 
Offline
Site Admin
User avatar

Joined: Sat Jan 28, 2012 4:36 pm
Posts: 553
I don't have enough free time to create a demo. Here are some links that I hope will help.

Tutorial on A*
http://heyes-jones.com/astar.php

Example code in C++
https://github.com/justinhj/astar-algorithm-cpp

_________________
Professor Kelly


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 06, 2014 3:44 pm 
Offline

Joined: Fri Oct 19, 2012 5:50 pm
Posts: 32
I found this page very, very helpful. It's about making point-and-click adventure games, and it touches on a few different topics, but seems particularly geared toward pathfinding. He creates a NavMesh and uses a simplified version of A* to navigate it. The way he presents his concepts visually, it just was easy for me to comprehend.

http://www.godpatterns.com/2010/08/how- ... -game.html


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group