Daily Archives: February 4, 2014

More collision management

2014 02 04
Today I wanted to try my circle vs circle overlap function.
In our Game state, I made two test colliders and two circles using sf::CircleShape. The colliders were allocated and initiated via the overloaded constructor that take in a position vector and a radius float (I added a position to it). then I added a function to the CollisionManager. CheckCollisionCircleVsCircle, I called it. It is a bool function. I then pushed the colliders into my std::vector for colliders.
CheckCollisionCircleVsCircle():

This […]

/ Comments Off on More collision management
Program: Programming

More collision management

2014 02 04
Today I wanted to try my circle vs circle overlap function.
In our Game state, I made two test colliders and two circles using sf::CircleShape. The colliders were allocated and initiated via the overloaded constructor that take in a position vector and a radius float (I added a position to it). then I added a function to the CollisionManager. CheckCollisionCircleVsCircle, I called it. It is a bool function. I then pushed the colliders into my std::vector for colliders.
CheckCollisionCircleVsCircle():

This […]

/ Comments Off on More collision management
Program: Programming

2014-02-04

Hello world,
This was (to be honest) a pretty not-so-very-good day. I started off with making the clouds move more credibly as the camera was moving, which went ok and did not take up too much of my time. But other than that I got stuck with a problem that kept me busy for several hours and in the end, without me showing any result.
What I wanted to accomplish was to include the library SFML in my State Manager program so […]

/ Comments Off on 2014-02-04
Program: Programming

2014-02-04

Hello world,
This was (to be honest) a pretty not-so-very-good day. I started off with making the clouds move more credibly as the camera was moving, which went ok and did not take up too much of my time. But other than that I got stuck with a problem that kept me busy for several hours and in the end, without me showing any result.
What I wanted to accomplish was to include the library SFML in my State Manager program so […]

/ Comments Off on 2014-02-04
Program: Programming

2014-02-04

Hello world,
This was (to be honest) a pretty not-so-very-good day. I started off with making the clouds move more credibly as the camera was moving, which went ok and did not take up too much of my time. But other than that I got stuck with a problem that kept me busy for several hours and in the end, without me showing any result.
What I wanted to accomplish was to include the library SFML in my State Manager program so […]

/ Comments Off on 2014-02-04
Program: Programming

2014-02-04

Hello world,
This was (to be honest) a pretty not-so-very-good day. I started off with making the clouds move more credibly as the camera was moving, which went ok and did not take up too much of my time. But other than that I got stuck with a problem that kept me busy for several hours and in the end, without me showing any result.
What I wanted to accomplish was to include the library SFML in my State Manager program so […]

/ Comments Off on 2014-02-04
Program: Programming

Mushroom Man


Mushroom-man is a common name for many species of non-stationary mushrooms.When observed, mushroom-men looks just like an ordinary mushroom but it is a known fact that they actually wander about and even talk with each other.
The most obvious proof is fairy rings. It’s merely a gathering of mushroom-men that you happened to witness, and just like troll mushroom-men have build in “turn to object” cells that actives the nanosecond a human lay eyes on […]

/ Comments Off on Mushroom Man
Program: Programming

Mushroom Man


Mushroom-man is a common name for many species of non-stationary mushrooms.When observed, mushroom-men looks just like an ordinary mushroom but it is a known fact that they actually wander about and even talk with each other.
The most obvious proof is fairy rings. It’s merely a gathering of mushroom-men that you happened to witness, and just like troll mushroom-men have build in “turn to object” cells that actives the nanosecond a human lay eyes on […]

/ Comments Off on Mushroom Man
Program: Programming

Doing Collision management

I have made a Collider class.
It has Three overlap bool functions for rectangle vs rectangle overlaping, rectangle vs circle overlaping and circle vs circle overlapping.
The mathematics is not that difficult when you have the seperating axis theorem and the basic knowlage of a simple circle and a rectangle.
The rectangle vs rectangle one checks to see if there is overlapping by the x-axis of the rectangle’s extension, width and height. Then it checks if it is ovelapping the y-axis. (seperating axes […]

/ Comments Off on Doing Collision management
Program: Programming

Doing Collision management

I have made a Collider class.
It has Three overlap bool functions for rectangle vs rectangle overlaping, rectangle vs circle overlaping and circle vs circle overlapping.
The mathematics is not that difficult when you have the seperating axis theorem and the basic knowlage of a simple circle and a rectangle.
The rectangle vs rectangle one checks to see if there is overlapping by the x-axis of the rectangle’s extension, width and height. Then it checks if it is ovelapping the y-axis. (seperating axes […]

/ Comments Off on Doing Collision management
Program: Programming