Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Fixed my itch.io upload, but at what cost...

A topic by duffdl created May 04, 2024 Views: 145 Replies: 3
Viewing posts 1 to 4
Submitted

https://duffdl.itch.io/day-2-morning-game-jam

You should be able to see and play my 'game' now maybe?? Let me know if it isn't displaying right, i added a check in my MapGenerator's Update function to see if the screen changed size and if so, it rebuilds the map and essentially restarts the game. I'm not really a fan of that behavior but i think i'm gonna leave it like that unless i have time to investigate later or if someone has a better idea. Here is my ugly Update function:


void Update()
{   // Updates the entire maze on screen resize. idk if this is a good fix for the resolution issue on itch.io
   int newHeight = Mathf.FloorToInt(2f * cam.orthographicSize / tileGrid.transform.localScale.y);
   int newWidth = Mathf.FloorToInt(height * cam.aspect);
   if (newHeight != height || newWidth != width)
   {
     InitializeMaze();
     GameManager.Instance.DestroyPlayer();
     GameManager.Instance.SpawnPlayer();
   }
}

Submitted(+1)

It is successfully running on my end

Submitted (1 edit)

https://streamable.com/07oplo
The Alpaca movement finally working. I removed the collision after i took this video so they aren't gonna get stuck on each other like that anymore. The flashlight effect is disabled to see the movement but i still plan on using the flashlight / vision mask

HostSubmitted

its looks great!