Skip to content

C# library for generating levels in Serious Sam's Bogus Detour.

License

Notifications You must be signed in to change notification settings

Crackshell/NBogus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NBogus

C# library for generating levels in Serious Sam's Bogus Detour.

Example

var writer = new LevelWriter();

// Fill the level with grass
using (var tileWriter = writer.BeginTiles("tilesets/garden_grass.tileset")) {
  for (int y = -50; y < 50; y++) {
    for (int x = -50; x < 50; x++) {
      // Add grass to grid tile position
      tileWriter.Set(x, y);
    }
  }
}

// Add a statue on pixel position -10, -10
writer.PlaceDoodad(-10, -10, "doodads/generic/statue_anatolia_s.unit");

writer.Save("example.lvl");

About

C# library for generating levels in Serious Sam's Bogus Detour.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages