August 25, 2008
(Historic Post: August 25th 2008)
Over the weekend some extensive testing was done on the network and the next step towards multi-player game was to create the connection list and move some of the connection things to a different place.Â The current goals for the week is to get an entry into the multiplayer race state where people can move their cars around.Â This will not include any type of collision, but should include the ability for the host to supply all the clients with the track so that custom track sharing is supported from the start of this process.Â Once all the clients have the track the game should start the race, possibly getting the 3… 2… 1… countdown to start displaying correctly.Â Also once that is done it will be required to balance the faked physics temporarily, this will be done by slowing down the current acceleration rates and turning rates and also making the generator slower and the engine turbo use more power from the battery.Â This needs to be tweaked toÂ make it actually fun to go around the track although the current physics will be rewritten in time since there is no collisions, and it is totally 100% faked…Â The car is in space, although there is friction with the ground….
August 20, 2008
(Historic Post: August 20th 2008)
Well, progress has leaped forward over the last week.Â I actually didn’t do too much development wise, as I have been racing Live For Speed (LFS) far more often than developing RacerX, however that may soon start to change.Â Going back and looking at some of this code is quite confusing to me, but it also reminds me where my old coding standards were, high.Â I used to comment about everything, which is very helpful in continuing the development about a year later.Â Last night I added a small configuration file for the user to use for their name and such – currently it doesn’t save anything however it does load a user-name and uses it.Â Which eliminates the need to go into the options to type a new user-name each time.Â Last night also made a gigantic climb with the proof that the voice-over-net system is coming together.Â Karel and I had an extended conversation back and forth for quite some time.Â It was due to the TCP connection disconnecting that theÂ sound stopped transmitting before, and also even on TCP connection I did hear Karel last night, however very quite, very brief and not anything spectacular until I changed the voice-over-net to utilize the UDP connection instead of the TCP connection, however I will keep my eye on it.Â I am starting to trust UDP a bit more as the quality was quite well.
Still a few small issues with the sound though, small sounds may be getting cut off at the end of the sound / not sent altogether or even some long sounds can get cut of at the ends, however Karel mentioned that this could be caused by himself since he is not quite use to using a Push-to-Talk key.Â Maybe in the future open microphone support could be added, although that could get quite interesting.Â The current plans are to keep going on the networking base and such.Â At the moment there are some issues with disconnecting a server once a client has connected to it, also there are some issues with disconnecting in the first place, a disconnection should bring the user back to the Multiplayer Setup state, where they have the option of reconnecting and such.Â The ability to see a connection list is crucial, as well as the ability to see from whom sound data is being received from.Â When the Multiplayer Lobby state has the abilities to safely disconnect,Â show an accurate connection list, chat, voice chat and can handle re-connecting/disconnecting then the focus will become to create the Multiplayer Game state, where the players will simply be placed on a track and hopefully accurately move around, however that is some time from now so development on the connection list and other connection issues must be resolved first.
August 13, 2008
(Historic Post: August 13th 2008)
Well, after nearly a year break it is time to start working on the old RacerX project again.Â Last night, August 12th 2008, Karel and I successfully got RacerX to connect, VPN to connect and use SVN to allow him to become an official RacerX tester, and also transmitted voice over the internet using RacerX.Â The current plans are to sort out some other small issues and get more logging information going as well as the user config file which is highly needed.Â A small console system may prove useful for testing and such although at the moment we will live without it.Â User config will grow over time but currently it will store the last connected IP, the users name – which also needs to be increased as I noticed I can’t even use blackbird.Â Eventually I may make a user-name and player-name for the players so that the user-name can never change yet the player-name can.Â This won’t be for quite some time as I would need a database, and other things for eachÂ useÂ and this will only happen if the project is to go somewhere.
As of nowÂ there are no plans to keep it strictly the Arcade style combat racer that it was once designed to be.Â Currently the original RacerX code base will serve as the starting point for testing network programming, both voice and text chat, and moving the “tanks” around.Â A rudimentary collision system will be added and tested over the internet to see how the game will withstand.Â Once the project is working over the internet I will make a decision whether or not to keep the original RacerX idea and keep small RC cars in mind as a combat racer, however other thoughts have developed into a more simulation like environment going for realistic physics over anything else.
July 19, 2007
(Historic Post: July 19th 2007)
A long time it has beenÂ since the beginning of this project, and I foresee a long time into the
development of the project.Â I am starting to have some issues with theÂ frame rate.Â It is incredibly slow, and shouldn’t be.Â I am in theÂ process of re-organizing some of the code which is going to be anotherÂ long boring tedious process that is going to drop my morale, actuallyÂ it already has and I haven’t started yet.Â Though when it is done theÂ project should run at a better rate of speed.Â I haven’t done much workÂ on the actual project since the last time I wrote, because ofÂ procrastination, but hopefully soon I will get things working.Â My mainÂ goal is to have the game in a playable state by mid August.
AÂ playable state means you can choose tracks, the race setup menu isÂ fully functional and the racing is functional – Laps are counted, LapÂ times are tracked, Checking Positions Work, and everything except forÂ the weapons…Â Currently those are still on hold.Â But Quick-Race andÂ Multiplayer races should be able to be played before the game is deemedÂ playable.Â I need to get new screenshots up as well since I walls andÂ trees added to a track make the track more interesting.
Once theÂ game is in a playable state, I am going to start working on the physicsÂ systems, which basically means working on the collisions.Â So that whenÂ your car hits a tree it will go flying into the spinning frenzy…Â AndÂ the other collisions that need to work to make the game moreÂ interesting…
July 7, 2007
(Historic Post: JulyÂ 7th 2007)
Well this time it hasn’t been so long since the update.Â But I have aÂ special surprise that all will love: The artificial drivers go aroundÂ the track!Â Woohoo!Â Before you get too excited, they are really slow,
and no competition to a human player, but the point is they driveÂ around and around…Â (There are some small bugs in the track that canÂ cause them to have issues, but on the standard circular track they areÂ good).Â And the bug is known for the reason they can get stuck on theÂ other tracks, in the process of fixing it…Â So I will update againÂ later when other things have changed…
July 4, 2007
(Historic Post: JulyÂ 4th 2007)
Well I have been doing ALOT of work on RacerX and somethings have beenÂ added, well, are in the process of being added.Â Since the game is aÂ combat-racer I decided to make a voice-chatting system since peopleÂ won’t want to stop racing to type a message.Â I can currently recordÂ the sounds.Â I can also play sounds, which was a first for the projectÂ and this includes streaming sounds.Â (For the technically inclined thisÂ simply means I am using minimal memory to play the sound).Â To completeÂ the voice-chatting system I need to send the recorded data to the otherÂ players, and make the system be able to deal with lag and other hiccupsÂ as the data is received…Â The only reason I put this on hold is dueÂ to my inability to test this on a network as it will have newÂ challenges, and they need to be tested…
I have also beenÂ working on the artificial intelligence lately, as I have stated I wasÂ going to.Â Currently I have no noticeable progress but the track hasÂ nodes for the AI to follow.Â These nodes basically store informationÂ for each of the computer drivers to know where the road is, so theyÂ know where to drive.Â Hopefully by the end of the week I will have theÂ cars driving around the track (slowly, and colliding through each otherÂ since there is no collision right now).Â So that is my current plan;
get the AI moving!
A few other additions that I need to addÂ would consist of saving and loading the walls and trees that you canÂ add in the LevelEditor, working on the finishing the voice-chattingÂ system, and making the multiplayer lobby allow the players to setupÂ their cars, (as well as letting the host change tracks).Â Some moreÂ information can be displayed to the HeadsUpDisplay as I now have theÂ battery gauge working…Â That added a boost of excitement, even if itÂ isn’t quite functional yet… hmm.Â Also some more support isÂ required – keep my attention on the game!Â Maybe I will actuallyÂ complete this one, which would be a great accomplishment since no-oneÂ is helping me on it…
May 13, 2007
(Historic Post: MayÂ 13th 2007)
Well been a long time since my last update, and there really isn’t much to show so there are no new screen shots, and the list of things that have been done since Update 4 is very small.Â Well actually I have been doing a lot, its just nothing that you can directly see the change.Â I have been working really hard on the networking side of things and have the ability for clients to connect to the server, and chat with one another.Â (Techies: This was done by creating a safe layer over the UDP protocol and it seems to be working as planned once the minor bugs were fixed).Â The majority of my progress was made with how the track stores the trees and objects, as well as each tile can be programmed separately now which was a time consuming process, but will result in more flexibility down the road.
I am putting the multiplayer work on hold until I can finish up the single player RaceSetup and Result screens.Â For now I am focusing mostly on my level editor as it can still not place trees or walls.Â When the level editor can handle that I will be hard at work on some artificial intelligence for some computer opponents.Â That will require a lot of work that won’t be seen for a long time to come as well since I need to structure the track in a way that the AI Drivers can use it efficiently and smartly.Â Still a lot of work but its been fun.
April 21, 2007
(Historic Post: April 21th 2007)
For those following the RacerX projectÂ I’m just updating you on the progress that has not been achieved lately, I’ve been busy with those interviews.Â I have started working on some networking in the project.Â And I believe I have support for sending UDP packets safely.Â (Sorry for those non-techies reading).Â But it simply means I can send information faster and safer over the network.Â The project already saw its first over the internet tests, and it seems it has worked; so the light is green for continuing the multiplayer support!Â Woohoo!Â Okay, hopefully I’ll be able to work on it tomorrow and Monday and get the multiplayer lobby going.Â Basically this will allow each player to setup their car, the host will be able to choose a track, and the other players will click accept or ready when they are ready to race.Â When all the players are ready to race the host will be able to click race.Â (I am not allowing the project to go into a Racing mode yet),Â just chatting in the lobby for now.Â I guess I will keep you updated later during “RacerX Update 5” so stay tuned.Â Other plans for the near future of the project include: Adding the Car Shop, and ability to choose a track in the Race Setup.Â (Choosing the track requires a little more work on the Level Editor).Â Sorry, no screenshots at this time, nothing viewable has been changed : (
April 14, 2007
(Historic Post: April 14th 2007)
Well its been a while since I have been working on my project.Â But I have some surprises for everyone who is interested.Â TREES!Â Wow, the possibility of making the world feel more three-dimensional.Â Currently the car cannot collide with the trees so instead you fly right through them but the visual effect was worth the effort.Â Since the trees are transparent they need to be drawn to the screen in a special way.Â Basically needing to be drawn last and in a special order from farthest away from the camera to the nearest.Â So I needed to write a function to sort the list of trees.Â I decided to use MergeSort since it is faster then QuickSort on the worst case, and uses less memory.Â Though this proved troublesome.Â Miguel De La Cruz helped me for the last couple of hours debugging the code, reading it carefully and finally I found that I wasn’t adding the trees to the end of the list; instead I was adding them to the beginning of the list…Â So thatÂ was the bug for the day and trees are now on the screen.Â I plan to work a little more on the interface and possibly networking or physics code shortly.
April 11, 2007
(Historic Post: April 11th 2007)
Well I updated some screenshots of the RacerX project.Â I now have acouple of in game shots.Â The first one the car just started moving across the finish line and the second one the car is drifting around the corner.Â Of course these screen shots don’t show the full effect of the car moving but I wanted everyone to know.Â There is also a screenshot of the current RaceSetup page.Â Obviously using place-holder art for temporary purposes but the functionality all works.Â From the top to the bottom you will be able to select you engine, tires, suspension, weapon, battery and generator for your car.Â Soon I will make it show the actual parts and with a little more code the ability to use only parts that are unlocked should be implemented.Â The next thing I am working on is the ability to add trees to the level and then walls.Â Both of these items will not be collidable at first but the effect of them in the game will make more immersive.