people playing: 52, servers online: 18, games played: 144,346,981 Top Player: Gentleman

  Toribash Community » Toribash » Mods » Lua scripts
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old Sep 30, 2015   #1
dista
Member
 
10th Dan Black Belt
Join Date: Apr 2010
Posts: 165



[REL] Snake and Pong minigames
Sometimes it gets boring while waiting in the queue, so I made those minigames to kill time with. In Pong the difficulty increases as you level up, and to level up you must score 10 points against uke. In Snake, the snake moves faster the more fruits you eat.
Pong protip: to score against uke you must "slice" the ball.
Snake protip: if you can't see the fruit it's hiding behind uke.

Snake controls:
Y - move forward
G - move left
J - move right
H - move backwards

Pong controls:
Q - move left
E - move right
O - pause game

There are four difficulties: easy, medium, hard and insane.
To change the difficulty you need to type in the text box like this:
Code:
/easy
Here is some gameplay
Attached Files
File Type: lua snake.lua (11.6 KB, 27 views)
File Type: lua pong.lua (7.1 KB, 23 views)
dista is offline   Reply With Quote
Old Sep 30, 2015   #2
calumfionn
Member
 
2nd Dan Black Belt
Join Date: Jun 2013
Posts: 323



Wow can you actually use this while in queue? Dude I love you this is freaking amazing.
i suck
calumfionn is offline   Reply With Quote
Old Oct 1, 2015   #3
Quack
 
Master Belt
Join Date: Sep 2013
Posts: 3,517
Clan: Adventure



this is really cool but how do i get back to the game when its my turn?
Quplays
Quack's Club
[SIGPIC][/SIGPIC]

Pm me for help or if you have any questions.
Quack is offline   Reply With Quote
Old Oct 1, 2015   #4
dista
Member
 
10th Dan Black Belt
Join Date: Apr 2010
Posts: 165



you can type
Code:
/ls unloadscript.lua
and the script will be unloaded
dista is offline   Reply With Quote
Old Oct 1, 2015   #5
Quack
 
Master Belt
Join Date: Sep 2013
Posts: 3,517
Clan: Adventure



Ok thank you dista
Quplays
Quack's Club
[SIGPIC][/SIGPIC]

Pm me for help or if you have any questions.
Quack is offline   Reply With Quote
Old Oct 1, 2015   #6
iver
Raconteur
 
River Belt
Join Date: Feb 2012
Posts: 3,676
Clan: Tribe



dista, you're a genius. Thank you for this.

iver is offline   Reply With Quote
Old Oct 1, 2015   #7
basic
Forumite
 
9th Dan Black Belt
Join Date: Feb 2015
Posts: 1,632



this is some good shit
the pong minigame looks a bit weird though
the snake one looks fun, nice work man
basic is offline   Reply With Quote
Old Oct 1, 2015   #8
William
 
Wushu Belt
Join Date: Oct 2008
Posts: 4,433
Clan: fl0w



pretty sure you can make it automatically unloadscript when it's your turn.. it's possible

great script, good job dude..keep them coming
Your messed up world enthrills me
William is offline   Reply With Quote
Old Oct 2, 2015   #9
basic
Forumite
 
9th Dan Black Belt
Join Date: Feb 2015
Posts: 1,632



i tried pong and as soon as i started it fear's candy locks went crazy and my game crashed lol

the snake is good but if you move the camera too much it's harder to know where the damn snake is going
basic is offline   Reply With Quote
Old Oct 7, 2015   #10
dista
Member
 
10th Dan Black Belt
Join Date: Apr 2010
Posts: 165



what do you mean? what happens before the crash?
dista is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:45 AM.




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game