That sounds like a great project
So, if I were you, I would first consider a lot of OOP, that being Object Oriented Programming. I would learn about classes, and managing objects, and all that.
I would also see how the different objects in my game would relate to each other. In terms of a map, I am assuming yours will be 3D, so I would get to looking maybe at a library such as P3D or another one that manages 3D objects?
I would also think about how I would make my map. Honestly, I have not made many games that include maps, but I do know that to do that I have seen two dimensional arrays used. And it would be something like this (I do not know if this specific approach is what you would do for a 3D game, but this is what you would do for a 2D one) :
int[][] gameMap = {
{ 1,0,1,2,3,1,1},
{ 1,3,1,2,3,1,1},
{ 0,0,0,0,1,2,1},
{ 0,1,2,1,2,3,2},
};
And like, a 0 would map out to be a grass part, and a 1 is like water, 0 is a tree, and so on and so forth. You can build a whole map that way, if you would like to. And obviously, you would have a function to handle that and appropriately display what you want on the screen when you want.
So I see in the code that you posted, that you drew your truck, and while you are at it, I would also think about checking for collisions with other objects and such.
As of now, that is what comes to mind at first. I would also draw out my planned finished result and all, just so I know what I’m working towards. If you have any more questions I would love to do my best to help answer that, and hopefully all goes well with that project
EnhancedLoop7