Well im not quite sure what you mean by make the game and map editor at the same time so they can use the same "engine" because im not really quite sure what the engine is in my game lol. For me, I just start writing the game and thats about it lol (might be my flaw). For example, I am writing my tower defense game, I dont really have an engine for it, i just started from scratch and wrote the tower of defense game. But my map editor is universal for the way I write my games. I just create the map in the map editor, generate it and it sends it to a txt file (formatted in java 2D aray) and i just paste that in my Map class and use it like that
If you can explain to me what the engine of my game is, or what it would be I would really appreciate it because I have been quite confused in this subject for quite a while.
Like what classes would the map editor and the game loop have in common that they both use?
Also, when you say make them together so they can use the same engine do you mean I should make the MapEditor part of the game and lets say if i start the game, go to map editor i can essentially change the map "live"?
(really sorry about these questions, im not really a beginner but never understood engines and all that).