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 - Finn

Pages: 1 2 [3] 4 5 6
31
Feature requests / Custom Blending Modes and other requests
« on: September 12, 2010, 10:59:20 pm »
Great work :)

32
Window / Numberpad
« on: September 10, 2010, 03:32:19 am »
Then check, if the unicode is the one you want to and you're fine :)

33
Window / Numberpad
« on: September 10, 2010, 02:48:57 am »
Uhm...I don't know this one, but you could use events instead. There you get the unicode for this key ;)

34
Window / Numberpad
« on: September 10, 2010, 02:16:23 am »
sf::Key::Add,
sf::Key::Subtract,
sf::Key::Multiply,
sf::Key::Divide,
  sf::Key::Numpad0,
  sf::Key::Numpad1,
  sf::Key::Numpad2,
  sf::Key::Numpad3,
  sf::Key::Numpad4,
  sf::Key::Numpad5,
  sf::Key::Numpad6,
  sf::Key::Numpad7,
  sf::Key::Numpad8,
  sf::Key::Numpad9,

35
General discussions / Your favorite?
« on: September 07, 2010, 10:21:59 am »
Colorfull comiclike graphics ;)

36
SFML projects / Hello, I'm new here... my first project and my questions
« on: September 06, 2010, 08:07:16 pm »
@Greenflame

Yeah, you're right! My Algorithm was uncomplete. But your solution isn't that much different...you just finished my thought ;)
But anyway you're right :)

37
SFML projects / Hello, I'm new here... my first project and my questions
« on: September 06, 2010, 06:45:22 pm »
Just a quick thing:
I tested the pixelperfecttest now. If I use it without limiting the framerate I get more than 400 fps. Though I limit the framerate to 60. So this shouldnt be a problem! At more than 400 fps there is enough space for much more objects to do the pixelperfecttest ;)

38
SFML projects / Hello, I'm new here... my first project and my questions
« on: September 06, 2010, 12:54:44 pm »
Well. I think this sounds way too complicated! I think I'll try my own solution. If it works I'll keep it, otherwise I'll try the A* algorithm.

39
SFML projects / Hello, I'm new here... my first project and my questions
« on: September 06, 2010, 12:56:34 am »
But does it work that good with non-tile-based games, too?

40
SFML projects / Hello, I'm new here... my first project and my questions
« on: September 05, 2010, 11:54:47 pm »
Yes I'm using the Pixelperfect test...and actually: No it doesn't eat too much :)
Well...At the moment I'm just testing 4 objects for collision but I'll see later if it's possible with 15 and more objects!

But I have mapscrolling...so if the test eats too much I'll just add something to only test the objects you can see at the moment.

To tracerouting:
I don't change the angle, because I have different animations that fit for each direction.
And just add this line to ensure, the enemy stops if he catched the player:
Code: [Select]

if(Player_X == Enemy_X && PlayerY == Enemy_Y)
   return;


For avoiding objects just do something like:
Save the direction the sprite is moving,
Check if the enemy is colliding with any object.
(for exaple the sprite is colliding with an object and moved right-->)
Check if the player is higher or lower then the enemy. If the player is above move up, then right. If colliding move up again and then right. As long as you're not colliding anymore. Then you can go on normal movement

:)
Hope you understand what I mean :P
[/code]

41
SFML projects / Hello, I'm new here... my first project and my questions
« on: September 05, 2010, 09:50:13 pm »
Well if you're still looking for trace-routing....
this is how I made the enemys follow my character:

Check the distance between the character and the enemy,
if character is in enemy's aggro-range, then

(pseudocode)
Code: [Select]

if(X_Enemy > X_Player)
    Enemy.Move(-Speed,0);
else
    Enemy.Move(Speed,0);

if(Y_Enemy > Y_Player)
    Enemy.Move(0,-Speed);
else
    Enemy.Move(0,Speed);


and then just check collisions and you're done. If you want to walk around it's something like the code above. Just a few changes

42
SFML projects / Sketch RPG
« on: September 05, 2010, 09:33:29 pm »
Well..not exactly, but something in it's direction. Not as complex as Diablo...more like Zelda!
One character, different weapons and a few skills

43
SFML projects / Sketch RPG
« on: September 05, 2010, 08:58:52 pm »
Working on a better charmodel.
A short insight here: http://yfrog.com/mrrun2g

44
SFML projects / Hello, I'm new here... my first project and my questions
« on: September 05, 2010, 04:37:01 pm »
We have a nice class in the wiki for collision-detection! Just take a look at it :)
What do u mean about pathfinding?  For example enemys following your sprite?

45
SFML projects / Sketch RPG
« on: September 05, 2010, 08:32:28 am »
Espacially the Life-/Manabar, huh? ;)

Pages: 1 2 [3] 4 5 6