aboutsummaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
authorIndrajith K L2022-03-02 03:36:05 +0530
committerIndrajith K L2022-03-02 03:36:05 +0530
commit6322712259d46fc7af82ae6271852a236f66ba6e (patch)
tree3b38362efa04e97cae6ee934242705fbd5f947c8 /scenes
parent384dda3616c7007da1c88a67ff2daebd6037baa7 (diff)
downloadYEAD-6322712259d46fc7af82ae6271852a236f66ba6e.tar.gz
YEAD-6322712259d46fc7af82ae6271852a236f66ba6e.tar.bz2
YEAD-6322712259d46fc7af82ae6271852a236f66ba6e.zip
* Test Enemy Added
* Basic Hacky Enemy AI
Diffstat (limited to 'scenes')
-rw-r--r--scenes/level1_scene.lua5
-rw-r--r--scenes/menu_scene.lua4
2 files changed, 3 insertions, 6 deletions
diff --git a/scenes/level1_scene.lua b/scenes/level1_scene.lua
index fb1ee0a..c7ad856 100644
--- a/scenes/level1_scene.lua
+++ b/scenes/level1_scene.lua
@@ -33,9 +33,4 @@ function level1:leave()
map = nil
end
-
-function printMessage()
- -- print('Hello')
-end
-
return level1 \ No newline at end of file
diff --git a/scenes/menu_scene.lua b/scenes/menu_scene.lua
index 8fd1587..085162c 100644
--- a/scenes/menu_scene.lua
+++ b/scenes/menu_scene.lua
@@ -69,8 +69,10 @@ function menu:draw()
love.graphics.setColor(titleFontColor1)
love.graphics.draw(starfield, love.graphics.getWidth() * 0.5, love.graphics.getHeight() * 0.5)
love.graphics.draw(titleText1,(windowWidth * 0.5) - (titleText1:getWidth() * 0.5), (windowHeight * 0.5) - 50)
- love.graphics.setColor(titleFontColor2)
love.graphics.setFont(titleFont2)
+ love.graphics.setColor({0,0,0,1})
+ love.graphics.draw(titleText2,(windowWidth * 0.5) - (titleText2:getWidth() * 0.5), (windowHeight * 0.5) + 1, -0.17)
+ love.graphics.setColor(titleFontColor2)
love.graphics.draw(titleText2,(windowWidth * 0.5) - (titleText2:getWidth() * 0.5), (windowHeight * 0.5) + 2, -0.17)
love.graphics.setFont(startMsgFont)