Jump to content

  • Log In with Google      Sign In   
  • Create Account

sethhope

Member Since 12 Jan 2013
Offline Last Active Jan 10 2015 10:39 PM

Posts I've Made

In Topic: distributing to windows,Linux, and mac osx with a C++ game made in allegro

06 January 2015 - 07:26 PM

AFAIK, you have to compile it ON the target machine. I develop on Windows, and have a linux boot sector, and a mac laptop that I compile on when I cross-platform develop. I could be wrong though...


In Topic: What's with the Dev-C++ hate?

28 October 2014 - 01:40 PM

Ok. So the general consensus is that even Orwell is lacking compared to modern IDEs... What I want to know is, what are the other features that I'm missing? I actively use Code::Blocks and VS and don't really notice anything missing in Dev compared to the other two...


In Topic: What's with the Dev-C++ hate?

27 October 2014 - 07:40 PM

For the record, constantly updated does not mean that it isn't outdated.  I haven't used any of the new versions of Dev-C++ but if the new updates are only adding features that other IDEs had years ago (I'm not saying this is the case), then it would still be outdated, even though the features were newly added.

Probably should clarify... It's being updated with NEW features to make it more usable, and is constantly being updated to accomodate for, and make better use of the newest compilers.


In Topic: Visual representation/Graphics

27 October 2014 - 08:49 AM

My suggestion would be to change the color of the line coming from the front of the player... It would be relatively obvious  because that's what the player is staring at most of the time.


In Topic: Keeping an object within boundries

26 October 2014 - 10:38 PM

For this kind of issue, you might want to look into basic circle based collision detection. First, find the center point of the circle. Then do something like this:

if(sqrt(pow((dotX-circleOffsetX), 2)+pow((dotY-circleOffsetY), 2)) < circleRadius)
{
//is inside the circle
}

This finds the dot's position relative to the center of the circle ((dotX-circleOffsetX) and (dotY-circleOffsetY)) then uses a basic distance formula to check if the distance from the center of the circle is less than the radius of the circle. If the dot isn't inside the circle, all you have to do is move it back inside the circle.


PARTNERS