About 0.161

NOTE: Alpha 0.16 had a major bug in it that caused you to not be able to beat a level. This has been corrected with 0.161

I put a new build up (Alpha 0.161). This contains a few new features including the Level Generator. Here is how it breaks down:

Each level consists of 2 things

  • Map
  • Script for the way enemies spawn on that map (unique to each mode)
To create a level, a rating is generated from your stats (right now its just the number of times you've beaten a level). First a map is randomly selected based on your rating (the map rating has to be <= your rating). The rating of the map is deducted from the generated rating. After that, a set of scripts for that map are looked at. The script with the rating that can use up the remainder of the generated rating left will be chosen. What this means is that you can get a hard map but an easier script to balance it out. I have to fill in more maps/scripts to play around with this system which will be my next task.

In the current build you can see it work a little. There are 2 maps. The first map (the map you are used to seeing) has a 0 rating but 2 scripts (the first being 0 and the second being a 10). The second map as a rating of 10 (its a much harder map to navigate) but with only 1 script with a rating of 0. If you can beat at least 1 level you will unlock the harder maps/scripts. At least...you should :)

No comments: