Create a new map and load it into application

I practice by following the tutorial at https://wiki.jmonkeyengine.org/legacy/doku.php/jme3, and notice that seems I provide my own material e.g https://wiki.jmonkeyengine.org/legacy/doku.php/?do=search&id=Materials+Overview



However, the material overview seems only tell how to use it. How can I e.g. load a customize map? For instance, I want to create a map that is similar to monopoly’s scene, consisting of roads, terrain, and buildings. Below is the steps I can think of:


  1. create .j3md
  2. provide assets e.g. png, jpg which is going to be used.



    Is this the correct way to create a customize map? Or what is the right way (or where there contain such information)?



    I appreciate any help

If you just want to create a textured material with a monopoly board

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_material#simple_texture

Says you can do it like:

[java]

Material material = new Material(assetManager, “Common/MatDefs/Misc/SimpleTextured.j3md”);

material.setTexture(“ColorMap”, assetManager.loadTexture(“Monopoly.png”));

[/java]



… or for fun …



[java]

Material material = new Material(assetManager, “Common/MatDefs/Misc/SimpleTextured.j3md”);

assetManager.registerLocator(

(image)”,

UrlLocator.class);

material.setTexture(“ColorMap”, assetManager.loadTexture(“gamemonopoly.png”));

[/java]