So little time!

Published October 20, 2006
Advertisement
I'm just baffled by how cramped my schedule is! Assignments, studying, midterms, gamedev club, Skirmish Online, miniscule social life, and so on. But irregardless, Skirmish presses ever-forward.

It's worth mentioning that I'm again switching sources, to my in-progress C++ rewrite. The old Delphi version is just too marred to continue development with, and although this less-developed version is obviously not as far along, it will serve the best in the longrun. So please bear with my somewhat repetitious development, even though it won't be developed the exact same way the Delphi version was.

For those of you who haven't been following Skirmish's progress from the begining and wonder what I mean by 'Delphi version' and 'C++ version': the development for Skirmish began in January 2006 using the Delphi programming language. Things fared well for 5 months, but the source gradually got uglier and less efficient. So I began a rewrite in C++ in late July 2006, which proved a little more challenging, but had greater longterm benefits. In frusteration of being set back to far, I claimed to have switched back to the Delphi version, but now I've settled once more on the C++ flavour. It's a pain to re-develop, but it's the best way to go.


Today's development saw:


  • Ping updates now function properly. You can see your own ping, and everyone else's, updated by the host on a 5-second interval.
  • Movement prediction improved. Previously I was predicting player rotation too, which apparently was a cause for a lot of inaccuracy, and 'jerkiness'. By having rotations occur instantaneously, it looks a little more non-smooth, but results in more accurate player prediction.
  • Stripped out a half-baked "multiple camera" system. Just not needed.
  • Word-wrap was a little much for today's session, so I implemented a hastier 'character-wrap' which only wraps to the character, not the word. It's good enough, so as to prevent longer messages from going off the screen.
  • Map drawing is now highly optimized. On my compuer the framerate lept from ~130 or so to ~400. I'm still seeing what increases other testers are experiencing. Was just a case of reducing the number of batches being rendered.
  • Fixed a run-away reference to MSVCR80.DLL that was preventing some testers from playing. (I'm using MSVC71, hence the annoyance :P)
  • Capped minimum player speed. Firstly, this fixes the problem I was having with players appearing to 'jitter' on the spot -- due to rounding -- but it also enabled me to optimize network "player-movement" packets so that non-moving players save a whopping 12 bytes PER movement packet. Woot.
  • Fixed a crashing issue when a player in a certain position in the playerlist left the game. I wasn't removing their Sprite object from the game properly, or somesuch.




(Woot! FrameRate++)


Not major changes, but now the way is paved for the bigger additions of this version, such as the new weapons system. Accompanied by player death and respawn, of course. Things are flying along faster than before, and I'm even working on a smaller timeframe. [smile]
Previous Entry Plugs or drugs?
0 likes 7 comments

Comments

Aardvajk
Do I need an MSN account to play your game? I don't really understand all that. If so, I'll have a look into it.

By the way, cheers for the link to String Theory. Amazing. There goes all my productivity for the rest of the day.
October 21, 2006 05:23 AM
Stompy9999
This is looking really good, as always. Keep it up!

I can only imagine how difficult it is to switch to another language that far in development, and with a game like this. If it is any consolation, I think you're doing a really good job with the switch to C++.
October 21, 2006 08:45 AM
HopeDagger
@Anons: Thanks for the positive words! [smile]

@EasilyConfused: No, you don't NEED an MSN account to play. It's just the medium that I typically use to pull people in for spur-of-the-moment testing sessions. I'll be announcing any major tests on the forum in advance, so it's not a necessity.

@Stompy: Thanks! I always feel guilty for the switch-back-and-forth routine, and wish that I was as iron-decisive as you are with my projects. [smile]
October 21, 2006 10:03 AM
Samsonite
That is awesome. I wonder how you get the time to code during school. I barely get time to visit gamedev(my last year high-school) [grin].

I do get time to play World Of Warcraft though...doh.
October 21, 2006 03:47 PM
Samsonite
That is awesome. I wonder how you get the time to code during school. I barely get time to visit gamedev(my last year high-school) [grin].

I do get time to play World Of Warcrack though...doh.
October 21, 2006 03:47 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement