🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
![Parsing continued once more.](/static/media/user/generic-user.png)
Now that the parsing bits are fairly well defined, I decided on making a semi-sizable test grammar. Now done is the Lexical parts of C# 2.0 (minus a few things like unicode escaping, pre-processor stuff and @keyword identifiers). Works out of the box too. It's pretty slow (~3 seconds for helloworld…
![Parsing baby steps, part deux!](/static/media/user/generic-user.png)
Added escape sequences tonight. Took a little while to figure out how to do them well. Most parsers from what I gather pop tokens from a stream. Escape sequences are fairly straightforward there. If escaping, pop the translated token instead. My setup uses indexes over a common string. Taking the e…
![Parsing baby steps.](/static/media/user/generic-user.png)
Just a few additions so far, as I've been busy:
Simple parsers for EOF, a variable character, a variable string literal.
And a slightly more complex parser designed to vary upon type and parse out a token which can be deserialized into the type.
As such a slightly more complex example:
Simple parsers for EOF, a variable character, a variable string literal.
And a slightly more complex parser designed to vary upon type and parse out a token which can be deserialized into the type.
As such a slightly more complex example:
enum A…
![Fireworks!](/static/media/user/generic-user.png)
4th of July and Independence Day isn't on TV. wtf?
I got out and saw the new Die Hard movie today. It was okay. Worse than the first and third, way better than the second. Too much boom, too little funny. At least the computer stuff was mildly plausible. But then again, after Swordfish even Jurassic…
I got out and saw the new Die Hard movie today. It was okay. Worse than the first and third, way better than the second. Too much boom, too little funny. At least the computer stuff was mildly plausible. But then again, after Swordfish even Jurassic…
![Not game stuff.](/static/media/user/generic-user.png)
Had a nice poker outing tonight. Notable hand of the evening -
5 people left at the table. The opponents, from my left going around: A super tight player, the chip leader (about 1/2 the table's chips), someone who was so drunk that they were refused alcohol, and my arch nemesis; someone who I've go…
5 people left at the table. The opponents, from my left going around: A super tight player, the chip leader (about 1/2 the table's chips), someone who was so drunk that they were refused alcohol, and my arch nemesis; someone who I've go…
![Bug hunt.](/static/media/user/generic-user.png)
That weird threading problem is fixed now. Turned out to be two separate bugs, which is good given the disparate nature of the two sources, even though the problem looked the same.
The chatbox wasn't displaying because it is transferred from the lobby to the main ui in the process that was being sh…
The chatbox wasn't displaying because it is transferred from the lobby to the main ui in the process that was being sh…
![Zzz Zzz](/static/media/user/generic-user.png)
Moe work this evening. Mocked up the UnitSummary UI bits, added some functionality, moved the game ui setup into its own thread and present a nice Loading screen.
Unfortunately, some of the UI bits are... lost somehow when I do things that way. Dunno how to explain it. It's not all of them, just the…
Unfortunately, some of the UI bits are... lost somehow when I do things that way. Dunno how to explain it. It's not all of them, just the…
![Die Die Die!](/static/media/user/generic-user.png)
Hahahah! I (mistakenly) found the bug. I was being bitten by the 'being a listener of an event is sufficient to keep something from being garbage collected' oopsie. Not a few TiedRects were being orphaned by the TableLayouts when re-configured, but were still listening to what they were tied to... …
![Screenshot?!? wtf?](http://members.gamedev.net/Telastyn/Screenshot10mini.png)
My social calendar was free for once this Saturday, allowing some Moe work (after obliterating a guy with 5(!) Scathises). I wanted to do a little more screenshot worthy work, mainly due to journal jealousy [grin]. Unfortunately it was one of those things were you figure it would take maybe 40 mins…
![Moe progress update.](/static/media/user/generic-user.png)
For whatever reason, the threat of financial troubles (or perhaps the frugality that it promotes) provides programming motivation. At work I'm picking up Java for a project and as a general alternative to C++. At first glance it seems to be less good than I expected. I expected C# with some nuances…
![Not much of note.](/static/media/user/generic-user.png)
I added code to the auto-sizing font so that it may now belong to a group. Groups of auto-sizing fonts will use the smallest font of the set. Quite useful for menus and sets of buttons/labels/etc where things look funky if the fonts are different sizes.
Oh, and I ordered a new [a href="http://www.ne…
Oh, and I ordered a new [a href="http://www.ne…
![Sound progress.](/static/media/user/generic-user.png)
I worked a bit on the sound code tonight and earlier in the week. Added a bunch of sound classes which erm... make no sound. Included:
Silence - Takes a TimeSpan, and behaves like a sound object of that length with no actual sound.
Sequence - Takes two sound objects and ensures that they play one…
Silence - Takes a TimeSpan, and behaves like a sound object of that length with no actual sound.
Sequence - Takes two sound objects and ensures that they play one…
![Meh!](/static/media/user/generic-user.png)
It continues to surprise me the lack of time for hobby projects now that I'm working and socially active. I even am pretty lazy about housework and those sort of home ownership projects everyone else seems to do. I have no idea how more normal people stay sane with even less time to relax (due to k…
![Progress!](/static/media/user/generic-user.png)
Mouseover decorator complete, and the little menu bits I wanted to do (provide a 'close if click off menu' mechanism and something which auto-positions a menu so that it doesn't get spawned half off the screen). Took about 3 hours, and would've been much, much faster if I didn't misuse my own inpu…
![Zzz Zzz](/static/media/user/generic-user.png)
Not much progress really as of late. Work is progressing well, social stuffs progressing well, financial stuffs progressing well. I have a quiet weekend this week since my social cohort is out o town. I've no real excuse not to work on moe though I suspect I won't... I would like to though, and as…
![Moe updates.](/static/media/user/generic-user.png)
More moe work this evening. I finally got around to making a widget I've been looking to make for a few iterations to get to. Mainly because it's a pain in the ass. I wanted a decorator which would automatically resize a font to fit the rectangle and text it was given. (optionally within some range…
![Meh. Holidays](/static/media/user/generic-user.png)
I dislike most people. I dislike how much effort I need to spend in not offending them, being cordial, like-able even. Worse yet, I dislike holidays which are not of my religion. It's work enough dealing with people's craziness without adding in faith. Meh. I'm glad it's over.
In better news, I snuc…
In better news, I snuc…
![Ugh](/static/media/user/generic-user.png)
Last night I had free so I was determined to go through and knock up a good looking window widget (border, background, close button, title) for the UI. What did I do? About 6 games of SupCom. Which is odd, since I was kinda tired of the game, and I hate people online (I'd not played online until la…
![Progress Update.](/static/media/user/generic-user.png)
I have a bit of time today before chores call to work on Moe stuffs. So far this morning I've fixed a bug introduced by the aspect ratio change, added elementary theme support, added EndHover, MouseEnter, MouseLeave events and double click support. I also found out that the Hover was broken (since …
![Moe Updates](http://members.gamedev.net/telastyn/Screenshot5.clip.png)
Wednesdays are usually my day off from social activity, leaving me free to enjoy hobby coding. The order for the night was making that TableLayout for my UI (which in turn will be used in Moe). It's designed to do the functionality of TableLayoutPanel in WinForms. It alas took me a little longer th…
![Moe progress update.](/static/media/user/generic-user.png)
Quote: Original post by Telastyn
- Modify colors to act more like resources
Currently it's a pain to set colors of child controls to be that of parent controls (and keep them in synch).
[edit1: Sort of done. Generic manager and color class defined, pre-existing infrastructure changed to use new color …
![Moe update and Amusements.](/static/media/user/generic-user.png)
I have most of the moe updates compiling into the UI demo. Color abstraction is done and workingish. Font info is done and workingish. Resolution abstraction is not quite done. Rather it works for most things except the common aspect ratios... The new tiedrect is done, but broken. I miscoded the r…
![Some random thoughts.](/static/media/user/generic-user.png)
One thing that's been making the journal rounds is this link from HopeDagger's journal. 'tis an article trying to categorize developers. I don't particular agree with it or that it even vaguely represents developers, though perhaps I've just not met too many....
It did though bring up something for …
It did though bring up something for …
![Moe work delayed.](/static/media/user/generic-user.png)
Alas, I have been distracted by the recent free trial of Auto Assault. I did some beta testing on it, so was pretty familiar with things. It's still a fun game, if imbalanced and kinda monotonous. Then again, vehicular destruction never really gets old so not a big deal.
The game though (from what I…
The game though (from what I…
![Damned books.](/static/media/user/generic-user.png)
Guess you learn something every day...
One of the major gripes I hear about C# is being unable to properly overload operators for things. The assignment operator in particular is touchy since that would be the common way to allow your class/struct to interpret other types.
Recently too I've run acros…
One of the major gripes I hear about C# is being unable to properly overload operators for things. The assignment operator in particular is touchy since that would be the common way to allow your class/struct to interpret other types.
Recently too I've run acros…
![Moe plans.](/static/media/user/generic-user.png)
I have the evening free tonight, and after a little poking at XNA over the weekend I kinda got the itch again to work on Moe.
Alas, yet another re-write. I imagine, like all others, less and less will actually be edited. Anyways, I am going to focus on the UI foundation first off. TBSes are UI heavy…
Alas, yet another re-write. I imagine, like all others, less and less will actually be edited. Anyways, I am going to focus on the UI foundation first off. TBSes are UI heavy…
![Well, duh.](/static/media/user/generic-user.png)
Something I realized the other day, which makes perfect sense when phrased in a certain way:
Good programmer or no, it's difficult to implement something when you don't know what it is...
I've been at my current job for about 6 months now. It's my first programming job, and in a pair of industries th…
Good programmer or no, it's difficult to implement something when you don't know what it is...
I've been at my current job for about 6 months now. It's my first programming job, and in a pair of industries th…
![And now, back to your regularly scheduled programm](/static/media/user/generic-user.png)
I wish I could say that I spent the gamedev downtime being super productive and winning the lottery (though I suppose winning the lottery would constitute being super productive...), it's simply not true. Plus it would be out of style.
No, I've merely been trudging through work, futzing with loose h…
No, I've merely been trudging through work, futzing with loose h…
![Vista impressions, day 2.](/static/media/user/generic-user.png)
Sound is working now. Having an actually supported sound card rather than one vista thinks is supported and the manufacturer insists is most definitely not supported helps. So far the sounds seem much more... gentle. I usually turn most of the sounds off, but none of vista's are so grating as to se…
Advertisement
Popular Blogs
Advertisement