methusalah / OpenRTS

Real-Time Strategy game 3D engine coded in pure java
MIT License
1.33k stars 151 forks source link

No Units an Map #71

Closed meltzow closed 9 years ago

meltzow commented 9 years ago

I want to load a map directly with Game.java. The game only contains the Battlefieldcontrollers (but no Editorcontrollers). any ideas why?

thx

methusalah commented 9 years ago

For now I can't test because of the dependencies' problem. I checked the engagment is correctly registred inside the army manager at battlefield load. I can't tell right now.

meltzow commented 9 years ago

in class View there is a initialisation of an EditorRenderer, it's not needed in GameOnly mode. Perhaps there is the problem... I will investigate it in more detail.

methusalah commented 9 years ago

the Game class was only missing a loop ^^ actors where never drawn.

fixed

meltzow commented 9 years ago

damned. thx