Intel sponsors gamedev.net search:   
Metaphorical Journeys of HappenstanceBy Ravuya      
Great Games Experiment

Wednesday, June 25, 2008
I can't believe I didn't implement this earlier, but the serializer can now write serialize nodes to an XML file. And it doesn't do a half-bad job of it, either.

I'm now saving and loading maps from disk, which is awesome.

Comments: 0 - Leave a Comment

Link



Sunday, June 22, 2008
Buttons actually work now. Yeah, that wasn't really worth a week without updates.

Maybe some more this week, depending on stress levels and workload.

Comments: 6 - Leave a Comment

Link



Monday, June 16, 2008
In case you weren't sick of seeing my terrible UI placeholders, here's the UI I just bolted into the editor:
Yeah, that's some classy UI. The red overlap is where the UI frame isn't filled with stuff.

Comments: 0 - Leave a Comment

Link



Sunday, June 15, 2008
In the tradition I seem to be upkeeping, today I participated in a jaunt to the junkyard to pick up chunks of car. It's a lot of fun, and I recommend it to anyone with the slightest technical bent.

When I got home, I got to work on message passing. I've hacked up a very basic, very raunchy event interface that should work with a suitable amount of abstraction; here is a button that makes the game console write "hello world" when you click it.
The UI layout XML looks something like this:
<HudControl identifier="rootPane">
	<HudControl identifier="notRootPane" y="0.0" height="0.5"/>
	<HudControl identifier="bottomBunk" y="1.0" height="0.5">
		<HudControl identifier="innerBunk" x="0.1" y="0.1" height="0.25" width="0.2"/>
		<HudButton identifier="triggerButton" x="0.3" y="0.1" height="0.25" width="0.2" label="Hello World" font="data/fonts/Lucida" onClick="sayHi"/>
	</HudControl>
</HudControl>


Gifted readers will note that this is similar to the XML I posted for the previous example of my program.

In the codebehind you should derive from IEventHandler<HudMessage>, which is more or less the standard event-handling interface for all the Iodine applications from now on. This set of delegation classes has been used all over and it's fairly non-stupid, though I wouldn't count on it excessively. This means you have to implement a method for handling this message...
void MainLayer::OnEventFired(HudMessage hudEvent) {
	if(hudEvent.GetIdentifier() == "sayHi") {
		std::cout << "Hello, world!" << std::endl;
	}
}


The HudMessage class looks sorta like this:
class HudMessage {
//... snip ....
protected:
	std::string identifier;
	std::map<std::string, float> arguments;
	bool handled;
};


So at least there's some potential for arguments. I think this really sucks, though, and will have to find a better way to pass especially non-numeric arguments around (such as keystrikes).

Anyway, more next time once I actually use these buttons to do something!

P.S. Opera 9.5 is a huge pleasant surprise. It's really improved my Mac browsing experience, and just when I thought it couldn't get any better. Kudos to the Opera team for being badass.

Today's Link: Feel it. Smell it. FOOTBALL!

Comments: 0 - Leave a Comment

Link



Friday, June 13, 2008
I'm working on the backend for the GUIs! I swear to the Mord! Please don't take my thumbs. I need them. Need them for GRID.

*sob*

Today's video: Driving a standard, courtesy of Dave's Farm.

Comments: 0 - Leave a Comment

Link



Monday, June 9, 2008
You can also add walls in the editor now. I would've posted about it when I wrote the feature on Thursday, but I was too busy keeping it real, as the kids say these days.

Tonight I'll work a bit on asset management in the editor; loading up fonts for the GUI and providing texture swatches for the user to pick from. This will require some up-front user interface work, so it should result in some pretty impressive screenshots, provided I can get it done.
Car search is also getting more promising. We'll see how it goes.

Comments: 0 - Leave a Comment

Link



Monday, June 2, 2008
So after a bit of fiddling, I implemented the polygon addition mode I wrote about previously. How awesome is that?
It still needs a lot of work (like the interface, the ability to texture, etc), but it's actually not that bad. Very cool.

Comments: 1 - Leave a Comment

Link


So I implemented the ability to add vertices, and also worked out how to make a tool for adding polygons on paper. I'll work some more on this later.

Oh, I also got snap to grid implemented. You like snap to grid, don't you?

Link of the Day: Darque Dungeon. Only some of you will get the musical references. The rest of you have lost out. I guess you could go onto the hosting website, where you could read about the new album, Bitch Go Buy Me A Hot Dog.

Quote:
Tracklist /
Bitch Go Buy Me A Hot Dog (4:18) [clip]
Thanks Bitch This Is Delicious (4:50) [clip]
Intermission (2:18) [clip]
Bitch Go Buy Me A Hot Dog (I'll Be Waiting Here, Doing The Robot) (5:08) [clip]
[clips are +/- 45 second, 128kbps mp3]
This is a concept album. The concept is that I tell a bitch to go buy me a hot dog, and she does. While she is buying me a hot dog, I wait patiently, and do The Robot. I eat the hot dog and it is delicious.


Comments: 0 - Leave a Comment

Link


All times are ET (US)

Most of this crap is copyright 2004-2009 Ravuya.
 
S
M
T
W
T
F
S
3
4
5
6
7
8
10
11
12
14
16
17
18
19
20
21
23
25
26
27
28
29
30

OPTIONS
Track this Journal

 RSS 

ARCHIVES
November, 2009
October, 2009
September, 2009
August, 2009
July, 2009
June, 2009
May, 2009
April, 2009
March, 2009
February, 2009
January, 2009
December, 2008
November, 2008
October, 2008
September, 2008
August, 2008
July, 2008
June, 2008
May, 2008
April, 2008
March, 2008
February, 2008
January, 2008
December, 2007
November, 2007
October, 2007
September, 2007
August, 2007
July, 2007
June, 2007
May, 2007
April, 2007
March, 2007
February, 2007
January, 2007
December, 2006
November, 2006
October, 2006
September, 2006
August, 2006
July, 2006
June, 2006
May, 2006
April, 2006
March, 2006
February, 2006
January, 2006
December, 2005
November, 2005
October, 2005
September, 2005
August, 2005
July, 2005
June, 2005
May, 2005
April, 2005
March, 2005
February, 2005