• Register

Just a dude who likes to code on occasion and play games; I also like dinosaurs I guess? I mean, they're pretty cool if you were to ask me.

RSS My Blogs

A little further

Lunatic_Hermit Blog 1 comment

Hello again everyone who happens upon this rather uneventful blog, here are some updates from what I've been doing lately. I have been learning a bit of C++ but I haven't been studying it nearly as much as I was a few days ago thanks to a sudden urge to play my XBox 360, which I had not played in months. I had Assassins Creed: Brotherhood unopened since I got it for Christmas so I played that for awhile and it's pretty great so far. It was kind of hard to persuade myself to play it at first, but I validated my decision by saying if I wanted to make games I would have to play them too. But now I am back to learning C++. I have learned only a little bit more since the last post and the aspects of C++ I have learned mainly deal with structs and arrays.
The book I am reading goes pretty in-depth when describing how things in C++ operate, so each chapter is twenty plus pages. This is the reason why I used a website (learncpp.com) to learn basic concepts and later cover them in the book. With structs I didn't learn anything new (nothing new YET, the rest of the chapter which I have not finished reading, deals with more facets of struct) except on declaring structure variables. Apparently structure variables can be declared like so:

struct Food
{
    int weight;
    char name[20];
};

Food Apple = 
{
    10,
    "Apple"
};

I was previously declaring by typing the variable, the membership operator (a period (.) though I am not sure if the name membership operator applies to structs, though I think so), and then the member. For example: Apple.weight = 10; Overall I like the way I described in the code box better than the slightly messier version. I am afraid though that all this study of struct might be all for naught, I'll probably be using classes more than struct when I learn them later on.
I hope to cover the subject of arrays in-depth, hopefully there is more on arrays in the chapter I am reading (I would assume). Anyway I'll end this blog entry here, the stuff I am talking about is obviously just a beginner describing basic C++ concepts, but until I start making a game this is all I got folks. :(

Greetings, Comrades

Lunatic_Hermit Blog

Well hey guys and girls, I am the Lunatic Hermit, but you can just call me Lunatic if you want. I joined mainly because of cool cats from IRC and some of the awesome looking games that I saw on here, but I want to make some games too. You know, eventually. I am currently on a path to game creation via the object-oriented programming language of C++. My knowledge is extraordinarily limited, so much so that I cannot yet create a very sufficient text RPG. Hopefully through many more hours of study will I be able create various types of easy games that build up to the game that I want to make. Now that I have sort of introduced myself I should probably blog a little about programming because I am on an indie game development site...

I don't have much to report, but anyway I am learning about control flow, which is basically if statements and while loops, breaks, that sort of thing. Really simple stuff that I kind of already know, I am mainly reviewing and also hoping to remember some aspects of control flow that I have forgotten. In the past few hours I have learned about structs, enumerated types, and typedefs along with a few other things. It's not much but using what I have learned using tutorials I was able to flesh out a class selection screen for a perhaps future text RPG. Before making an actual text game I will need to cover arrays, IO (at least, I would like to but it isn't top priority), and classes.

So that's all I have for now, I'll update every few days or so to report about my not-so-awesome activities regarding programming and (later) mathematics.