Category Archives: Misc

More on Git

So with the new project, I’ve chosen to stick with good ol’ git to manage our version control. This is quite a challenge when it comes to Unity3D, as there’s a large number of irrelevant files that will get changed, added, and deleted which really should be ignored. In comes .gitignore. Without it, version control in Unity would be a nightmare. It took me a bit of searching to find a nice list of the type of files I should be excluding, so I want to make sure to post it here for anyone else that might need it:

# =============== #
# Unity generated #
# =============== #
Temp/
Obj/
UnityGenerated/
Library/

# ===================================== #
# Visual Studio / MonoDevelop generated #
# ===================================== #
ExportedObj/
*.svd
*.userprefs
*.csproj
*.pidb
*.suo
*.sln
*.user
*.unityproj
*.booproj

# ============ #
# OS generated #
# ============ #
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
/*.csproj
/*.sln
/*.userprefs
/*.sln
/*.csproj

Also, just starting using Sourcetree instead of TortoiseGit to have a bit more of a visual process for those new to VCS’s. They’re also the makers of bitbucket.org which we’re using to host the project so obviously the support is there! Currently exploring the possibilities of GUI elements for Unity! Quite handy (and a hell of a lot easier than using pygame to make simple windows!).

Advertisements
Tagged , ,

Hello Again World!

It’s been while (over a year!) since I last posted here. Work got busy, the Java game fell through, and just didn’t have time to mess around with my Python project or blog. Well, I might get back into this as an artist friend of mine has been interested with learning Unity3D and experimenting with creating a game. I, also been wanting to check out Unity3D, eagerly jumped on board to help out with the scripting. So, from Python to Javascript and now to C#, I seem to be getting a healthy exposure to some common scripting languages! 

Unfortunately, this project is a private one to protect our art assets. We may open it up in the future or may pursue actually trying to put something on the app market. Who knows! Either way, I’d still like to post what I can here and maybe show off some releases if we can ever make something presentable! 

Tagged , , , ,

A Little Break from The First Fantasy

With v0.1 released, I feel like it’s in a nice, stable place to sit for a little while. In the meantime, I’ve volunteered to join a small group of my friends in our attempt to make a web game. This is something I’ve never really done before. JavaScript is mostly foreign to me, especially CSS and advanced web concepts. However, I’ve found and have been using a handy tool called pyjs (or PyJamas). It literally takes your python code and compiles it into JavaScript. It also provides a number of modules to facilitate a more “web focused” design. This is also my first “real” attempt at running the entire game through GUI elements.

We’re starting off with a simple Blackjack game to make sure we can get through the entire process (brainstorm, design, art, code, web stuff, hosting) without too many problems. If it all works out and we’re mildly impressed, we may try to make some actual attempts at bringing in some money with future games. It should be fun and already is a definite learning opportunity. I’ll post some information about it when I can, but we’d like to be as hush-hush about it until we know what the hell we’re doing!

Tagged , , ,

Wrapping up v0.1

I haven’t posted in awhile as I’ve been pretty busy this last weekend getting my girlfriend moved in and with the release of Guild Wars 2, but I have done a few updates on our code and we’re getting close to getting v0.1 ready. You can see here that there are only a few issues left. Map readability may not make it into this release unless someone finds a quick, awesome way of going about it, but as of now, I don’t think it’s work throwing too much time into as it is “working” already. This release will definitely feature all functionality in place. There won’t be an option that doesn’t work or an operating system unsupported. The features may not be as polished as I and others would like, but there will always be room for advancement.

After this release, I’m going to be changing the Downloads page to include the following for each release (if applicable):

  • Executable (Windows Only)
  • Source Zipball
  • Changelist Post
  • Contributors: <List of Contributors>

I found that I could actually choose any commit from the repository’s history and download the Zipball at that moment in time. This should allow me to link to the specific releases instead of overriding each time when the “master” get branch will be updated with a new release or patch. Anyway, I’m going to be at PAX this weekend, so unless something amazing happens code-wise, the release should be out early next week.

Tagged , ,

Getting Started With Git

I’ve chosen to use git as my version control system (VCS) for The First Fantasy that is currently hosted on github. Git is a more complicated VCS than some others such as Subversion, but it provides a few features that is only possible with a fully distributed workflow. Simply, git allows each developer to have their own private copy of a remote shared repository that can be modified and changed without effecting anyone else’s work until the developer decides to push their local changes (called commits) into the remote repository.

Git has a full range of powerful console commands, but if you’re looking for the convenience and visual ques of a GUI, there’s a number of options out there. I currently use EGit, a git package for Eclipse that integrates itself into the tool. The official git site features a number of GUI clients. I highly recommended using GitHub as it integrates well to their project hosting site, SmartGit, or the built-in GUI (gitk and git-gui) that comes with git. For those wanting to bust out your command prompt skills with git, this is a nice guide that will get you started.

To make a clone of my project and get started, all you need to do is give the following command:

git clone git://github.com/Bluedagger21/the-first-fantasy.git

If you have any good experiences with a particular way of using git, fill us in!

Tagged , ,

How to Contribute

For those completely unfamiliar with version control systems (VCS), I’ll make a post in the future that should be able to get you started to at least navigate your way around an recognize certain aspects.

The First Fantasy project is hosted on github, a popular “social” open-source project hosting site that uses git as its form of VCS. Github provides a number of obvious benefits to project managers and contributors alike and attempts to make the whole contribution idea as painless as possible. I would highly recommend checking out some of their basic guides to get a feel for things and then go ahead and fork The First Fantasy repository to play around with it. Don’t worry! There’s no possible way to cause any harm to the original repository without being an assigned contributor of that project (by me). You can still make pull requests that will let me and the contributors know you have made an addition or change that needs review to be implemented into the project.

I’ve made a wiki page on the project’s page that describes the intended workflow. After spending this latest release getting used to the workings of git and github, the wiki page should give a good idea of what the overall “process” will look like. Think of it as a guide to how we can make the most of contributions without stepping on people’s toes. By following this, we should be able to produce meaningful results that are easily tracked and implemented.

If you don’t want to get involved with github just yet, you can always download a source zipball to mess around with a copy of the repository. If you have any questions or comments, please let me know! I’d be happy to help in anyway I can.

Tagged , ,

Suggestions and Ideas for v0.09

The next release, v0.09, is definitely looking to be a lot of cleanup work, but there will be some additions in store. If you’ve already checked out the source, you may have noticed that unique items (known as rare items for now) are getting implemented. Thanks to Onionnion, the code is also now a lot closer to PEP-8 code style standards than before.

Suggestions big and small are certainly welcome. Got an idea for a cool weapon/armor/consumable? Name for a zone? Maybe some tweaks to the UI? Comment here or submit an issue on github! Bigger features can certainly be requested, but they may not be ready for v0.09. Something like buffs/debuffs may have to wait a little while.

Tagged , ,

Source Code Available

After a few requests and me finally succumbing to the beauty of open software, I’ve made a repository on github to host my project and for anyone to view and possibly contribute. You can access that repository here:

https://github.com/Bluedagger21/the-first-fantasy

Transitioning over to git was more complicated than I would have liked, but I can definitely see the advantages of using it over subversion although I will miss its simplicity. Anyway, this will mean a few changes to links on this site and how Downloads will work. I’ll be hosting the distributable versions of The First Fantasy in the downloads section on github, but linking to those from my blog. As the link to the source is always the same, it will have it’s own section in the Downloads page.

I’m hosting the project to the public to share, learn, and help others that are open-source project newbies get on their feet. There’s still a lot of documentation that I’d like to do so viewers/contributors can better understand my thinking, and you can expect additional commenting to be a priority right now. If you have any questions, please feel free to send them over to me. I might even make a post to explain a process I use.

Tagged , , ,

Hello and Welcome

Hello!

My name is Dale Everett, and I’ve created this blog to keep myself sane while working on a project of mine called, The First Fantasy. The First Fantasy is, simply, a text-based role-playing game written in the Python coding language. It’s a continuous work in progress and for now, I’ve been the sole author but that may change in the near future.

So, a little about me. I’ve graduated with a Bachelor’s in Embedded Systems Engineering and Associates in Computer Engineering not long ago and currently working for a major EDA company. However, I’ve always had a longing for simple, fun software programs that have nothing to do with hardware. My passion started way back when I was 13 and was attending a summer tech camp. There, I first learned Java and collaborated on a little game that we called The First Fantasy. I held on to the project for awhile, doing a couple updates here and there, but really for my own learning experience. Time passed, from college I learned more about C, C++, and various microcontroller languages including Assembly. In my Senior year, I was introduced to Python writing scripts to run tests on a printer. I found an immediate liking to the language. I’m not sure specifically if it was the fascinating string formatting options, the easy to follow syntax, or excellent documentation, but in any case, I suddenly had a passion for Python. I was able to use Python for a few school projects that year, but soon I had graduated and was busy moving to Portland for my job.

Only now, about a year later, have I indulged myself pack into Python. I decided that re-creating The First Fantasy from my youth would be the perfect way to pick up new skills and have fun at the same time. So, after about three weeks of on-off development, I’ve been impressed with how well the project has come along. So much, that I want to start a blog (my first ever!) to talk about my experiences and share my game with you! I hope to be making at least two posts a week, but it all depends on my free-time during the evenings and if any significant progress has been made. I’m glad you could take the time to stop by. Please feel free to leave comments and suggestions!

Tagged ,
%d bloggers like this: