Forums
May 15, 2024, 04:45 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Plutonic

Pages: 1 2 3 [4] 5 6 ... 14
46
General discussion / Re: MapGEN v0.8.6.2
« on: February 03, 2019, 05:07 PM »
Yeah, ok, some examples would be a big help, but I will see if I can come up with some ideas.

47
General discussion / Re: MapGEN v0.8.6.2
« on: February 03, 2019, 10:46 AM »
Ahha, ok, so the ingame shallow islands etc is what is missing?
Please, if ever you think something could be improved let me know,  I enjoy working on it but often run out of insperation!

48
General discussion / Re: MapGEN v0.8.6.2
« on: February 02, 2019, 05:33 PM »
If there are schemes / map types you would use if they were better (or existed!) then let me know what you do/don't like! (or would want)

Edit: What do you mean by monotonic? I have been moving most schemes over to use the games assets so it should look pretty similar?

49
General discussion / Re: MapGEN v0.8.6.2
« on: February 02, 2019, 03:47 PM »
Ok, more progress pictures!

50
General discussion / Re: MapGEN v0.8.6.2
« on: January 28, 2019, 09:27 PM »
Hey all!

Quick update (no exe's yet, just a pic!). I have been working on a new version of caverns the last few days, as the last version had some issues in that is often had one half of the map be oddly flat, and on complex maps would create random "knots".

Please excuse the blockyness, that is next on the todo list!

Edit: Quick double cavern while I am here!


51
Announcements / Re: Worms Armageddon 3.8.0 changelog sneak peek
« on: January 19, 2019, 02:26 PM »
what will be the date of its launch?
I second that. As there's already a more-or-less exact changelog and the release is almost done, the devs are able to predict when it'll be 100% ready and published, aren't they?

Nope, development doesn't work like that. Any dev that says "it will definitely be done by X" is asking for trouble.

52
General discussion / Re: MapGEN v0.8.6.2
« on: December 28, 2018, 07:57 PM »
If you use the mapgen wormkit module you can generate from within the editor screen.

53
General discussion / Re: MapGEN v0.8.6.2
« on: December 26, 2018, 06:54 PM »
Good job so far! Looks about right to me! The overlapping issue is definitely something I had to cope with, I think I checked for the amount of free space both above and below the map edge. (You can get the opposite issue in thin areas of sky). Think I then just scaled it to fit when it didn't, I don't have the code on me right now.

There are two methods in that article, the first quote is from the first one, which mapgen used to use, but no longer does. The second quote relates to the method I use for it now. And yes, hence the limits set!

54
General discussion / Re: MapGEN v0.8.6.2
« on: December 17, 2018, 09:07 PM »
Interesting stuff Plutonic :)

You must be pretty interested in Math?

Mmm, no, not realy :D I like making games! Though I do quite like map generation, which usually involves some mathsy bits.

55
General discussion / Re: MapGEN v0.8.6.2
« on: December 17, 2018, 08:36 PM »
Plutonic, I really like it! It has been 3-4 years since I last posted here and during that time I have plunged myself into gamedev field. I'm developing a game inspired by W:A and I'm trying to implement a map generator.

Hey, it's looking pretty good! The rope and bazooka physics look pretty close to WA already.

Quote
If it's not a secret, I'd like to get some hints about the underlying algorithm you implemented:
  • Are you generating maps from noise? You mention about interpolation.

Nope, no noise in the standard island maps (though I do use noise in the SSR generator), the maps are made out of a selection of randomly (well, somewhat random, with some rules about how close to others they can be placed, and what areas they are allowed in) generated points, that are then ordered such that the lines between them don't cross and are then tessellated and interpolated to produce the final result. The interpolation in question is a Hermite Curve, as documented here:
http://www.cubic.org/docs/hermite.htm, though it is the tessellation stage that actually provides much of the shape. The tessellation algorithm went through MANY different versions, but the most recent is based on an image someone else in the community posted as a possible solution to making the maps nicer. So far I haven't had much luck finding it annoyingly, but if I stumble upon it I will post it again. But basically it involved adding new points in between two others at the mid-point, and then offsetting it perpendicular a randomised amount where the maximum allowed offset was restricted based on the distance between the original points, and it was not allowed to produce an overlap with the already existing lines.

Quote
  • How do you texture grass?

This actually wasn't too tricky. The WA graphics provide an image of a small section of grass that tiles horizontally. In order to map it on to the generated map I split it up into as many images as the graphic is wide and then store them in an array. Then, for every pixel that is a "top edge of the map", we just place one of these 1px images on it (centered), where the modulus of the x co-ordinate is used to look up the correct image.

Code: [Select]
GetGrassSliceImage(pixel.x % xGrassImg.width)

Quote
  • Also interested how objects could be placed, I guess you decide it based on pixel normals of some sort...

Urrrr, I probably *should* use normals. But it currently doesn't. And object placement is realy not all that great in MapGen to be honest!
The idea is basically:
1) Scan along the bottom of the object image and work out how wide the "base" of the object is, and where the middle of this base is.
2) Scan through all the edges of the map, look for areas in which the objects "base" would be entirely in the floor, and potentially there aren't other collisions with exisiting map/objects.

Quote
  • RR generator is decent as well, I imagine you run some maze algorithm for that.

The RR generator is probably the one I am most proud of if I am honest, as while I didn't come up with the method myself, it took a LOT of reading / searching for something usable that provided the results I wanted - I think I was on the look out for solutions for a good 3 years or so!
My original version was indeed a maze generation algorithm, it would produce a basic maze, and then split the paths down the middle to produce a large loop. This works, but you get lots of back-tracking and a weird predictability to the maps, it also means that the start and end are always next too each other.

The current version is not a maze generation algorithm as such, and while I sort of remember the technique, not enough to explain it to someone else. I have managed to find the site that explained it well enough for me to work from at least: https://orden-y-concierto.blogspot.com/2014/12/unicursal-mazes-and-cavern-mazes.html

Hopefully that was helpful? If not, or you want to know more let me know and I will try my best!

Edit: Found the RR info, added it in!

56
General discussion / Re: MapGEN v0.8.6.2
« on: December 17, 2018, 06:23 PM »
Hi! Happy to answer but don't have time right now, if I forget to do it later feel free to poke me!

57
General discussion / Re: MapGEN v0.8.6.2
« on: October 03, 2018, 08:51 AM »
Hmm interesting, will see if I can get it happening here.

58
General discussion / Re: MapGEN v0.8.6.2
« on: September 15, 2018, 09:32 AM »
that reminds me... here's the Tetris theme

I feel like that we'll need to split themes into default, world party and community

Nice! That looks realy good :)

59
General discussion / Re: MapGEN v0.8.6.2
« on: September 15, 2018, 08:22 AM »
Ok, a new version is up that fixes the dodgey fort map terrain edge issue.

60
General discussion / Re: MapGEN v0.8.6.1
« on: September 07, 2018, 02:33 PM »
Hi!  Yes, sorry, the server is very much down… to be more accurate it is sat on my bedside table… I am working on both getting it fixed and migrating to something not in my house!

The link you found is a bit out of date, I will try and get the latest up somewhere in the next few days.

Pages: 1 2 3 [4] 5 6 ... 14