This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
PixelToast's profile picture

Tron game [WIP][Multiplayer]

Started by PixelToast, 23 April 2013 - 02:03 PM
PixelToast #1
Posted 23 April 2013 - 04:03 PM
i made this in the past 2 days
there are many glitches atm, and some inefficient rendering in the title screen (the game has no lag at 10FPS though)
it also spams rednet every frame so dont get mad at me CCU, but it only broadcasts once
the other player seems to be randomly late 1 frame, i plan on fixing that
now for the pictures!

basically, you are an arrow and leave a trail
touch a trail and you die
the screen will move to put you in the center and the background grid will scroll
there is a border, its pretty far away but try not to get trapped

Spongy141 #2
Posted 23 April 2013 - 04:10 PM
Nice, you should also make a single player version, so it the user will verse the "computer".
PixelToast #3
Posted 23 April 2013 - 04:11 PM
yea i will eventually, havent really planned on how the AI would work though
for now you will have to stick with real people
Spongy141 #4
Posted 23 April 2013 - 04:14 PM
Lol I was going to put the picture of the foreveralone guy… but I got lazy, anyways, have the AI log the users input, then react on it, obviously have it have 3 settings, easy medium and hard, and if you really want the user to have a challenge, extra hardcore.
PixelToast #5
Posted 23 April 2013 - 04:19 PM
lol, already attacking my own program

rednet.open("right")
while true do
a,b=rednet.receive()
if b=="TRON:pingcon" then
  rednet.send(a,"TRON:pongcon")
  rednet.send(a,'"MOVE",{x=1000,y=1000},"Hacked by PixelToast"')
  rednet.send(a,'"MOVE",{x=1012,y=1000},"x"')
  rednet.send(a,'"DIE"')
end
end
Spongy141 #6
Posted 23 April 2013 - 04:20 PM
Lol, I imagine some people will cheat on this game though.
PixelToast #7
Posted 23 April 2013 - 04:29 PM
possible things:
  • godmode
  • crashing user's program
  • showing messages
  • teleportation
  • custom text trails
  • forcing user to ctrl-t
  • killing user by placing trail infront of them
i made sure you couldnt run arbitrary code though :P/> :P/> :P/>
remiX #8
Posted 23 April 2013 - 07:24 PM
Wow this is pretty sick xD Nice
theoriginalbit #9
Posted 23 April 2013 - 07:51 PM
Very nice and simple program. Good to see another game! :)/>

2 things:
  • You spelt 'Waiting for player' wrong, you had 'Wating'
  • You need to tell the user when there is no modem, atm it just crashes
havent really planned on how the AI would work though
What do you mean? Its not much to plan, you just need to have it use some basic AI techniques
  • Basic actions are controlled by Finite State Machine
  • Seek/Flee the player (including some Wander when evading)
  • If you ever implement teams then you may want to add Weighted Group Behaviour when they are within proximity (i.e. follow the leader which may be pursuing the player, then they can 'peel' off to attempt to trap the player)
PixelToast #10
Posted 24 April 2013 - 05:47 AM
meh, fixed
i could have listed 10 more errors not "you spelled it wrong" and "the user forgot to put a modem on for a multiplayer game"
i already knew how it would act, i was talking about how to make it know all these different tactics
all i have now is it taking the path that will least likely get it killed
TheOddByte #11
Posted 24 April 2013 - 07:18 AM
I.. Must.. Test.. This…
Can't right now… Since i'm on my phone, This seems nice anyway :)/>
thegreatstudio #12
Posted 02 May 2013 - 01:05 PM
can you make it a single player with npcs !!
KaoS #13
Posted 03 May 2013 - 04:07 PM
Great looking game Pixel, unfortunitely I'm not much of a CC multiplayer guy, wish I could try it out
TeaPartyIdiot #14
Posted 05 May 2013 - 03:04 PM
Is this compatible with basic (non-color) terminals?
PixelToast #15
Posted 05 May 2013 - 10:24 PM
Is this compatible with basic (non-color) terminals?
no, if you want you can run this a the top:

term.setBackgroundColor=function() end
term.setTextColor=function() end
wouldnt error, but you wont be able to tell background lines from foreground
i would suggest you invest in some gold :P/>
ETHANATOR360 #16
Posted 06 May 2013 - 10:17 PM
cool looking game like the hacking :P/>
Geforce Fan #17
Posted 16 July 2013 - 05:32 PM
Lol I remember playing this with you on Wired's and then I won by trapping you and you raged and killed me :3
lol I was having a lot of beginner's luck on that
HaloWarZone #18
Posted 22 July 2013 - 04:37 PM
this looks cool great good so far
Thib0704 #19
Posted 24 July 2013 - 06:21 PM
This is AMAZING, I love it !!
reububble #20
Posted 04 August 2013 - 08:21 AM
I was going to create this about the same time it was posted, glad I didn't try because it's already here.

Is it a good idea for someone to please create a recording of how this works for advertisement sake?
I don't feel compelled to check it out unless I see it's good…
Please? :D/>
TheOddByte #21
Posted 08 August 2013 - 12:44 PM
@reububble
I can guarantee that you'll like it! ;)/>
I really like it since it's a very well made and fun game :D/>
UMayBleed #22
Posted 08 August 2013 - 03:17 PM
This is totally off topic, But who the heck is Cloudy? I see so much about "Save his daughter!" but exactly who is this guy, what makes him important?
TheOddByte #23
Posted 08 August 2013 - 05:24 PM
This is totally off topic, But who the heck is Cloudy? I see so much about "Save his daughter!" but exactly who is this guy, what makes him important?
He is one of the awesome administrators on this forum! :D/>
But don't know why you decided to ask that here.. .-.
You could just have searched for him and looked at his profile to see some information about him instead of not posting something useful for this topic like saying how great this is or reporting some kind of bug.
LDDestroier #24
Posted 27 April 2015 - 01:26 PM
Please please update Tron! It's so popular already, I can already imagine how cool it would be if it supported four players, had configurable everything, had multiple servers that talk over different modem channels, and ran much faster!

EDIT: I made a much better version of TRON anyway, although it doesn't support four players. It does have prettier graphics, runs nicer, and plays over skynet natively.

http://www.computercraft.info/forums2/index.php?/topic/29748-tron-lightcycle-game-multiplayer-http-via-skynet/

After four years, man I don't like how needy I sounded. Makes me want to go throughout all my old posts and strikethrough them all.
Edited on 24 March 2019 - 03:10 AM