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

Pages: [1]
2
SFML projects / SFML Light System - Let There Be Light
« on: January 01, 2012, 06:23:31 pm »
http://youtu.be/Nf5sjxEnQU0

some problems when the light is near the polygon

3
SFML projects / Mappy tilemap engine playback library port for SFML
« on: December 26, 2011, 06:35:15 pm »
How to get the X and Y block position of a layer with sfmlmappy ?

I have make a layer with a tile for collision, and would like to get X and Y from this block for my collision.

I've try with tl/tr/bl/br for collision, but difficult to use when you have slop tile :(

4
General / SFML Window not showing!!!
« on: December 25, 2011, 06:52:19 pm »
Smooth to false for this

5
Window / Image wont draw...
« on: December 24, 2011, 12:40:17 am »
Code: [Select]
     sf::Image image;
      if(!image.LoadFromFile("sprite.png"))
         return EXIT_FAILURE;
       
      sf::Sprite sprite(image);


Not in the While.

And Clear always before your Draw

6
General / SFML 2.0 GetInput()
« on: December 23, 2011, 12:48:28 pm »
Code: [Select]
const sf::Input& Input = App.GetInput();

After that, you can use this code

7
General / sfml 2.0 compile
« on: December 21, 2011, 05:49:27 pm »
Hello,

take this :

https://legacy.sfmluploads.org/file/95

and

https://legacy.sfmluploads.org/file/94

One is for vc10 dynamic and one for static lib

8
Graphics / Error with calling sf::Sprite
« on: December 18, 2011, 07:17:39 pm »
try with

Code: [Select]
int Menu (sf::Sprite &Title)

9
General / 'sf::Key' has not been declared
« on: December 18, 2011, 02:25:23 pm »
hello

With SFML2 , it's sf::Keyboard::Up for example and not key :)

10
General / PacMan Movement Not Working Properly
« on: December 18, 2011, 01:31:43 pm »
Code: [Select]
void RenderPlayer(sf::RenderWindow &win)
{
   sf::Image image;
   sf::Sprite sprite;
   if(!image.LoadFromFile("pac.png"))
   {
   }
   sprite.SetImage(image);
   sprite.SetPosition(200,400);
    movePlayer(win,sprite);
   win.Draw(sprite);
   
}


Dont put the creation of your sprite and the SetPosition in the while(win.IsOpened()) .
Put only the the movePlayer and win.Draw in the while(win.IsOpened()) .

position is always set to 200, 400, and the sprite dont move ^^


Excuse for my english ^^

11
General / SFML Window not showing!!!
« on: December 17, 2011, 02:30:12 am »
The Type of "Build Target" is "Console application" or "GUI Application" ?

12
General / Gameloops and timing, smooth rotation
« on: December 13, 2011, 05:28:36 pm »
for me, it's limited by EnableVerticalSync and not by FPS

13
SFML projects / Mappy tilemap engine playback library port for SFML
« on: December 12, 2011, 02:12:26 am »
hello

Is there an update of SfmlMappy for use with smfl2 or someone have a modified version ?

Pages: [1]
anything