Re: Just released: C library to generate mazes

2021-02-20 Thread AudioGames . net Forum — Developers room : philip_bennefall via Audiogames-reflector


  


Re: Just released: C library to generate mazes

@16:Agreed. Actually I think implementing a maze algorithm is a great exercise when learning a new language. The blog posts that I linked to in my references section contain more than enough information to implement it from scratch, for anyone who wants to give it a shot.Kind regards,Philip Bennefall

URL: https://forum.audiogames.net/post/617013/#p617013




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-19 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Just released: C library to generate mazes

@15, never meant to imply that your library was sub-optimal, just that porting it in Python would be a pointless endeavor unless you want to learn something.

URL: https://forum.audiogames.net/post/616982/#p616982




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-19 Thread AudioGames . net Forum — Developers room : philip_bennefall via Audiogames-reflector


  


Re: Just released: C library to generate mazes

@14:Certainly there are plenty of maze generation algorithm implementations out there, but I could not find one that met my requirements which is why I published this one. If you're in Python, it would definitely not be your primary choice. But if you're coding in C or C++, it might potentially be useful.Kind regards,Philip Bennefall

URL: https://forum.audiogames.net/post/616960/#p616960




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-19 Thread AudioGames . net Forum — Developers room : philip_bennefall via Audiogames-reflector


  


Re: Just released: C library to generate mazes

@14:Certainly there are plenty of maze generation algorithm implementations out there, but I could not find one that met my requirements which is why I published this one. If you're in Python, it would certainly not be your primary choice. But if you're coding in C or C++, it might potentially be useful.Kind regards,Philip Bennefall

URL: https://forum.audiogames.net/post/616960/#p616960




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-19 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector


  


Re: Just released: C library to generate mazes

There's no need to port this to Python. There is already a library in Python with the same name of this library that supports many more maze generation algorithms than this one. It requires NumPy, though, but that shouldn't be much of a problem.

URL: https://forum.audiogames.net/post/616927/#p616927




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-19 Thread AudioGames . net Forum — Developers room : philip_bennefall via Audiogames-reflector


  


Re: Just released: C library to generate mazes

@12:By default, there is no exit as such. You can either break one of the walls at the edges, or simply choose an arbitrary empty cell and mark that as the exit. If you generate the maze in the compact format, every tile is walkable but the passages to and from that tile are not always open. So your approach depends on whether you are generating a blockwise or a compact maze. Let me know if this makes sense; I'd be glad to try to explain further if you have questions.Thanks!Kind regards,Philip Bennefall

URL: https://forum.audiogames.net/post/616888/#p616888




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-19 Thread AudioGames . net Forum — Developers room : Turret via Audiogames-reflector


  


Re: Just released: C library to generate mazes

Thanks for this! One question:    Is it possible to generate mazes with a given end point? For example, a random maze, but if I wanted the exit to always be at, say, (25, 25)?

URL: https://forum.audiogames.net/post/616877/#p616877




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-19 Thread AudioGames . net Forum — Developers room : philip_bennefall via Audiogames-reflector


  


Re: Just released: C library to generate mazes

@9:You certainly don't need my permission to port the code. As per the license, you can basically do whatever you want with the code with absolutely no restrictions.As for a pull request, if you port the entire codebase, I think it's better if you fork the repository since I would then have to maintain two separate versions, one of which I didn't write, in a language I don't use. So you are more than welcome to port, but I think you should do so and publish it yourself.Good luck!Kind regards,Philip Bennefall

URL: https://forum.audiogames.net/post/616864/#p616864




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-19 Thread AudioGames . net Forum — Developers room : bhanuponguru via Audiogames-reflector


  


Re: Just released: C library to generate mazes

can't we just make a python binding of the same with cython or some thing?

URL: https://forum.audiogames.net/post/616859/#p616859




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-19 Thread AudioGames . net Forum — Developers room : dardar via Audiogames-reflector


  


Re: Just released: C library to generate mazes

@8 Would you be alright if I did a pull request and tried to write a python version of the script?I'd considered what @7 said, but didn't want to do so without your permission

URL: https://forum.audiogames.net/post/616857/#p616857




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-19 Thread AudioGames . net Forum — Developers room : philip_bennefall via Audiogames-reflector


  


Re: Just released: C library to generate mazes

Thanks guys for the feedback, I hope the library ends up being useful!@6:As long as you've got stdint.h, it should build everywhere. Since this is a single header, you just drop it into whatever build process you're using by defining the macro in one of you're translation units and you're on your way.@7:I'd be surprised if growing tree hasn't been implemented for Python. If not, you can easily do it yourself or you can have a stab at porting this library if you like. It's a simple algorithm, as you'll see if you dissect the code.Kind regards,Philip Bennefall

URL: https://forum.audiogames.net/post/616808/#p616808




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-19 Thread AudioGames . net Forum — Developers room : philip_bennefall via Audiogames-reflector


  


Re: Just released: C library to generate mazes

Thanks guys for the feedback, I hope it ends up being useful!@6:As long as you've got stdint.h, it should build everywhere. Since this is a single header, you just drop it into whatever build process you're using by defining the macro in one of you're translation units and you're on your way.@7:I'd be surprised if growing tree hasn't been implemented for Python. If not, you can easily do it yourself or you can have a stab at porting this library if you like. It's a simple algorithm, as you'll see if you dissect the code.Kind regards,Philip Bennefall

URL: https://forum.audiogames.net/post/616808/#p616808




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-18 Thread AudioGames . net Forum — Developers room : ashleygrobler04 via Audiogames-reflector


  


Re: Just released: C library to generate mazes

I wonder how hard it would be to port this over to python?

URL: https://forum.audiogames.net/post/616798/#p616798




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-18 Thread AudioGames . net Forum — Developers room : bgt lover via Audiogames-reflector


  


Re: Just released: C library to generate mazes

Awesome work, I tested it on windows and ubuntu, it worked.I have a question, though. So, is it possible to compile it for uwp games, like the xbox, desktop, arm win10 devices, etc? Do I have to do anything special to integrate the build process of this library with the one of my projects? I mean, I can always use the binaries, but still...wanna see if something can be done to automate it.

URL: https://forum.audiogames.net/post/616788/#p616788




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-18 Thread AudioGames . net Forum — Developers room : nyanchan via Audiogames-reflector


  


Re: Just released: C library to generate mazes

I've been having a plan experimenting with a loguelike game. Thanks for releasing what I just wanted.

URL: https://forum.audiogames.net/post/616748/#p616748




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-18 Thread AudioGames . net Forum — Developers room : nolan via Audiogames-reflector


  


Re: Just released: C library to generate mazes

Nifty. Working on a maze game right now and not too thrilled with what I'm getting back from my generator. May give this a look.

URL: https://forum.audiogames.net/post/616742/#p616742




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-18 Thread AudioGames . net Forum — Developers room : dardar via Audiogames-reflector


  


Re: Just released: C library to generate mazes

Thumbs up, very nice!

URL: https://forum.audiogames.net/post/616713/#p616713




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: Just released: C library to generate mazes

2021-02-18 Thread AudioGames . net Forum — Developers room : lemm via Audiogames-reflector


  


Re: Just released: C library to generate mazes

Hi Phillip,Thanks for sharing  this. , I’ve always wanted to try my hand at procedural map generation, so think I’ll find this code interesting. Thanks again for sharing it, I look forward to checking out the library.Paul Lemm

URL: https://forum.audiogames.net/post/616691/#p616691




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector