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

Pages: [1] 2
1
Window / cannot see window
« on: December 23, 2011, 10:43:03 am »
You can set position of the windows:
Quote from: "http://www.sfml-dev.org/documentation/2.0/classsf_1_1Window.php"
window.SetPosition (int x, int y);

2
General / problem compiling SFML 2.0 in cygwin
« on: December 23, 2011, 10:32:35 am »
Quote from: "EnigmaticFellow"
should I just try minGW instead? I'm currently trying to do this under a 64-bit Windows 7 system


MinGW work fine for me with Windows 7 64bit or 32bit

3
Window / Closing a window
« on: December 19, 2011, 03:45:44 pm »
http://www.sfml-dev.org/documentation/2.0/
Quote from: "http://www.sfml-dev.org/documentation/2.0/"
Code: [Select]

         // Process events
         sf::Event event;
         while (window.PollEvent(event))
         {
             // Close window : exit
             if (event.Type == sf::Event::Closed)
                 window.Close();
         }

4
General / Compiling a SFML 2.0 project
« on: July 23, 2011, 11:49:22 pm »

5
General discussions / A new logo for SFML
« on: June 07, 2011, 11:35:07 am »
I'm agree with nexus.
For me the old logo show exactly what is the sfml.
:)

6
Graphics / SFML 2.0 RenderImage
« on: March 31, 2011, 11:50:58 am »
I don't know if it's related but under xp I'have seen some strange bug with using vector2f or rect, if I set position of something or use contains whith a rect or vector creating with another vector, the result is a rect/vector with value that not those I have passed, if i create Rect/Vector with using member of vector/rect instead of passing it to function, it works.

For exemple :

Code: [Select]
sprite.SetPosition( object.GetPosition() );// Work on ubuntu but don't on xp.
sprite.SetPosition( object.GetPosition().x,object.GetPosition().y);// Work both ubuntu/xp;


Maybe there is a bug under xp with Vector.
If you check the size of renderImage after create, it give you the good size?

7
Graphics / Super newbie question about blood effect in game
« on: March 16, 2011, 03:38:11 pm »
Hi :)

in many game Blood( like explosion and many other effects) can be done by using "particle",
there is something on the wiki that may help you :
http://www.sfml-dev.org/wiki/en/sources/particle_system

8
General discussions / [SFML 2] I need your help for the ATI fix
« on: March 02, 2011, 03:21:09 pm »
Oups yes i'm not actualy in graphic and made a mistake in my mind :oops:
Quote
Perhaps sf::ThreadLocalContext? Even though "context" may be not clear for beginners, it's probably the most general and exact notion...


I agree.(and will probably name my variable with "context")

Newbie will realy use sfml and graphics without any RenderTarget?

A window, It's the first thing that many tutorial I have seen, show to start.

A good doc with an simple explanation to beginner is more helpfull that just a name that can say something else in an other lib. (personnaly a use more technical/generic name for class name and use a variable name that show what i do with it in actual context)

something like this in doc :
Code: [Select]
   
// Create the main window
// If you want to work on graphics without having any RenderTarget(like RenderWindow, RenderImage,...) you have to create an instance of sf::???????.
// ex: sf::ThreadLocalContext BackGroundGraphic.
sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window");


Will more help me that just the name of this object and i have both technicaly name and meagningfull explanation of it.

If I begin, I just need this and if I want to know more I can see the doc for more detailled explanation.
Or search on web these term : thread, Context.(and if i'm not english  BackGround :D)

9
General discussions / [SFML 2] I need your help for the ATI fix
« on: March 02, 2011, 11:51:00 am »
Quote

I'd like to keep full words, this is one of my coding rules. So we'd be back to sf::Initialize(r).


I have the same rule :D

I think just "Initialize", "start" or "Render" won't be good for newbie, because they need to know what they init with it.

It's an action and we need to know on what this action ,... "act" and here we just create something so a verb (alone) is not a good idea I think.

Maybe somthing like "sf::InitializeRender" will be better than just "sf::Initialise"

Or much like say Devlin
Quote
sf::GraphicsEnabler;


or sf::Draw(ing)Enabler;

After all It's an objet that let us "Draw" something without an active render target.

And sorry for my english :s

10
General discussions / [SFML 2] I need your help for the ATI fix
« on: March 02, 2011, 12:56:29 am »
Hi!  (sorry for my English ^^)

sf::GraphicsRoot : because without it the rest can't stand up :p
sf::GraphicsInit     : because we have to create it first.
sf::GraphicsContext : because without context we don't see anything :p

Or just ArtworkThreadInitialiser :D

*run far far away...*

With only the main thread we need this one? or it's just  with more than one thread?

11
SFML projects / ParabolaEngine - 2D Game Framework
« on: February 28, 2011, 11:53:44 pm »
Nice website  :D

12
Graphics / Roll over images
« on: February 18, 2011, 09:53:15 am »
Hello,

you can use something like this :

Code: [Select]

if (mySprite.GetSubRect().Contains(mousePos.x, mousePos.y)
{
 //...
}

13
General discussions / Windows (focus, decoration...) and spatial sound
« on: February 15, 2011, 06:13:03 pm »
Hello,

With sfml2 you can have undecorated window (in 1.6 I don't know)
with using style::None when creating  a window.

but if by focus request you mean that sfml  say if you gain or lost focus on a window if it's not in sfml1.6 I have see it in sfml2.
http://www.sfml-dev.org/documentation/2.0/classsf_1_1Event.htm#af41fa9ed45c02449030699f671331d4a

bye (and sorry if my english is not good ^^)

14
General discussions / OpenGL and SFML
« on: February 09, 2011, 01:35:48 am »
Oups sorry for french link (i'm french ^^)

I think you've not link openGl lib

15
General discussions / OpenGL and SFML
« on: February 09, 2011, 01:06:26 am »
There is sample named "OpenGL" you can start here :p
And : http://www.sfml-dev.org/tutorials/1.6/window-opengl-fr.php

May be this site can help you
http://nehe.gamedev.net/

Good luck ;)

Pages: [1] 2
anything