Game Jam Devlog


Day 1 planning and getting resources Friday

This is my first Game Jam I can to keep this simple. Game Jam #8 theme is Ecosystem. The game engine that I love is Unity I am plan on use the build in grid system.

Idea

The play will just start out with just grass the goes is to keep O2 and C02 balance for long a passable the grass need water and O2

Play can add

  • Animals – Eating plant or maybe eating other Animals make CO2
  • Rivers – Start at the top left and connect
  • Plants - Make O2 and need water
  • Bridges and walls

 

Day 2  Saturday

My idea for the UI


Work on making the UI Setting up game layout. Gathering assets picking what assets to use. Start working whit script for game time


Day 3 Sunday

I wall plan on using square grid system for the game fond out using hexagon grid system is not much harder to do and look better, hexagons are found in nature.


Have to adjust the sprites to make them work.
 

Day 4 Monday

Decided that I will call my game Eco Balance. Coding, planning tiles placement and think about how it will work.

Day 5 Tuesday

Day 6 Wednesday

Try to make glass half systems and keep getting  “NullReferenceException: Object reference not set to an instance of an object”.  Trying to store class or struct in array


 

Day 7 Thursday  
  work on Auto

Day8 Friday  

Finalist game idea and design.

Day 9

 

public bool CanPlaceGrassTile(Vector3Int PlacingLoc)
    {        
        int Xleft;
        int XRight;
        int XleftTop;
        int XRightTop;
        int XleftBottom;
        int XRightBottom;
        int Layers =4;
        //Y is Even
        XleftTop=PlacingLoc.x-(int)(Layers/2);
        XRightTop=PlacingLoc.x+(int)(Layers/2);
        Xleft=XleftTop;
        XRight=XRightTop;
        for(int Y=PlacingLoc.y+Layers;Y>PlacingLoc.y; Y--)
        {
            
            for(int X=Xleft;X<=XRight; X++)
            {
                if(WaterWayHex.GetTile(new Vector3Int(X,Y,0))!=null)
                {
                    return true;
                }
                
                
            }
                
            if(Y==((int)(Y/2))*2)
        {
            //Debug.Log("Even " + PlacingLoc.y);
            Xleft=Xleft-1;
                //    XRight=XRight;
        }
        // Y is Odd
        else
        {
            Debug.Log("odd " + PlacingLoc.y);
            //Xleft=PlacingLoc.x;
            XRight=XRight+1;
        }
            //Debug.Log(math.abs(PlacingLoc.y/2));
        
        
        }
        
        Xleft=XleftTop;
        XRight=XRight;
        for(int Y=PlacingLoc.y-Layers;Y<PlacingLoc.y; Y++)
        {
            
            for(int X=Xleft;X<=XRight; X++)
            {
                if(WaterWayHex.GetTile(new Vector3Int(X,Y,0))!=null)
                {
                    return true;
                }
                
         
            }
                
            if(Y==((int)(Y/2))*2)
            {
                //Debug.Log("Even " + PlacingLoc.y);
                Xleft=Xleft-1;
                //    XRight=XRight;
            }
            // Y is Odd
            else
            {
                Debug.Log("odd " + PlacingLoc.y);
                //Xleft=PlacingLoc.x;
                XRight=XRight+1;
            }
            //Debug.Log(math.abs(PlacingLoc.y/2));
     
        }
        
        for(int X = PlacingLoc.x-Layers;X<=PlacingLoc.x+Layers;X++)
        {
            if(WaterWayHex.GetTile(new Vector3Int(X,PlacingLoc.y,0))!=null)
            {
                return true;
            }
        }
       
        return false;
    }


Day 10

Work on help menu and restart game. I in prove the UI and did bug fix cow not appearing. There are still some bugs in the game

Files

Eco Balance window.zip 30 MB
May 01, 2023

Get Eco Balance Demo

Leave a comment

Log in with itch.io to leave a comment.