Log In  

Infinite Dungeon is in very early development. Expect many things to change.
It will be a, well, infinite dungeon. It will probably also have non-Euclidean generation to make sure you don't have to save a large dungeon map on your computer.

Cart #infinitedungeon-7 | 2022-08-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Current features:

  • Multiple players
  • Camera that follows average position of all players
  • Flexible player count
  • Collisions
  • Cool Artwork
  • Bow (more coming soon, like arrow collisions, made by @biteco8
  • Sword
P#115756 2022-08-14 18:06 ( Edited 2022-08-21 18:12)

Sounds really interesting, can't wait to see the finished project!

P#115777 2022-08-15 02:19

WOW. Just WOW. I really liked the idea and see too much potential in this. I decided to try to help you with the updates because I thought this is worth. I'm doing a bow and I think I will try the non-euclidean generation. If you don't like the idea, ok, i just did this for fun and I learnt somethings
here the version:

Cart #yaduyeyeja-0 | 2022-08-19 | Code ▽ | Embed ▽ | No License

I still will put the arrow collision with walls, but I passed a good time refactoring some parts of the code, and I'm a overcommenter programmer anyways.

I'm still changing somethings, expect today I have the full bow.


Bow is less buggy now

Cart #foguwibamu-0 | 2022-08-19 | Code ▽ | Embed ▽ | No License

P#116034 2022-08-19 21:16 ( Edited 2022-08-19 21:29)

Thank you very much, @biteco8! I was planning on a sword and bow for my game, and you have done this great! If you don't mind, I would like to take this for the project. You would get a place in the credits :)

EDIT: Looking through your code, I see you have code tabs. I haven't had a good explanation for this- are they simply a way for organizing things more?

P#116041 2022-08-20 01:09 ( Edited 2022-08-20 01:19)

Of course I don't mind, that was the objective.

And yes, the tabs just are a simple way to organize things. I came from c++ development and there I used to do programs with various modules, and I still like that way. Fell free to change everything you like in my code!!

EDIT: i didn't get time for the arrow collision, but I had the code idea. Adapt the hit function for different widths and heights and when create an arrow, save the start and end point coordinates in relation to the arrow coordinate ( like, in a diagonal down-right arrow, the start point is (0,0) and the end is (8,8)). In every frame, you use the hit function passing the arrow main points with 0 height and 0 width and if it returns true, remove the arrow.

P#116058 2022-08-20 13:57 ( Edited 2022-08-20 14:12)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-12-05 09:03:40 | 0.036s | Q:23