Преглед на файлове

Merge pull request #294 from seanpaultaylor/master

Additional fixes for new project scripts
Sean Paul Taylor преди 13 години
родител
ревизия
257dc22347
променени са 2 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 1
      gameplay-newproject.bat
  2. 0 1
      gameplay-template/res/box.material

+ 1 - 1
gameplay-newproject.bat

@@ -245,7 +245,7 @@ copy gameplay-template\icon.png %projPath%\icon.png
 
 
 REM Copy config
 REM Copy config
 copy gameplay-template\game.config %projPath%\game.config
 copy gameplay-template\game.config %projPath%\game.config
-call:replace %projPath%\game.config TEMPLATE_TITLE "%projName%"
+call:replace %projPath%\game.config TEMPLATE_TITLE "%title%"
 
 
 REM Open new project folder
 REM Open new project folder
 start %projPath%
 start %projPath%

+ 0 - 1
gameplay-template/res/box.material

@@ -11,7 +11,6 @@ material box
             // uniforms
             // uniforms
             u_worldViewProjectionMatrix = WORLD_VIEW_PROJECTION_MATRIX
             u_worldViewProjectionMatrix = WORLD_VIEW_PROJECTION_MATRIX
             u_inverseTransposeWorldViewMatrix = INVERSE_TRANSPOSE_WORLD_VIEW_MATRIX
             u_inverseTransposeWorldViewMatrix = INVERSE_TRANSPOSE_WORLD_VIEW_MATRIX
-            u_ambientColor = 0.2, 0.2, 0.2
             u_diffuseColor = 1.0, 1.0, 1.0, 1.0
             u_diffuseColor = 1.0, 1.0, 1.0, 1.0
 
 
             // render state
             // render state