Journal of Lacutis

30 comments
32 entries
Advertisement
Lacutis
October 13, 2008
Framework update
I worked on the framework yesterday. I added more to the event and windowing frameworks to pass button presses to windows. If the cursor is visible it passes the button presses to any window and any children components that fall under it.

I gave the button an on click event handler and made it creat…
1,110 views
Lacutis
October 11, 2008
It's been way too long.
I really don't write in this enough. Work keeps me busy and by the time I get home I don't feel like doing much development after doing it all day.

My PSP sparked my interest again recently, so I was looking around on the internet for information on homebrew stuff I came across this:

PGELua PSP Game …
974 views
Lacutis
January 11, 2008
I'm horrible at this
By this I mean blogging.

As you can see by my archive on the right I've been a GDNet+ Member for quite a while, but I don't keep my journal up to date very well.

I really haven't done a ton on the game development front in the last year, I decided early in the year that the TorqueX stuff was still t…
638 views
Lacutis
December 31, 2006
Progress...


It doesn't look like much, but it's actually representative of a lot of work.

I have a mostly working skybox, an object handler class, a model class with working shaders, a base camera object that I still need to work on so that I can manipulate it easier.

I still have a lot to work on, but it feels …
825 views
Lacutis
December 31, 2006
Progress...


It doesn't look like much, but it's actually representative of a lot of work.

I have a mostly working skybox, an object handler class, a model class with working shaders, a base camera object that I still need to work on so that I can manipulate it easier.

I still have a lot to work on, but it feels …
799 views
Lacutis
December 29, 2006
XNA and other Stuff
From around the 20th of this month till around the 3rd is the busiest time for me at work. It's end of year, I have to do upgrades on the HR and Payroll systems for the new years tax tables, there is the year end saves and all kinds of other fun stuff. This year is compacted with the merger which j…
603 views
Lacutis
December 26, 2006
Where the hell have I been?
Well, looking at my last entry, it was in July of last year. You see back in 2003 I moved back to Arizona from Texas and quit my job to be close to my Grandfather. He had Alzheimers and I didn't want my one major regret in life to be that I didn't spend the time that I could have with him before it…
707 views
Lacutis
July 28, 2005
Update? Wow!
Ok, so after I spent a day or so going over the communication protocol I started feeling like I didn't care anymore. That is a sure sign that you are starting to burn out.

I looked at the calendar and realized I have been spending every waking moment outside of work and household chores working on t…
673 views
Lacutis
July 25, 2005
That place.
I'm at that place in my project where you go back over the code you have written and what needs to be written and determine if it will work the way you planned on.

I've written out some stuff on how I need to keep track of what entities to send to clients, what messages need to be replicated to othe…
752 views
Lacutis
July 24, 2005
Mission Accomplished.
Ok, so without further ado, I present, Ship in space:



I now can load torque2d, key in my user/pass, select my character, and hit Enter Game, upon which the server happily tells me to spawn a player ship in the middle of the screen. T2d happily complies.

I only spent about 3-4 hours today working on t…
754 views
Lacutis
July 23, 2005
Hrmm.
I decided to get part of my usual sunday crap done tonight instead, so that I can spend all day sunday working on the game. So I went out buying groceries, etc.

I coded in handling for the new messages on the T2d c++ side. I also coded in part of the player creation bit on the torque script side. Th…
676 views
Lacutis
July 22, 2005
Woohoo.
Ok, so I got the scrolling star background working.

The star background is pretty neat. I took one of the 1600x1200 images from the NASA website sattelite images and cut it up into a few tiles and told Torque2d to wrap it. I'm still playing with the image sizes but it looks pretty good. I'll post so…
522 views
Lacutis
July 22, 2005
...

...

Ok, well I spent most of tonight attempting to cut up large images into tiles so that I can use them as the background for my game. I finally ended up doing it by hand and created the tiles I needed.

So now Ive got the game loading, going through the login process and displaying the game screen with…
300 views
Lacutis
July 21, 2005
Update
Ok, so tonight I worked on the communication protocol between the server and Torque2d.

So far I have made the following message types:

enum EComType
{
COM_NONE = 0,
COM_HELLO,
COM_DISPLAY,
COM_LOGIN,
COM_LOGOUT,
COM_BANNED,
COM_MENU,
COM_CHARLIST,
COM_CREATECHAR,
COM_CHOOSECHAR,
COM_ENTER…
584 views
Lacutis
July 20, 2005
Fun in RL.
I didn't get a ton done tonight. I'm in the process of buying a house, so as soon as I got off work, I had to hurry over to the loan office and sign a ton of papers, then they got to tell me all the papers I forgot to bring and would have to bring them next time. Fun.

So after that I had to go get s…
688 views
Lacutis
July 18, 2005
Ugh.
Ok, I only spent an hour working on it tonight. However I did find the wierd bug I was talking about before and it had to do with the way that I handle the input buffer from the socket.

I have two buffers, one is the "input" buffer, and I use it to do a recv from the socket. The second buffer is use…
573 views
Lacutis
July 18, 2005
Bleh.
Ok, so I didn't get to exactly where I wanted to. I'm having some issues with Torque2d and I needed to step away in order to get a fresh look at what I was doing. So I went to do laundry (wee, fun).

But what I did accomplish this weekend:

I got the server to do non-blocking character input while run…
620 views
Lacutis
July 17, 2005
Hrmm.
I forgot I had volunteered to host a player run magic tournament on mtgo today, so I ended up doing that from noonish till around 10 pm. That killed most of my development time.

I worked on it a little bit after that, but ended up spending three hours chasing down a bizarre bug that I have no idea w…
585 views
Lacutis
July 16, 2005
Whew.
So I didn't get quite where I wanted to be, but I got damn close.

I've got all the code in the server completed up to the point of actual gameplay. I've got all the protocol messages up to there finished as well. I've added callbacks for all of those commands to Torque2D and I've created the callbac…
547 views
Lacutis
July 14, 2005
Whew.
Ok, I'm still on schedule.
Tonight I :

Finished coding the Account class.
I coded the AccountDB class that keeps track of them while the server is running.
I coded the Character class. More will need to be added later, but I got the barebones of whats needed to meet my weekend goal.
I coded the Charact…
560 views
Lacutis
July 13, 2005
Hmm

Hmm

Well, I don't have any nifty pictures to show tonight as most of the work I did is all on the server side in the back end.

I finished coding the game states into the player handler up to the main game handler, which will be completed later.

Then I went and created the Account class, the tables to hol…
559 views
Lacutis
July 13, 2005
More Progress
Ok so I made some progress, just not as much as I hoped.

I made a login screen (go programmer art):


So then you hit the login button:



So tommorow I'll work on the state machine on the server side to properly handle the connection, then once a player is logged on Ill try to upload his entity and get th…
607 views
Lacutis
July 12, 2005
Well, that sucks.
I was planning on putting in the code to pass the login/password data then send the player entity updates to see if I could get the player to spawn on the screen.

I was just about ready to vnc in from work when I got disconnected from my router (ssh). When it came back up I had to wait a few for my …
554 views
Lacutis
July 11, 2005
Progress.
Well, I've got the communication working both ways now.

Server:

E:\Development\Dev-Cpp\Projects\gtwserv>gtwserv
Loading EntityId
MySQLWrap::Connecting.
MySQLWrap::Connected.
MySQLWrap::Opening(SELECT * FROM EntityId WHERE Type = 'Player')
MySQLWrap::Open.
MySQLWrap::Field(0) = Type
MySQLWrap::Field(1) = …
619 views
Lacutis
July 10, 2005
Rock On.
Ok, so I got it working.

My server waits for connection, and when a connection is achieved it creates a "CComHello" object, and pushes it to the other side.



So I have the script in Torque2d doing this:

$TestObj = new NetObj(testobj);
echo("NetObj = " @ $TestObj);
$TestObj.setVariable(42);
echo("N…
760 views
Lacutis
July 10, 2005
Updates..
Well, I had been planning on spending this whole weekend programming, however my aunt came into town on thursday and I ended up doing family activities both thursday evening and friday. So I didn't get done near as much as I wanted.

Today however, I got to work pretty much the whole day.

I had some e…
551 views
Lacutis
July 06, 2005
Two updates in one day...
Things have been pretty boring at work today, so I added in the functionality to return a recordcount as well as to access fields in the active query by name instead of just by number.

Also fixed a little bug I found, and fixed up the main game loop.

I created a singleton class to handle the assignin…
546 views
Lacutis
July 06, 2005
So that wasn't hard.
I was pretty close on how the use of that MySQL wrapper would end up.

So I present, using my wrapper:


DBDef db;

db.m_host = "localhost";
db.m_user = "username";
db.m_pass = "password";
db.m_db = "mydb";

CMySQL Query(db);

Query.SetQuery("SELECT * FROM TEST");

if(Query.IsOpen())
{
584 views
Lacutis
July 06, 2005
Ah yup.
Ok, so apparently I'm a retard.

I dug around on google for about a half hour and dug up a tutorial for mysql. Between that and the example program that actually came with the server it took me about an hour to get the connection up and running.

I'm not sure why I didn't look into mysql before this, i…
587 views
Lacutis
July 05, 2005
Progress
Ok, so after the last post I went and brought over some of the base Entity classes I had created, and ended up changing them some to accomodate the fact that there are no rooms in this game, etc.

After I did that I started to think about the retrival/storage of data and how I was going to handle it…
592 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
9 Followers
15 Entries
10 Followers
johnhattan
Programmer
1,277 Entries
47 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement