Archive

Archive for October, 2011

Competition Time!

A reader suggested that I host a little competition during the leadup to Skyrim. Now, this isn’t actually a game I intend to be playing, but I’m told it’s a big thing… Anyway, it’s coming out on the 11th, so I’m going to have a little competition. Let’s see who can make the best game prototype by then! If you’re interested in competing, and indeed if you have any suggestions for changes to the competition, please do comment below.

It’s not a very long time, so I don’t expect much. Basically, what you should aim for is planning the game mechanics, the structure and – if relevant – the story. Then make a simple working prototype. Don’t worry and menus and options screens and what have you. Just focus on loading a sample level the character can run around in, or whatever is the equivalent prototype for the game you have in mind. Don’t worry too much about art, either. Just do something basic and functional ;) “Programmers’ art”, as it is called.

Unfortunately I won’t be able to compete this time. I’m very busy and won’t have to time to put anything together in 11 days. Come Christmas I intend to have a more drawn out competition, in which I shall definitely compete! So if you’re too busy, don’t feel bad and just running through some ideas for the Christmas competition.

Now, as for rules…

  1. The game must use the SFML library
  2. It can be written in any language SFML supports, though C/C++ is preferable
  3. You may use other low level libraries (such as Boost, RapidXml, etc.), but make sure they are cross platform. And use your discretion – don’t use a library which does everything for you. If you’re unsure about a library, just ask!
  4. There is no prize as such, other than a mention on the site. I can link to your site if you want, provided it appears relevant (at my sole discretion). And also I might get a few quotes from the winner by email about his/her project to share on the site.
  5. You have until midnight GMT on 11th November 2011.
  6. To submit your entry, post a comment on this post, with a brief description of your project, and a link to it. Either host on a file sharing site such as MegaUpload, or host the source on Github or Sourceforge if you know how. Provide compiled binaries if you want, but make sure to provide the source as well – Linux users like me may have difficulty playing a game compiled for Windows!
  7. Judging will be by public vote, but adjustments to results may be performed if deemed necessary (at my sole discretion).
  8. No negotiation will be entered into regarding judging.
  9. If for any reason the competition needs to be cancelled I reserve the right to do so at my sole discretion
  10. You retain the rights to your creation, but by submitting your entry you authorise me to use your game, its story and design, and its source files, media and other data for the purposes of publicising the competition, and also afterwards for the purpose of discussion in other posts.
Good luck!

Dennis Ritchie

I know I’m a bit late to the scene, and I don’t think it’s worth my trying to write a piece on Dennis Ritchie as there are so many good ones already out there. However, I think it’s a great shame that his death passed by almost unnoticed for the general public, perhaps cast into shadow by that of Steve Jobs, whose contributions may be easier for the average user to appreciate. Nonetheless, Ritchie’s work for the advancement of computing and technology was outstanding. I would argue even greater than Jobs’. He designed C, one of the most influential and powerful programming languages of all time. He helped develop Unix, and made it the first portable operating system. He won countless prizes. We at least in the technological world should not let his passing go unsung.

I’ll leave you to your day now, but let’s not let people forget Dennis Ritchie and the great things he’s done for computing and technology. I took the liberty of linking to some other articles below. At least take a glance at the first two.

SFML Coder’s C++ Primer

24.10.2011 1 comment

Hi again! Firstly I want to confirm that I probably won’t be writing many more SFML tutorials until a stable SFML 2.0 is released. Unless – of course – a stable release is still a very long way off!

Anyway, I feel I should provide something in the mean time so I’ve decided to pick up my C++ tutorial series again. As some of you may know, I have already put one or two videos on YouTube on this topic and the blog has a few pages related to it. And don’t worry if you already know C++, as I’m sure many of you do. Hopefully some of the later tutorials will be interesting for you as well – I’ll try to make explanations fairly complete so you’ll still be able to take something from videos.

Now, I have some ideas as to the ‘syllabus’ I’m going to follow. Let me know what you think – anything I’ve missed out, things I should remove until later, or simply a few re-orderings.

  1. Introduction to C++, GCC and Code::Blocks
  2. Hello World! Program
  3. Statements, expressions and operators
  4. Variables and more operators
  5. Conditionals – if, else and switch; boolean variables and operators
  6. Loops – for, while and do while
  7. Functions – arguments and return types etc; inline functions
  8. Larger projects – multiple source files, header files, IDE projects

Integers… and Sheep

22.10.2011 1 comment

Hi there! Was just wasting away my time clicking the ‘random‘ button on xkcd (just joking – time on xkcd is never wasted), when I came upon this programming related sketch which I thought I’d share. Enjoy!

XKCD - Can't Sleep

xkcd - Can't Sleep

Categories: C++, Uncategorized Tags: , ,

Results of the Polls

Some of you may have seen my previous post about operating systems. You can of course go there and see the poll results by following the relevant result on the poll itself. However, I thought you might like to know that Windows 7 was the most commonly used operating system, followed closely by Ubuntu Linux. As for which I should use, the general idea seemed to point towards Arch Linux. As such, I shall be installing it in the next few days! I’ll let you know how I get on…

Linux Distros

17.10.2011 4 comments
Tux, the Linux penguin

Image via Wikipedia, attribution: Larry Ewing

Hi again! Firstly, sorry for the lack of posts recently. I’m at school. I’m doing my masters early. In short, I’m rather busy. I promise I’ll start doing tutorials again when I have the chance. Hopefully by then a stable SFML 2 release will be out, just as the icing on the cake!

Anyway, in the mean time – indulge me! I just upgraded to Ubuntu 11.10 and it completely broke my Ubuntu install. Having quickly learnt how to log in and manually mount an NTFS partition on the recovery terminal, I managed to recover my encrypted home directory and its contents. However, I am now in the position of having to set up my Linux install on the weekend.

Now, I could just revert to Ubuntu 11.04 and wait for 11.10 to become a little more stable. OR! I could try another distribution for a change. I’m thinking about Fedora, Linux Mint, Mandriva Linux and Arch Linux.So, let me know which you think I should try – or indeed whether I should stay with Ubuntu or try yet another distribution. Vote on the poll. Feel free to add extra OS choices (all free Unix ones though please!). And, while we’re on the subject of operating systems, you can also vote to tell me which one(s) you use! Most importantly of course, comment to let me know why you think what you think about OS choice and Linux distros. Have fun!

Oh, and before I leave you to vote and comment, one other thing. Although the blog’s been quiet – and may well remain quiet for a while – please do still subscribe by RSS, email, WordPress or whatever you prefer! That way you’ll be among the first to hear when I’m back. Until then,
Xander

Follow

Get every new post delivered to your Inbox.

Join 73 other followers