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

Pages: [1]
1
Graphics / Re: Bomberman's deplacement style
« on: January 30, 2015, 11:01:26 pm »
Sorry, i have read back and arcade's post get up the solution, thank you everybody.

++

2
Graphics / Re: Bomberman's deplacement style
« on: January 29, 2015, 12:54:34 pm »
I think it's possible that we just don't understand what you mean when you say that you replace the player.

Alright, actually if the player press a RIGHT key, the collisions calcul where the Top Right Corner will be, with the player position more the "actual" movement, also the next movement can be lower and the bomberman will be not stuck on the wall, so i replace him.

3
Graphics / Re: Bomberman's deplacement style
« on: January 28, 2015, 01:03:58 pm »
The movement is not always the same it's because i replace the player.

4
Graphics / Re: Bomberman's deplacement style
« on: January 27, 2015, 11:24:08 pm »
Quote
Test to see if the movement is valid before performing collision detections on the new movement.

Sorry, I don't understand.

5
Graphics / Re: Bomberman's deplacement style
« on: January 27, 2015, 11:03:05 pm »
I understand all what you means but for check the collision i need check if the player pos + movement are inside a case and replace him if needed.

So if the player press left and top, the player is always replaced because Movement.x and Movement.y are increased  !  :'(

6
Graphics / Re: Bomberman's deplacement style
« on: January 27, 2015, 12:14:30 am »
actually my only problem come from the colision, If right and down are pressed mMovement.x et mMovement.y are positive...

and it's like this(not really but its just for show you how the collision "see" it).




7
Graphics / Re: Bomberman's deplacement style
« on: January 26, 2015, 10:42:40 pm »
Yes, it's right but i don't know how implement this, because if i press 2 key and moving, just only one direction is checked and i can't check more than one.

I think that my current code is not adapted for use it...  :-\

8
Graphics / Bomberman's deplacement style
« on: January 26, 2015, 12:36:28 am »
Hi everyone,

I'm looking for reproduce deplacement like in Super Bomberman 2 on SNES

It's mean, that if the player is moving with 2 key pressed simultaneously, the player begins with the movements planned for the first key pressed until returned to colision with a block and then hands over to the second key

Example with

TOP + RIGHT



So I do not know how to reorganize my code to manage that ...

Here are the current that manages only one button at a time.

(click to show/hide)


Thanks.

9
SFML projects / Re: Rounded Soccer (Released)
« on: December 01, 2012, 04:44:22 pm »
how you have managed the collision on your game ?

Pages: [1]
anything