Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

splitgreen

9
Posts
7
Followers
34
Following
A member registered May 27, 2019 · View creator page →

Creator of

Recent community posts

Cool atmosphere, i like the black and white visuals. A lot of juice. game is difficult , if I didnt roughly guess the right place the asteroids would appear, I had no chance of destroying the asteroid.

Cool graphics, fun gameplay. could use some more juice.

fun game

simple addictive gameplay.  weapon system is a bit wield how some of the later weapons you unlock is crap compair to start weapon.

thank you

I read about the level gen in Dereks Yu's book on the developmnet of spelunky.

You create a grid, let’s say 4x4, and each cell represent a room.

Then you assign a random cell in the top and bottom row to be the start and exit room.

now randomly move left,right or down from the start-room iterating until you reach the exit-room and that will be your straight path from start to exit. you’ll end up with something like this:

[0] [2] [1] [S]

[0] [3] [1] [2]

[0] [0] [0] [3]

[E] [1] [1] [3]

The numbers represent different types of rooms. For instance, 1 would be a room with openings to the right and left side, 2 an opening at the bottom, 0 can be any type of room and so on.

Loop through the grid and for each type of room you draw from a pool of premade layouts which is just arrays of numbers like this:

[ 1,1,1,1,1,1,1,1,1,1,

1,0,0,0,0,0,0,0,0,1,

0,0,0,0,0,0,0,0,0,0,

0,0,0,0,0,2,0,0,0,0,

0,0,0,0,1,1,0,0,0,0,

0,0,0,0,1,1,0,0,0,0,

1,0,0,1,1,1,1,0,0,1,

1,1,1,1,1,1,1,1,1,1]

1 is a wall tile, 0 is void, 2 is en enemy etc.

Loop through the array as a grid with array_index = x_cell + y_cell*room_width.

Then draw to x,y position with

x = (x_cell_room_grid*room_width+x_cell_room_lay_ut)*tile_size

y = (y_cell_room_grid*room_height+y_cell_room_layout)*tile_size

hopefully that made any sense and im not just making it sound more complicated than it is.

I really like the art

fun very addictive gameplay. 

It is possible to destroy walls with bomb to make easier paths.

thanks. Yeah, was trying to do a spelunky-style level gen; the rooms are all premade but the order and what's in them are randomly generated.