GM48 #25 Entry: The Legions of Grenda

Поділитися
Вставка
  • Опубліковано 16 січ 2018
  • Play it here:
    gm48.net/game/827/the-legions...
    The theme for this jam was "One Tool, Many Uses" so I tried to make a Zelda parody/rip-off thing which focused around using the boomerang in different ways. "Tried" being the operative word. I got the basic mechanics and structure down but didn't have time for supporting mechanics or level design around them, leaving the world very empty.
    It was still a fun jam with interesting challenges such as implementing the screen transitions and trying to emulate the style of another game without directly copying any assets. I'm also keen to finish the game so hopefully I'll release a completed version some time.
  • Ігри

КОМЕНТАРІ • 3

  • @dropzdd
    @dropzdd 6 років тому

    can i ask you how you did the dungeon map on the top of the screen?

    • @Veralos
      @Veralos  6 років тому +1

      I use a ds_grid to store the map and a couple of variables to store which column and row in the grid the current room corresponds to. The grid's width and height are equal to the number of rooms horizontally and vertically in the game world. At the start of the game each cell in the grid is set to False and the variables are set to the column/row for the starting room. Each time the player moves to a new room I modify one of those variables based on which direction the player went out of the room (going left decrements the column, going down increments the row, etc.). Then I set the cell in the grid that corresponds to the column/row variables to True.
      I have a script that draws the map which takes in the x and y coordinates to draw the map at, and the map grid itself. It scans through each cell in the grid using a for loop nested in another for loop - one for the column and one for the row. If a cell is true, the map room sprite (the blue rectangles you see) is drawn at the x and y coordinates, displaced by the current column and row from the for loops. If the for loop values match the coordinate variables, the map player indicator (the green square) is also drawn at the x and y coordinates, again displaced by the current column and row.
      Tell me if you have any questions or need me to clarify something.

    • @dropzdd
      @dropzdd 6 років тому

      thanks for your long and good explanation! i really enjoy your game! :)