Tuesday, December 13, 2011
Website
Sunday, December 11, 2011
Raven design
Wednesday, December 7, 2011
Raven
Technique
Code block
I have not written much in a while. For a long time I have felt worn out and tired down to my bones; I have had no energy to do much of anything. In contrast, there have been times when I couldn’t do anything other than write code; it practically consumed me. It is for that reason that I have been burnt out for so long – I haven’t found the safe medium where I can continue to be creative and have energy to keep a healthy momentum.
The amount of energy it takes to write code is amazing. I don’t think about my project when I have time to dedicate to development exclusively – I go as far as dreaming about it in my sleep; I think about it in the shower and on the drive to the store. While this is happening I am able to get things done quickly and solve problems extremely well. The issue arises when the headaches start and my concentration becomes short. It has been so bad for me that I have dropped some of my classes in college because I could not focus on anything, even the easy stuff. I graduated Magna Cum Laude with my Associates Degree; I should be able to do it again with my Bachelors.
So what is a good way to keep things under control? From what I can tell, playing video games is a great way to avoid burn out. There is an exception: only play games that don’t require too much thinking! I have been playing StarCraft 2, which is known as a thinking man’s game because of all the strategy involved, and it has helped increase my burn out. Playing something like Left 4 Dead or Angry Birds is much better to cleanse the mind. The point here is to entertain yourself and get your brain to stop thinking so much. It needs a break!
I have felt my health declining for a little while now. I notice that when I am programming or playing games that I tend to eat too much and get no exercise. This could be one of the reasons I feel old and achy. Getting out of my comfy chair to do some activity would be a good start. My wife has been giving me vitamins that are supposed to give me more energy.
I can feel the rusty cogs in my head are starting to turn; I am getting ideas for a new project. It will be hard to change the way I do things, but it should be beneficial in the long run to try and balance my time so that I don’t get burned out so fast. Being more active and eating better will help. Working on individual sections at a time and taking break will help. Playing games will give my mind a rest.
Skills
I have been at this stuff for awhile, yet I still don't have any idea what part of programming I am best at. I always keep my interests in finding a need for a piece of software that could be useful, at least to someone. My most successful projects began as programs that I had a need for personally. Programming is not as simple as understanding the logic and syntax, you have to have the ideas and enthusiasm to complete a project all the way until it is finished. The hierarchy in picking a career path does not end once you decide to be a programmer: there are so many aspects within the programming world that you may never experience.
It seems that video game programming is the most well known, as far as I have noticed; it is also a very diverse segment in itself. It is very difficult to create a game by yourself. An individual cannot get things done as quickly as a group. An individual cannot be talented in as many areas as a group. What exactly would you do as a game programmer? It is about more than writing the code; a game requires many different types of programming to be successful:
· Logic programming to control the aspects of the game that are not static. Things like gravity, sprites, and projectiles.
· Network programming to allow for online multiplayer connections.
· Graphics programming to maximize graphical performance and have the best graphics.
· Interfacing programming so that the awesome code that was written can be used easily and fully by the user.
· And several more could easily be included.
So my point? My point is that being a programmer is like being a piece in a puzzle. While you may have the power to create applications on a small scale that doo amazing things, your power can be exponentially greater in a team of individuals with individual talents. You have to be able to work on your own or in a team. There are times when you will need to do both in order to succeed.
Even with the projects that I have worked on, I have had the help and support of other people who share an interest in the project. It is amazing how the internet allows people to come together to create something. Even if someone doesn’t have the experience to write code, they can be instrumental in helping create a great program because they have insight from a different aspect then you might have. Your program could do everything and clean the dishes, but if it is hard to use no one will want to use it.
Sunday, May 15, 2011
Variables
short: Limited to being between -32768 and 32767long: Limited to being between -2147483648 and 2147483647integer: Limited to being between -2147483648 and 2147483647double: Limited to numbers with decimals
This is a string.There are to variable types that can store characters:
Char: Stores one character.String: Stores an array of characters.
Structures: As the name implies, a structure is an object that contains things, much like a house or a building does. While these things are not like those of a house, they are important to the programmer. The structure is a collection of other variables, like shorts and strings. The big difference between the basic variables and a structure is that a structure holds much more information then a basic variable.
Classes: A more advanced structure is called a class. Each class is similar to a structure as they hold many different variables, but in addition a class also can hold subroutines and functions that can be used to ensure that the data stored in the class is correct. This is very handy when it comes to classes that store calculated data by having the calculations occur automatically when a new object is dimensioned.
Dim number as shortDim trueFalse as booleanDim myText as string
Structure customStructureDim name as stringDim age as shortDim phoneNumber as stringEnd StructureDim myStructure as New customStructure
Public Class customClassDim name as stringDim age as shortDim phoneNumber as stringSub New(name as string, age as short, phoneNumber as string)Me.name = nameMe.age = ageMe.phoneNumber = phoneNumberEnd SubEnd ClassDim myClass as New customClass
Wednesday, May 11, 2011
Getting started
Current programming technology encapsulates Object Oriented Programming (OOP) as the main basis for allowing interaction between the user and the computer. Event driven coding has replaced the old line coding in the early days of computers.
When I wrote code using DOS in a language called QBASIC, often times the programs were very limited in scope. Each program did one thing, and did it well. Now with todays technology, applications are required to do many things at the same time, and often are required to duplicate themselves to complete the task given. This is where objects are needed. As a programmer, you must identify all the aspects of what your object is made of. What is the problem that you are trying to solve with your program?