• Create Account

Banner advertising on our site currently available from just \$5!

# Arkanong development blog

## Arkanong part 6: batching draw calls

Posted by molehill mountaineer, 21 March 2014 · 485 views
sprite batching, draw batching and 5 more...
Once again I must apologize for how long it took to post this - There are many things competing for my time so this journal doesn't always get the tender love and care it should. I've managed to find a few spare hours so I'm going to show you how I batched the draw calls for my game objects.

Up to this point every game object has been in charge of drawi...

## Arkanong part 5: Hexagons! (collision detection, again)

Posted by molehill mountaineer, 09 February 2014 · 509 views
collision detection, sphere and 8 more...
To make the game a bit more interesting we're going to add a few hexagonal barriers in the playing field.
This object is different from the paddle and balls in that it doesn't have a 'regular' shape. This means that using a rectangular
or circular hitregion will not cover the object properly.
Now, I could fudge the dimensions of the hexagon a little and c...

## Arkanong part 4: bouncing balls off each other

Posted by molehill mountaineer, 19 November 2013 · 543 views
c++, sfml, collision detection and 1 more...
Well, it certainly has been a while since I updated this journal!
Now that my school projects have been handed in and all my exams are behind me I will hopefully be able to spend more time developing arkanong.
Let's take a look at how we can make the gameballs bounce off each other.

There are three important things to keep in mind about our game physics...

## Arkanong part 3: Vector reflector

Posted by molehill mountaineer, 18 November 2013 · 551 views
c++, sfml, pong, breakout and 2 more...
Yesterday I posted a few snippets of code to show how game objects can be kept within the confines of a client window. Because my game ball stores the direction it is heading in as an angle, the quick and dirty way to bounce it back was to add or subtract 90°.
This only works if you can guarantee that the ball will be coming in at one of four angles (45°,...

## Arkanong part 2: basic collision detection

Posted by molehill mountaineer, 17 November 2013 · 508 views

When I last posted about my SFML/C++ pong clone (now dubbed 'arkanong' because I suck at namegiving) I ended up with a non-moving paddle and ball. While that's all well and good the game won't be very exciting if we can't bounce the ball around, so that's exactly what I put in next.

Here's how it works:

in function Game::initialize()sf::Clock timer;...

## Arkanong part 1: Porting for the sake of sanity

Posted by molehill mountaineer, 15 November 2013 · 519 views

Last year I decided that I had enough of my procrastrination (and several other bad habits) and began a process of self-reformation.
Part of this undertaking was the development of a small framework with which I could make a pong clone. The plan was to build the engine as an educational exercise, produce several small games and perhaps form a development...

S M T W T F S
1234
567891011
12131415161718
19202122232425
2627282930 31
PARTNERS