Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - The Terminator

Pages: 1 2 [3] 4 5 ... 15
31
SFML projects / CoffeePong
« on: March 28, 2014, 08:32:55 pm »
Nice game. Is the "coffee" in the name a reference to Java? :P

32
Audio / Undefined reference to sf:Music
« on: March 20, 2014, 01:00:44 am »
What IDE are you using?

33
Graphics / Font loading problem (Crash)
« on: March 20, 2014, 12:01:13 am »

You must not put ; after an if statement, very bad!

If you put it after the closing brace, it makes no difference.

34
General / My vertex line is blinking
« on: March 09, 2014, 05:52:39 pm »
I suspect it's because you are calling window.draw(outlinex, 2, sf::Lines); before window.clear(). Move your for loop to in between window.clear() and window.display() and see if that fixes your issue.

35
It reminds me a lot of Alien Swarm, but with influences from Gears of War, etc. Very nice project :D

36
Network / Sync player movement causes duplications
« on: March 06, 2014, 02:45:06 am »
That isn't enough code to go on. Do you have a simple and minimal example that depicts your issue?

37
General / What's the best method to give an entity a "search" range?
« on: March 06, 2014, 02:43:45 am »
You can use the points and bounds of the Circleshape in your collision code.

38
General / What's the best method to give an entity a "search" range?
« on: March 06, 2014, 12:20:42 am »
You could also render a transparent sf::Circleshape at the same position as the turret and check for collision.

39
General / Lag when assigning projectiles as elements in a vector
« on: March 05, 2014, 06:14:38 pm »
Also make sure that you have only one copy of a sf::Texture that you pass by reference to sprites. As stated in the tutorials, sf::Texture is a heavy class therefore you shouldn't have one sf::Texture per projectile. Have a look at Thor's resource management system as it's fairly useful.

40
SFML projects / Space - Level Editor
« on: March 05, 2014, 01:17:13 pm »
Nice project! I'm interested in what it'll lead to. Keep working on it :)

41
Why are you still using raw pointers rather than utilizing RAII? There's no argument really against using it, and it will make the library a whole lot more attractive to users.

42
General / Major lag when a C++ statement is removed
« on: March 04, 2014, 01:29:09 pm »
eXpl0it3r just pointed out your issue. Your while loop is blocking anything thing else from occurring in your program. The while loop also has a std::cout statement, which is notoriously slow.

43
General / problem with running
« on: March 03, 2014, 07:10:18 pm »
Put together a small program that demonstrates your problem. Nobody is going to dig through all of your code and tell you what the problem is.

44
Graphics / texture problem
« on: March 03, 2014, 04:21:47 pm »
Why are you passing Npc::location to loadFromFile()? You're invoking a string contained within Npc, when you really want to pass the argument called "location". Remove the Npc:: and see if that solves your issue.

45
SFML projects / Re: The Wanderer - Lost in time
« on: March 03, 2014, 02:46:29 am »
Very cool :)

Pages: 1 2 [3] 4 5 ... 15
anything