Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 42

Thread: Mazer - procedural maze generator in Lazarus using Castle Game Engine

  1. #31
    Well, I use the best quality algorithm out there (spline)... so, that might be the problem. However, it really produces 'best' results. I'll play with TTerrainNoise settings anyway...
    My free and opensource games: http://decoherence.itch.io/
    Sources are here: https://github.com/eugeneloza?tab=repositories

  2. #32
    PGDCE Developer Carver413's Avatar
    Join Date
    Jun 2010
    Location
    Spokane,WA,Usa
    Posts
    206
    I think you need to smooth it out some

  3. #33
    Absolutely. Hopefully I'll fix this soon (maybe, till weekends).
    More problem for me now is limiting player movement to a specific map routes... Not just open world, but to add plot and gameplay elements... E.g. create strategical points, etc...
    My free and opensource games: http://decoherence.itch.io/
    Sources are here: https://github.com/eugeneloza?tab=repositories

  4. #34
    PGD Staff / News Reporter phibermon's Avatar
    Join Date
    Sep 2009
    Location
    England
    Posts
    524
    I'm currently working on thermal and hydraulic erosion techniques to improve my terrains - I highly recommend you look into them - they produce excellent results
    When the moon hits your eye like a big pizza pie - that's an extinction level impact event.

  5. #35
    PGDCE Developer de_jean_7777's Avatar
    Join Date
    Nov 2006
    Location
    Bosnia and Herzegovina (Herzegovina)
    Posts
    287
    Played a bit. Some improvements to movement could be made. Not sure if you could, but make the player not stick to things when moving, but move to the side if something is just blocking the path a bit. For example, a protrusion on the wall prevents moving forward, the player should move to the side and still move forward. You can test for this by making a few collision tests in the direction the player is moving, and placing the player at an appropriate spot where it's not colliding. Some games do this for more fluid movement. Also, when running and going up stairs, the player will move deeper into the stairs and the movement will become jagged.
    Existence is pain

  6. #36
    de_jean_7777, thanks for the feedback! Yes, I am aware of the problem, but fixing it requires playing with Castle Game Engine internals... It doesn't seem too complex, and Michaelis explained me how-to, but still I'm a little "afraid" to start making the patch... And as it's not too critical I put some more effort in something more interesting, like developing new generation mechanics or tilesets... But I'll surely fix it in some time.
    phibermon, thank you! I've been thinking of implementing my own erosion (and extrusion) algorithm... but if there is something available and tested it's perfect! I'll definitely look into it.
    My free and opensource games: http://decoherence.itch.io/
    Sources are here: https://github.com/eugeneloza?tab=repositories

  7. #37
    A few days ago I've recorded a 15-minutes maze run (2x speed)
    My free and opensource games: http://decoherence.itch.io/
    Sources are here: https://github.com/eugeneloza?tab=repositories

  8. #38
    I had to take a look to your maze generator. I think it is perfect to create dungeons.

    I hope you can fix that lighting glitch. It's a bit annoying.
    No signature provided yet.

  9. #39
    Quote Originally Posted by Ñuño Martínez View Post
    I had to take a look to your maze generator.
    At this moment I'm buisy with interface creation for my RPG game... As soon as I've finished I have several major upgrades pending:
    • Render and no-collision elements to reduce getting stuck and improve preformance
    • Memory optimization (thanks to Lazarus forum) will enable almost infinite maps generation
    • Better controls (requires to make a few changes to Castle Game Engine source) to prevent getting stuck at different map elements
    • Overworld map generation by Height Map (not Mesh)


    I hope you can fix that lighting glitch. It's a bit annoying.
    I wish I could make that quickly. But still I didn't study shaders so well to use them properly... I've tried srAlways mode (which provides shaders for me) and it gives much smoother results for lights, but there is flickering (at least in my defect graphics card)... I can't promise I'll fix this issue quickly... But I also wish I could do it as soon as possible
    My free and opensource games: http://decoherence.itch.io/
    Sources are here: https://github.com/eugeneloza?tab=repositories

  10. #40
    Quote Originally Posted by eugeneloza View Post
    • Memory optimization (thanks to Lazarus forum) will enable almost infinite maps generation
    I assume that your maze generator algorithm internally uses some kind of a random number generator right. Have you ever thought about using a pseudorandom algorithm for this?
    By using pseudorandom algorithm you could be generating your mazes on demand since such algorithm would always return same results if its initial state is the same. This would require only a fraction of the memory that you need now.
    Also using of pseudorandom algorithm you would literally get possibility for true endless mazes. Well depending on your overall maze generation algorithm they might begin to repeat after lots and lots of kilometers but then again no one would probably notice that.

Page 4 of 5 FirstFirst ... 2345 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •