Dev Blog- Colonial Sea Trader- Goods now working again!

I’ve been working at it for a while, and now I can say that my goods system is working reasonably well, although I still have a few parts that I need to test out! I’m content with it for now, however.

I’m still working on my missions upgrades. Now that I can load and unload cargo using a simplified system, it is much easier to work on figuring out exactly what it is that I need to do to improve the current system. Bit by bit it is coming together. So far right now I am able to create a mission, and while I’m still working out a few details, it is starting to come together.

My goal for next week is to finish at least one of the types of missions, and hopefully start working on some of the other types!

If you haven’t yet, feel free to like me on Facebook, join my Google Group, subscribe to my Sub Reddit, or follow me on Twitter, where you are likely to get frequent updates! You can also subscribe to the Old Ham Media YouTube Channel, where I post frequent videos showing the progress of gameplay and more! Finally, follow me on Twitch, and help me develop games!

Dev Blog- Colonial Sea Trader- Finished Cargo Hold updates, working on loading/ unloading dialog

I’ve been fairly productive this week, finishing my cargo hold updates. It’s not the most visible of updates, but it is required, and it is working now.

The biggest thing that I am working at the moment is getting the buying/ selling to work with the hold updates. This is requiring a  bit of a change of the dialog, which is what I am working on at the moment. Once this is done, the game should be playable again. And then finishing up the missions updates should be fairly easy, and I can get back to adding new features instead of just updating them.

If you haven’t yet, feel free to like me on Facebook, join my Google Group, subscribe to my Sub Reddit, or follow me on Twitter, where you are likely to get frequent updates! You can also subscribe to the Old Ham Media YouTube Channel, where I post frequent videos showing the progress of gameplay and more! Finally, follow me on Twitch, and help me develop games!

Dev Blog- Sea Trading Game- Refactoring Hold/ Cargo addition

While going through the Mission improvements I’ve previously mentioned, I found that my cargo hold just wasn’t cutting it. The system was very complex, has had frequent problems in development, and overall has just been causing me some headaches.

While pondering on this, I realized that I could improve the system given what I know now. I have decided to go ahead and do it. The result so far is looking much better so far, although it still needs quite a bit of work. Thus far I’ve managed to save a bunch of memory, make the processing and use much simpler, remove dead code, and overall improve the system considerably!

While I’m going through this, I’ve been adding unit tests to make sure that I get it right. While I have done some unit testing, I haven’t done enough of it, and I always remember when I do this that it starts to improve.

The bottom line is, the mission updates can’t really work until I finish the hold updates. When the hold updates are finished, however, everything should work much smoother, and overall just be better.

I’m hoping to have these updates done by the end of the year. My available time to work on this has been going up recently, and I expect to make good progress!

If you haven’t yet, feel free to like me on Facebook, join my Google Group, subscribe to my Sub Reddit, or follow me on Twitter, where you are likely to get frequent updates! You can also subscribe to the Old Ham Media YouTube Channel, where I post frequent videos showing the progress of gameplay and more! Finally, follow me on Twitch, and help me develop games!

Dev Blog- Colonial Sea Trader- Partial Mission Integration!

I’ve been able to put a fair bit of effort in to Colonial Sea Trader this week, and I’m making some really good progress on getting the missions integrated. It doesn’t show as much in terms of visuals, but I am definitely making progress!

The main thing that I’m starting to work on is actual integration of the new mission system. I haven’t removed the old one yet, but I am slowly demonstrating the shadow functionality of the new mission functions. So far I am able to create a mission, and have started the code to destroy a mission when it expires. So far most of that is working, except for a bit of code that I can’t really add in to place until I completely remove the old mission style, which I’m not ready to do yet. Still, I’m content for now!

One of the things that I have done is to organize the localization code a bit better so the lua code can use the localization text. It is working, as is evident by the test mission code I’ve executed thus far!

I’m hoping to continue to get the missions working. As things are definitely loading from the mission definition file, I’m hoping I can finish the first mission code, and start getting the rest of the code integrated. I’m hoping by the end of the year I’ll have all of the missions fully integrated!

If you haven’t yet, feel free to like me on Facebook, join my Google Group, subscribe to my Sub Reddit, or follow me on Twitter, where you are likely to get frequent updates! You can also subscribe to the Old Ham Media YouTube Channel, where I post frequent videos showing the progress of gameplay and more! Finally, follow me on Twitch, and help me develop games!

Dev Blog- Colonial Sea Trader- Mission Prototypes!

The more I look at extending missions, the more I am coming to realize that there’s a lot of key features that I’ve been missing from missions all along. It’s long been on my todo list to do an overhaul of the missions system completely, and I’m now going to take that on completely, as it was becoming increasingly apparent that I needed to do so before I could properly show the list of missions, among other things.

One of the things that I noticed in particular that I need is the ability to execute functions when I arrive at a particular city, and on a particular day. By so doing, for instance, I can have missions expire, which never was something that I have done before, and other such things. I can also have multiple deliveries required for a mission, should I choose to do so.

What I’ve done this week in particular is to start getting the pattern figured out what kind of data needs to be stored, how to store it, and what kinds of functions I’m going to need. It’s all very much down in the details grunt work, but it’s coming together slowly.

No pictures for the week, again, it’s pretty much heavy in the code. Will see if I can get something for next week.

If you haven’t yet, feel free to like me on Facebook, join my Google Group, subscribe to my Sub Reddit, or follow me on Twitter, where you are likely to get frequent updates! You can also subscribe to the Old Ham Media YouTube Channel, where I post frequent videos showing the progress of gameplay and more! Finally, follow me on Twitch, and help me develop games!

Dev Blog- Colonial Sea Trader- More extensible with Lua

I’ve decided to finally make the plunge into a higher level of modability, and start working with Lua code. This came as a result of my mission XML code, which looks something like this at the moment:

Note that in order to do the math, I have a “mult” section and an “Add” section. It is just too complex. I showed this to a few people, who suggested I work towards adding full scripting support for these variables.

After looking around at the options, I decided to go with Lua for coding support, and specifically MoonSharp. I haven’t done a whole lot yet, but it is coming along. I’ve managed to execute some code, and get it to return the name of a city. I’m still very much trying to decide how to make it work, but it is coming along.

I’ve had this on my todo list for some time. The conditions and tutorial stuff have been something I’ve wanted to have scripting support to enable for a while. I’m going to start with missions, but slowly over time allow for other things to use the Lua scripting, as I will have the base support to allow for it easier.

If you haven’t yet, feel free to like me on Facebook, join my Google Group, subscribe to my Sub Reddit, or follow me on Twitter, where you are likely to get frequent updates! You can also subscribe to the Old Ham Media YouTube Channel, where I post frequent videos showing the progress of gameplay and more! Finally, follow me on Twitch, and help me develop games!

Dev Blog- Colonial Sea Trader- Updated missions

I’ve started to work on the updates to the missions I’ve been hinting at for a while. I can’t believe it’s taken me so long to do in the first place! The current code for missions has a lot of switch/ enum/ hard coded things, that has been something I’ve been trying to remove or simply not do in the first place, yet the missions functionality has been in place for a long time, with little change.

Here’s a brief description of what my plan is for customization for missions.

  • End City- Can specify the city issuing mission, or some kind of criteria for selecting a city.
  • Reward- How much is the reward? May depend on distance and hold type used, and likely the amount of time it took to complete the mission.
  • Completion Criteria- What set of criteria must be done for the mission to be considered a success?
  • Accept Criteria- What criteria must be met to be able to accept the mission? This is beyond having the room to accept the cargo.
  • On Accept Action- What will happen when a mission is accepted (May take people or cargo from a city)
  • On Complete Action- Aside from the reward, what other actions will be done upon completion
  • Failure Criteria- What criteria determines failures?
  • On Failure Action- What will happen upon the failure of a mission?
  • Cargo Size- What size of cargo is required?
  • Label- What is the visible to user label?

I’m still trying to work on exactly what this will end up being, but this should be a decent blueprint.

I’m really hoping to have more time to work on Colonial Sea Trader this week compared to previous weeks. That being the case, I’m quite hopeful I’ll have a working prototype of the new missions function, along with some of the UI changes required to support it. Stay tuned for more!

If you haven’t yet, feel free to like me on Facebook, join my Google Group, subscribe to my Sub Reddit, or follow me on Twitter, where you are likely to get frequent updates! You can also subscribe to the Old Ham Media YouTube Channel, where I post frequent videos showing the progress of gameplay and more! Finally, follow me on Twitch, and help me develop games!

Dev Blog- Colonial Sea Trader- Crew detailed statistics

This week I continued to work on my ship detailed statistics by giving crew statistics.

Some of the key things are the moral, along with the number of days of food, water, and cash that you have on board. I’m not really happy with the layout for this, I’ll have to think over it a bit more as to what I’m actually going to include on the panel. For now it will do, but…

Next up is pretty clearly the mission panel, the only one panel that doesn’t have any information there yet. As previously mentioned, that will take a re-write of the mission system, which I will start to work on soon.

If you haven’t yet, feel free to like me on Facebook, join my Google Group, subscribe to my Sub Reddit, or follow me on Twitter, where you are likely to get frequent updates! You can also subscribe to the Old Ham Media YouTube Channel, where I post frequent videos showing the progress of gameplay and more! Finally, follow me on Twitch, and help me develop games!

Dev Blog- Colonial Sea Trader- Defining missions

One of the things that has been on my list of planning improvements for a while is the missions system. Right now the system I have is very much tossed together, including stuff like hard coded mission types, no conditions upon which a contract is cancelled, etc.

As mentioned last week, I’m working on giving a status of the ship. The next thing after goods on my list was to show the missions in progress. That actually is proving more difficult than I would have suspected, primarily because I’m wanting to include different kinds of mission parameters that I actually don’t show in the dialog. So I’ve decided that I’m going to work on revamping the mission system.

The mission system will most likely have conditions for on success, on failure, and on accept changes that can happen. I have an existing conditions system which I believe I can adapt to working with this new system.

I hope to start working on this new system in earnest over the next few weeks. Hopefully I will have something nice to show by the time this is all done!

If you haven’t yet, feel free to like me on Facebook, join my Google Group, subscribe to my Sub Reddit, or follow me on Twitter, where you are likely to get frequent updates! You can also subscribe to the Old Ham Media YouTube Channel, where I post frequent videos showing the progress of gameplay and more! Finally, follow me on Twitch, and help me develop games!

Dev Blog- Colonial Sea Trader- Perspective view!

There is one major thing that I accomplished this week. I’ve been at it for a while, and finally, I present to you, perspective view!

The most difficult part of this was getting the minimap to look correct, which involved considerable rewriting of code.

The astute among you might also notice a new button on the lower left. I’ll leave the exact purpose of this button a mystery, but it will be the major project for the next week at least that I’m working on.

Not a lot else to really give you for now. Stay tuned next week for more!

If you haven’t yet, feel free to like me on Facebook, join my Google Group, subscribe to my Sub Reddit, or follow me on Twitter, where you are likely to get frequent updates! You can also subscribe to the Old Ham Media YouTube Channel, where I post frequent videos showing the progress of gameplay and more! Finally, follow me on Twitch, and help me develop games!