Making my first game! (3d rts city builder)

I’m making my first ever game with gdevelop. I’m more of an artist, so anything related to coding i find very difficult. This project is definitely testing me and my mental.

What i have so far after 5 days of working:

  • grass and trees generate on my landscape randomly (they sometimes overlap, so i will have to fix this somehow)
  • camera!!! (this was probably the most difficult thing to set up, i was so frustrated, took me 2 days with some help). top down with smooth zoom, q\e z rotation, up and down tilt with middle mouse button
  • set up outline for trees. it changes colors if you hover over
  • character moves to a tree you click on and also to the nearest one if you click on a button
  • that big red square is my building button. by clicking it the building sticks to cursor position and moves with it. if you hover over a tree it will change outline color to red, indicating collision with another object. if the space is free it changes color to green

Future plans in no particular order:

  • resource gathering
  • inventory system
  • add building rotation
  • square mouse drag selection of multiple objects
  • npc ai (im scared of this one)
  • figure out how to make everything i implemented so far to work on a bumpy landscape instead of the simple box mesh
  • figure out how to optimize things
  • more building types
  • more grass (also fix the one i have so far, its huge)
  • add rocks
  • more stuff

I am also more of an artist despite my love for technology! but DAMN that looks pretty good

Very nice! did you model the things in 3D or are they drawings?

thats 3D, i can tell because it looks like…gdevelop

I did model trees (exept the big one) and grass. Used mill from asset pack, but i will later make my own, this one was just for testing

Thanks! I hope i won’t give up half way and actually finish it

What i did today:

  • added resource gathering. now npc can gather wood and store it in the nearest storage building

  • added ability to rotate building before placing it

  • imported storage and house buildings

  • tried to make inventory system and failed

Things i need to fix:

  • most of the time buildings placed immediately after clicking the button, i have to adjust camera rotation to make it work
  • inventory
  • everything i did seems very inefficient, need more flexible systems

Looks very nice. Also, I noticed you have a “0” up left. If you wanted it to display a variable and it just displays 0 while the target variable was something else, try “GlobalVariableString(“yourvariable”) or VariableString(“yourvariable”)” so your game displays the actual variable value instead of typing ToString(…)

Thats my actual variable, i was checking character states to see why some stuff didn’t work

Todays achievements:

  • inventory system yippee

  • building constraction working like it should

  • grid based crop planting (right now i can just plant carrots but soon!!!)

  • crops grow automatically over time, then automatically harvested and moved to storage

Bugs:

  • can’t sow more than one field, makes npc just harvest all carrots immediately regardless of the growth stage
  • fields snap to one another if placed too close for some reason

For the future:

  • add more building types
  • try to implement two professions for farmers and builders for now
  • add roads
  • make normal ui, not just text

That’s awesome, it looks really good. I’m kind of tempted to play!