Hi, as many of my regulars have noticed it has been some time since my last article. I have been doing some soul searching over the last year or so and decided to switch paths to some degree. More than likely I won’t be focusing on programming any longer. Instead I will be spending my energy to build and develop my new website Colbycheeze.com which will be focused on personal growth, productivity, time management, health, and overall happiness.
I want to leave by giving huge thanks to my readers, and have no worries I will continue to leave the website / code up for all to view. In addition I plan on releasing a large part of my unfinished code / projects as open source for anyone to learn / expand upon.
I am also willing to support any guest posts as well, if anyone has a topic they wish to share with my audience. Farewell, and I wish you all a great 2010!
Big update for you guys! Hey I know I’ve been a bit AWOL on posts lately, but recently I just finished a project which I was on a time crunch to get done. Also I had been having issues with ironing out the last of some bugs with my new big library for you guys. It is an AS3 Artificial Intelligence Steering Behaviors library which works with the game structure code I’ve been writing.
Also I’ve made several adds / changes / fixes to the game structure which I’ll list out below. I wanted to write a big article ( or several ) explaining this big AI library and how each thing works, but I didn’t want to keep everyone waiting any longer so I am going to go ahead and release it now and I’ll write up articles about it as time permits. ( which I have more of now )
For those of you who want to dig in and learn it all on your own go ahead, but for everyone else I promise I’ll get some articles up soon explaining the changes and some tutorials on how steering behaviors work and how I’ve designed mine.
Here is a demo app that I created which shows off everything. You can download the source from the google project page. I highly suggest setting up a repository folder on your PC and keep it updated with the current game library folder, as that is the one which I will be submitting updates to. I won’t be updating the various zips any longer. I recommend tortoise SVN.
So anyhow, here is a list of changes to the game structure that I have made so far. Be sure to check back soon for more AI / Game Structure fun!
ENGINE CHANGES:
Added more functionality to the Sound Manager class.
GameFactory is no longer a singleton.
Added creation of gameworld to GameFactory for easy game setup.
Fixed dispose function on Entity.
MovingEntity now restricts its movements to the max speed variable.
MovingEntity has a MaxAcceleration var, which is mainly just for external use.
Added a damping variable to MovingEntity.
Fixed an incorrect math function on Matrix2D.rotateVector()
CreateCallback function added to Root
Updated all classes extending EntityParams with the ability to pass variables in the constructor IE:
new EntityParams( { radius:10, type:”Blob” } );
NOTE: be sure to call super( a_params:Object ) AFTER you set any of your defaults, or anything passed in will be overwritten ( by the defaults )
Added a createCallback function to Root. Quite useful in some cases, check it out.
Cleaned up Root by taking out the FPS calculation. Use a custom FPS class for this now, such as the Urbansquall one which I am using in the Main() class.
- Added astage width/height const to Root for ease of use. Obviously you will have to change it depending on your games size.
Fixed the lineIntersecton function of the Geometry Class. ( Thanks to Ryan from Mochimedia for pointing this out )
Added a “getRandomPolygon” utility function to the Geometry class which returns an array of points based on some parameters
Hey guys, just wanted to say I am still alive. Haven’t been able to finish my latest post yet due to lack of time and some bugs I’m having trouble figuring out. I decided to go ahead and create an SVN for all of the code here, so that everyone who prefers to stay up to date and use that sort of thing can. It is also MUCH easier than updating .zip files, so that is what I will keep most up to date now.
Also for those of you waiting for the next article…be patient, it is a BIG one! I’ve created many Artificial Intelligence behaviors and a great OOP structure to use them, and I’ll be discussing Boids and many of the behaviors in detail. I’ll try to get it finished as soon as possible.
I hope everyone is enjoying their Christmas break!
Last night I was looking on digg and found something hilarious.
Coincidence? Who knows...
Well I haven’t written anything of value in a while due to being super busy ( and gone ) so here is a bit of an update. During half of September and most of October I was in Bridge City, Texas which is a small town that was probably hit the hardest during the hurricane. Only 14 homes in the ENTIRE city were not destroyed by flood. The town has around 4000 homes.
Now that I am back I am working diligently on a new project, which should be done in the latter part of November if I keep on track ( which I am doing ). Also I have some articles planned which you all should look out for.
After getting some messages informing me of why the GPL was the wrong license I looked it over and said to myself, “oops!” I didn’t realize that by using them you would have to keep your project GPL as well.
I have converted all of the files to an MIT license so that you can reuse them in any way that you please. Be sure to visit the google code page to download everything.
So I haven’t really been on the internet recently…somewhat of a leave of absence for the month of July or so. Sorry for anyone trying to access my website while it has been down, however that shouldn’t happen again.
Anyways. I am back to work on Space Crusade and I should be done shortly. No more demo updates until I am done though sorry! Also I have some plans for new articles and videos after I get some work done. Hope everyone has been having a great Summer. See you around!
Now that I will soon be releasing much more code and files I decided to go ahead and set up a google project page. You can set up a “read-only” repository to download all of my code as it is updated and added to or download the code as I post it in the packages with the demos / tutorials.
Check it out here: http://code.google.com/p/cheezeworld/
If you would like to contribute some code or a helpful tutorial etc I’d be happy to add it to the project!
Alright, I haven’t written anything here in a while and there is *sort* of a reason for that. Recently I have been working really hard in developing my game framework, and finishing up some stuff. I have also been reading several books and trying to learn some new skills. Most likely over the next several days / weeks I will be blogging about some game stuff that I have put together. I’ll be putting together some demos and tutorials for other flash developers to learn from what I have done.
Also, a friend and I have recently begun work on building a flash game portal website. We are trying to make it all web 2.0ish, in that it’s going to have lot’s of community features. I say *we* but well, right now it’s more HIM building everything since hes the web genius hehe. I will be doing some more of the flash / promoting side of things.