Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Day 3

  • Tools can interact with tiles now
  • Some background work on the building UI
    • Grid Items are added when new Tool Instance is created
    • So I can add as much tools as I want and put it in the Shop or Shack πŸ‘
    • Still not quiet happy with my implementation but I will figure something out πŸ˜…
  • Added more tools
  • Added Shop Building
  • Added Seed / Fruits

Day 4

  • Added time and a day / night cycle!

    • With this great video:


  • Crops are growing now based on this global day and night cycle

    • now I have to build the interaction to actually plant something
    • also I’m building a tile map that allows to plant seed in the editor

Day 5

  • Confused - stumbled through the mess of code I created so far

  • Struggled a lot with structuring my nodes and corresponding code

  • After some time I manged to add the money system to buy stuff from the store:


  • And I finally got the plants to change there texture after they reached a new grow stage
  • Next is letting the player actually plant plants πŸ‘

Day 6

  • Didn’t managed to do anything on the game
  • But went on a nice bike tour πŸ‘

Day 7

  • Implemented the planting on mouse click
  • So you can now buy seed in the shop
  • Select them in the shack
  • Click on an empty dirt tile
  • And a new Plant will grow there

Day 8


  • I managed to make it quite easy to add new tools and plants

    • There is still some redundancy that I have to get ritt of I don’t think its necessary to ad the tools in the tool node and to the Items in the Store Node
  • Got my head around parent and inherited scenes

  • So I currently have a Plant Scene that holds all the default data

    • for example the seed stage texture is currently the same for all

    • Then I inherit a grass scene from it and select all the grass textures modify the days for the different grow stages


    • and at that one to the PlantLayer tile map


  • I also have a building scene that is used to get the basic UI for the shack and store working

    • I’m not really happy with how this is setup, because it is a bit of a signal mess - but it works 😢 for now.
    • I should have realized earlier that I’m actually building an inventory system πŸ˜…
  • So the steps to add a tool currently are:

  1. Create some beautiful temp art in Aseprite


  2. Duplicate a tool node


  3. Change name / texture / location



  4. Duplicate a item node under Store


  5. Change name / item name / type / item ref / amount / price That’s enough to be able to buy the tool and select it in the shack



  6. I add the functionality for what ever the tool is


  • So to finish the first MVP ( actually more a prototype ) I only have left

    • Selling the fruits

    But to do that I first have to implement the harvesting, so that is the plan for the rest of Day 8

End of the day now

  • Scissors are now able to harvest fully grown plants

  • For that I rewrote some of the Plant Scene to be more flexible with how many grow stages a plant can have


  • The day count and the textures are now an Array

  • I keep track of the current_stage index so I can just check if the plant is on the last index of the array before harvesting

  • One issue I know have is that I don’t instance a plant for every grass tile I added on the GroundLayer - but that is something i fix tomorrow πŸ˜„

Day 9

  • I fixed the non existing plants on grass tiles

  • Just added this little function the the GroundLayer


    It just loops through and checks if the tile is long grass - If so it instances grass on the PlantLayer with the grow stage 4 πŸ‘

  • After that I implemented the the selling of the fruits from the shack

  • So I’m done with all the basic’s I had plant to add at the beginning πŸŽ‰

    • Garden with weeds and dead plants add the beginning βœ…
    • Remove weeds / dead plants βœ…
    • inventory system for buildings βœ…
    • maw the lawn βœ…
    • Add new fields βœ…
    • Buy Seeds βœ…
    • Plant new plants βœ…
    • Harvest fruits βœ…
    • Sell them βœ…


  • But there is still some important bits missing

    • Watering πŸ’§
    • Plant / Garden health ❀
    • parasites
    • fertilizer


  • Not sure -but I think I leave this for later and concentrate on polishing what I have now