Skip to content

XiuyuYang/Tower-Defense-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tower-Defense-Game

I want to make a tower defense game, the first step is to create a map, I want to make a map editor for the player to use in order to generate maps.

GIF 2023-1-24 22-23-33

25/01/2023 I make a cell with corner numbers so I can find correct mesh with different hightness in the future.

image

GIF 2023-1-25 0-00-15

29/01/2023

I calculated that if the maximum span height per unit of terrain was 4 levels, I could represent the height of the vertices as a quadrilimal number (i.e. 0000-3333), with 256 height combinations. If I reduce the number of assemblies I need to make using only rotation or up and down displacement [replacing geometry of height (1111) with (0000)], I can reduce the total number to 46. I used two datatable methods to query the aggregate, the first datatable storing the heights and corresponding geometry of the four corners of the aggregate. The second datatable stores information about how many degrees of rotation each of the 46 geometers corresponding to all the different height combinations has been made. The second list is actually 175 instead of 256, because it removes all items that do not contain 0 height. In theory, any geometry that does not contain 0 and each vertex is no more than 3 in height can be matched in the existing entries by moving up and down.

image

image

GIF 2023-1-29 22-17-25

30/01/2023

Added detailed map poly(cliff only).

image

GIF 2023-1-30 23-08-17

23/03/2023

Add some tile meshes / Clean up BPs / Add Edge BP / Add debug mode

GIF 2023-3-23 23-56-08

26/03/2023

What I did today was to add some functionalities to BP_MapEdge, mainly registering adjacent terrains and height points in it, and registering these edges back to the height points and terrains. I also created some models of edges that may be used later.

image image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published