diff options
| author | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-02-02 14:40:37 -0500 |
|---|---|---|
| committer | Alexander Pickering <Alexander.Pickering@anondomain.site90.net> | 2016-02-02 14:40:37 -0500 |
| commit | 02a1f048efa1b6d4132860a1919e127cca1e2167 (patch) | |
| tree | 60f7a4b759d28f9f420fb792915ffb1f8d90daa5 /gamemode | |
| parent | c6c3443b42920e57eb822e7c160139bf17cc0955 (diff) | |
| download | wintersurvival2-02a1f048efa1b6d4132860a1919e127cca1e2167.tar.gz wintersurvival2-02a1f048efa1b6d4132860a1919e127cca1e2167.tar.bz2 wintersurvival2-02a1f048efa1b6d4132860a1919e127cca1e2167.zip | |
Small adjustment to the connect the dots minigame to keep all dots fully on the screen
Diffstat (limited to 'gamemode')
| -rw-r--r-- | gamemode/hud/games/connectthedots.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gamemode/hud/games/connectthedots.lua b/gamemode/hud/games/connectthedots.lua index b0cdaf9..fe6cef2 100644 --- a/gamemode/hud/games/connectthedots.lua +++ b/gamemode/hud/games/connectthedots.lua @@ -56,7 +56,7 @@ Game.Draw = function(self) if not input.IsKeyTrapping() then input.StartKeyTrapping() end - draw.DrawText( "You're casting a spell!", "TargetID", ScrW() * 0.5, ScrH() * 0.25, Color( 255, 255, 255, 255 ), TEXT_ALIGN_CENTER ) + draw.DrawText( "Connect the dots by moveing you mouse!", "TargetID", ScrW() * 0.5, ScrH() * 0.25, Color( 255, 255, 255, 255 ), TEXT_ALIGN_CENTER ) for k,v in pairs(self.dots) do local tcolor = Color(255,0,0,255) @@ -154,10 +154,10 @@ Game.AddRegDot = function(spelltab) --Pick a random distance from this dot to the screen edge, and put a dot there, but at least 20 pixels local rand = 0 - local totop = fd[1] - local toleft = fd[0] - local tobot = ScrH() - totop - local toright = ScrW() - toleft + local totop = fd[1] + 20 + local toleft = fd[0] + 20 + local tobot = ScrH() - totop - 40 + local toright = ScrW() - toleft - 40 --If we're in the first quadrent if(position > 0 and position <= 90) then |
