• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Archived

This topic is now archived and is closed to further replies.

Phyxx

A* in Visual Basic?

3 posts in this topic

I am looking for a good path finding algorithm and a* seems to be my best bet. Unfortunately I really don''t have the time to sit down and convert the c and java code on the net into VB. Is there anyone out there who has implemented a* in visual basic (or who wants to implement it for me )?
0

Share this post


Link to post
Share on other sites
Hey,

You might try out my VB-program on motion planning.
It''s open-source (well, the algorithm code is) and though I''ve probably not implemented a strict A*, there are several close variants in there. You could use one of these as a start-off point for your own one.
Let me know If you found them useful.

It''s in the experiment section on http://www.softline.be/StrategicAlliance/RUG/MotionPlanning/



******************************
Stefan Baert

On the day we create intelligence and consciousness, mankind becomes God.
On the day we create intelligence and consciousness, mankind becomes obsolete...
******************************
0

Share this post


Link to post
Share on other sites
Yeah, it looks good... but how do I use it? You have all these sections:

Data
Module
Dijkstra (Visibility graph)
Roadmaps
Cell Decomposition
Potential 1 (Trial & Error)
Potential 2 (Best-first)
Potential 3 (Wavefront-expansion)
Potential 4 (Skeletal build-up)

What are they (modules, forms, class modules)? How do I actually put them into VB, and get a path?

I assumed that everything other than the potentials were the program itself, with the potnetials being demonstartions of this code.

It just looks a whole lot more complicated than the source code I have seen for other path finding algorithms. And the fact that everything is in dutch doesn''t help .
0

Share this post


Link to post
Share on other sites
I know the site may seem a little complicated, but I''ll explain a few things.

If you''ve seen the source at my site, then you''ve been browsing through my .BAS files from the VB project. It contains all the ''theoretical'' work. I didn''t include the code from the forms on the site.
The different sections all use a different technique to realize a pathfinding algorithm.

The potential-methods are actually 3 different methods making use of potential fields. I think Dijkstra is closest to A* and cell decomposition is a technique that splits the map into similar coherent regions and reduces the problem to finding a path between the regions instead of the whole map.

Roadmaps was an attempt to use random-waypoint generation to find a path in a quick way without exploring the whole map to find the quickest best path.

I would like to stress however that I wrote this program to support the report we had to make for the course. The code may be a little messy, because the primary object was to let colleagues in my year actually SEE what the methods do.

If you''re still interested and you send me a mail to my private account (see profile), I''ll send you the whole project (source code, forms,...), so you can run it from within VB...

Thanks for your interest!


******************************
Stefan Baert

On the day we create intelligence and consciousness, mankind becomes God.
On the day we create intelligence and consciousness, mankind becomes obsolete...
******************************
0

Share this post


Link to post
Share on other sites