It was nice that we had a long Memorial Day weekend but that just means that I have to fill my hours in the remaining four work days. Therefore I've been generally exhausted from long days in the office and the stress for my company's pending E3 announcements. While I'm not high enough on the totem pole to really feel the heat, the tension is high all around. I expect to have little output until the weekend, but I thought it was best to give a little info.
But besides making excuses, I did manage to get around to playing with my own local Perforce Server. It's something I've been meaning to learn to do for a while and it's not as terribly difficult as I once thought it would be. For those who work on projects, especially group projects, a type of version control system is a must for keeping you material backed up as well as readily available to team members. The magic is that I can review changes between files over time and backtrack as necessary in case of bugs or other issues that occur. Perforce also allows you to organize your changes before you save them onto your server and provide all sorts of labels and additional information. While it may sound like overkill, it is really worth learning how to use and is an invaluable tool. Using my personal server will give me a bit more control over the service and still allow outside users access. When/If I get a team going on this, everything will be ready to go full throttle.
Sorry if this post became a bit too tech focused or sounding like an ad pitch, but I felt it was at least valuable to share.
Showing posts with label Code. Show all posts
Showing posts with label Code. Show all posts
Wednesday, May 30, 2012
Thursday, March 1, 2012
Drag Drop Interface Progress
I've been in a slump the past few days but after figuratively slapping my self a bit today I managed to pull through the majority of the Drag Drop Interface code. I am quite please with the current results as you can see in the images below.



As you can see from the images I can set separate groupings of what I refer to keys and locks combinations. The locks associated with the currently dragged key make their presence known to the user and change color when it is the key collides with its closest lock.
My crazy theory more or less worked and I got nearly all the features I desired implemented with a working inheritance model so I can customize the drag drop objects and use specialized functions to do just about anything I could want when they would normally trigger.
While the images above is a test using simple geometry, I should be able to stick all the buttons and interfaces I want into the key instances that are dragged by the player. I will need to re-code the current relationships between the button interface and this new drag drop interface. Hopefully this goes smoothly, but I'm backing up all my code incase something explodes.
Sorry for delays in alpha updates, but time and will power have been in short supply. Hopefully this bit of progress pushes things further.
As you can see from the images I can set separate groupings of what I refer to keys and locks combinations. The locks associated with the currently dragged key make their presence known to the user and change color when it is the key collides with its closest lock.
My crazy theory more or less worked and I got nearly all the features I desired implemented with a working inheritance model so I can customize the drag drop objects and use specialized functions to do just about anything I could want when they would normally trigger.
While the images above is a test using simple geometry, I should be able to stick all the buttons and interfaces I want into the key instances that are dragged by the player. I will need to re-code the current relationships between the button interface and this new drag drop interface. Hopefully this goes smoothly, but I'm backing up all my code incase something explodes.
Sorry for delays in alpha updates, but time and will power have been in short supply. Hopefully this bit of progress pushes things further.
Friday, September 2, 2011
Building Interfaces 2
I've been working intensely on figuring out the interfaces for the game. I've gotten to the point where I can go from the main menu through to the character creation, the cow selection, and prologue info all the way to the farm screen. Mind you that most of those are place holders at the moment, but they are all set to go with the addition of some actual content.
The majority of the time I've spent on getting the farm screen and interface going. I've gotten the basic layout set up, but need to get the functionality in. So far drag and drop icons are all working and fitting into the correct slots. The current issue is building the back end that reads and writes information based on those icons positions. Almost done with that but its still a bit of a head ache.
After this is working I'll add a few activities and see if I can get cows to actually perform them using the drag and drop interface. After that is items and stores and maybe alpha testing. Maybe.
In-case you haven't tired of my code talk, I've also hacked together a quick c++ console program that stitches multiple xml files into a single xml. This way I can create folder hierarchies with grouped sets of events so I don't waste time searching one giant list of events for any particular thing. This should help a ton as I'm expecting to write hundreds of independent xml objects. This should also help when people are creating their own events as they can work in files separate from the core xml.
Things are looking good, but another weekend of full time work is going to drain me, so hopefully I'll find the time (and energy) to get some more coding in.
Also check out the other people's games I've listed on the side here, as many of them are updating like mad.
The majority of the time I've spent on getting the farm screen and interface going. I've gotten the basic layout set up, but need to get the functionality in. So far drag and drop icons are all working and fitting into the correct slots. The current issue is building the back end that reads and writes information based on those icons positions. Almost done with that but its still a bit of a head ache.
After this is working I'll add a few activities and see if I can get cows to actually perform them using the drag and drop interface. After that is items and stores and maybe alpha testing. Maybe.
In-case you haven't tired of my code talk, I've also hacked together a quick c++ console program that stitches multiple xml files into a single xml. This way I can create folder hierarchies with grouped sets of events so I don't waste time searching one giant list of events for any particular thing. This should help a ton as I'm expecting to write hundreds of independent xml objects. This should also help when people are creating their own events as they can work in files separate from the core xml.
Things are looking good, but another weekend of full time work is going to drain me, so hopefully I'll find the time (and energy) to get some more coding in.
Also check out the other people's games I've listed on the side here, as many of them are updating like mad.
Sunday, August 28, 2011
Building Interfaces
Hey peoples, I've been pretty busy with a part time job this weekend, but I wanted to share with the progress I've made thus far. Much of the back end is done especially the text parser and the event system I've implemented. The other parts will be implemented as their needs arise.
The focus these past few days has been creating the interfaces in which the game will be played in. Essentially, these are the screens in which all the action will happen in. I'm not quite sure if I'm using the most efficient setup, but I have movieclip objects for each of those possible screens which a manager will actively toggle and switch between depending on the needs of a particular event. Since I'm using Flash Builder 4.5 to develop this game, I'm now able to import graphics and objects I make directly into the project. This is great as the Debugger can recognize these and actually provide useful information instead of just telling me I borked it. Soon I'll have a small portion of the game flow working, such as player creation and limited options for cow girl activities. Will probably quite a few weeks more before I being asking for alpha testers to get in on this.
As far as the idea front, I'm drawing blanks. Just been so busy with other stuff that all I can do is aim for getting this game working. There have been some more good ideas discussed in the forums and I'll be digging through some of those when I get my head a bit more clear.

The focus these past few days has been creating the interfaces in which the game will be played in. Essentially, these are the screens in which all the action will happen in. I'm not quite sure if I'm using the most efficient setup, but I have movieclip objects for each of those possible screens which a manager will actively toggle and switch between depending on the needs of a particular event. Since I'm using Flash Builder 4.5 to develop this game, I'm now able to import graphics and objects I make directly into the project. This is great as the Debugger can recognize these and actually provide useful information instead of just telling me I borked it. Soon I'll have a small portion of the game flow working, such as player creation and limited options for cow girl activities. Will probably quite a few weeks more before I being asking for alpha testers to get in on this.
As far as the idea front, I'm drawing blanks. Just been so busy with other stuff that all I can do is aim for getting this game working. There have been some more good ideas discussed in the forums and I'll be digging through some of those when I get my head a bit more clear.
Sunday, August 21, 2011
Text Parser Progress and Story Ideas
I finally got around to hammer out some more code today. I think I figured out the Regular Expression stuff so it should be a bit easier writing the next bit of my text parser. So far my parser can read in specific functions with custom arguments in the XML files that will automatically grab relevant information from the game. This is a vital piece for my conditional logic for sorting events that can be activated at any one moment.
Pretty awesome, but its only 1/3 of a single function. Progress is progress though.
In non-code news, I've been thinking about the back story for the game while riding the train. In a forum thread I mentioned that I wanted to put the setting in an ambiguous modern day rural area. The kinda setting you get from My Neighbor Totoro. A place seemingly behind the times due to its rural nature and where strange magical things can happen.
As for the reason for cow girls, I was toying with the idea of a human breast milk craze becoming the natural order in this world, effectively replacing regular dairy over the span of a decade or so. To fill this demand, an ultra corporation effectively gets indentured servitude legalized for gathering "employees" that work full time as human cows. Something mysterious happens and the ultra corporation collapses completely creating a void for the supply of milk and leaves the twisted laws behind. Therefore "organic" farms pop up everywhere trying to fill in the supply while taking advantage of the new slog of workers that either sell themselves or are forced by debt.
Kind of a twisted situation to not have to call the cows slaves, but "indentured servants." I'll take any constructive criticism for this idea and try to improve on it.
Finally, I was thinking that it would be great as part of the player's origin to start with a default cow girl of their choosing which would set the initial theme of the game. The first character I've imagined is Matty, a young, cheerful girl that grew up in the nearby town. She always had a love for the farm life and repeatedly visited the farm you currently use before it was converted from using regular dairy cows. She has a fascination with cows and wants to try and become one herself with your help. The only thing is, that she has hardly anything to work with, being a tiny thing with no curves to speak of or any practical farm hand knowledge despite her love of farms. She offers herself to be your indentured servant with the potential to be a great cow girl for your farm.
More ideas to come.

Pic by Katou Hayabusa
Pretty awesome, but its only 1/3 of a single function. Progress is progress though.
In non-code news, I've been thinking about the back story for the game while riding the train. In a forum thread I mentioned that I wanted to put the setting in an ambiguous modern day rural area. The kinda setting you get from My Neighbor Totoro. A place seemingly behind the times due to its rural nature and where strange magical things can happen.
As for the reason for cow girls, I was toying with the idea of a human breast milk craze becoming the natural order in this world, effectively replacing regular dairy over the span of a decade or so. To fill this demand, an ultra corporation effectively gets indentured servitude legalized for gathering "employees" that work full time as human cows. Something mysterious happens and the ultra corporation collapses completely creating a void for the supply of milk and leaves the twisted laws behind. Therefore "organic" farms pop up everywhere trying to fill in the supply while taking advantage of the new slog of workers that either sell themselves or are forced by debt.
Kind of a twisted situation to not have to call the cows slaves, but "indentured servants." I'll take any constructive criticism for this idea and try to improve on it.
Finally, I was thinking that it would be great as part of the player's origin to start with a default cow girl of their choosing which would set the initial theme of the game. The first character I've imagined is Matty, a young, cheerful girl that grew up in the nearby town. She always had a love for the farm life and repeatedly visited the farm you currently use before it was converted from using regular dairy cows. She has a fascination with cows and wants to try and become one herself with your help. The only thing is, that she has hardly anything to work with, being a tiny thing with no curves to speak of or any practical farm hand knowledge despite her love of farms. She offers herself to be your indentured servant with the potential to be a great cow girl for your farm.
More ideas to come.
Pic by Katou Hayabusa
Labels:
Code,
Cow Girl Farmer,
Game,
Image,
Matty,
Progress,
Setting,
Story Ideas,
XML
Subscribe to:
Posts (Atom)