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 - JeZ-l-Lee

Pages: 1 2 [3] 4 5 6
31
Window / Joysticks DO NOT Work On Windows Vista OS...
« on: March 06, 2009, 11:49:48 pm »
Quote from: "Laurent"
It will be hard to fix, as I have no Vista and no DualShock joystick to reproduce the problem.



Hi,

I need this working for my next game...
You are a genius, figure something out...

I am here to test when you are ready.

32
Window / Joysticks DO NOT Work On Windows Vista OS...
« on: March 06, 2009, 08:21:26 pm »
When you think it is fixed let me know and i will test here...



33
Window / Joysticks DO NOT Work On Windows Vista OS...
« on: March 06, 2009, 07:26:23 pm »
Quote from: "Laurent"
The same way as with any other Windows OS.

Maybe you can find a non-DualShock joystick to test? Or a non-Vista Windows? :D




Hi,

This joystick setup works in SDL 1.2, why not working in SFML 1.4+SVN ???

34
Window / Joysticks DO NOT Work On Windows Vista OS...
« on: March 06, 2009, 07:20:33 pm »
Quote from: "Laurent"
It works fine for me.

Maybe there's a problem with DualShock joysticks, I remember someone having a similar problem on this forum.




Hi,

These two joysticks are recognized by Vista as standard game controllers.
(no drivers)
This is should work in SFML 1.4+SVN but it does not.

How are you handling joysticks on Vista OS ??

35
Window / Joysticks DO NOT Work On Windows Vista OS...
« on: March 06, 2009, 06:50:00 pm »
Quote from: "Laurent"
No. Can you show a complete and minimal example that reproduces the problem? So that I can try myself and see if there's a bug.



Hi,

Sorry for the delay.
Here is a simple test program to test both joysticks:
http://silentheroproductions.com/files/SFML_Joysticks_Test.zip


I am getting nothing from my two joysticks on Windows Vista.
I have a unique setup - two PS2 Dual Shock joysticks...
Both joysticks are recognized by Vista as standard game controllers.
(i checked in Control Panel)

Hope you can fix this issue soon.

36
Window / Joysticks DO NOT Work On Windows Vista OS...
« on: March 06, 2009, 12:11:47 am »
Joysticks DO NOT Work On Windows Vista OS...

Hi,

I am trying to get my joystick to work on Windows Vista using SFML 1.4 + SVN...


I am using:
Code: [Select]
const sf::Input& Input = visuals->App.GetInput();

JoystickAxisX = Input.GetJoystickAxis(0, sf::Joy::AxisX);

to get the X axis of my joystick, but it is always 0 ???

Am I doing something wrong ?

37
Graphics / .SetBlendMode(sf::Blend::None); has no effect...
« on: March 02, 2009, 05:25:36 pm »
Quote from: "Laurent"
I think you misunderstand what the blend mode is ;)

Here it's working perfectly, otherwise your transparent white would be transparent. If you're talking about disabling the pixel bilinear filter, you should rather try calling SetSmooth(false) on your image.



YES, it works now by calling the other function!!!!

Thanks man, was trying to get this to work for 3 hours....

38
Graphics / .SetBlendMode(sf::Blend::None); has no effect...
« on: March 02, 2009, 05:08:07 pm »
Quote from: "Laurent"
Can you please give more details?


Hi,

Yes here is some more detail:
(OS is Windows Vista 32bit SP1)




Code: [Select]
//----------------------------------------------------------------------------------------------------------
bool Tiles::LoadAndInitializeTiles(void)
{
int posX;
int posY;
int tileWidth = 32;
int tileHeight = 32;
sf::IntRect rect;
sf::Color transparentColor;
sf::Color colorToSetNoTransparency(126, 0, 0, 255);

SelectedTile.Resize(32, 32);
SelectedTile.SetColor( sf::Color(0, 0, 0, 128) );

TilesSheet = new sf::Image;
if (!TilesSheet->LoadFromFile("data/graphics/in_game/SMBEnginE.png"))
return EXIT_FAILURE;

posX = 0;
posY = 0;

transparentColor = TilesSheet->GetPixel(posX, posY);

rect.Top = posY + 1;
rect.Bottom = posY + 1 + tileHeight;
rect.Left = posX + 1;
rect.Right = posX + 1 + tileWidth;

if (!TilesArray[0].TilesImage.LoadFromFile("data/graphics/in_game/32x32.png"))
return EXIT_FAILURE;

TilesArray[0].TilesImage.Copy(*TilesSheet, 0, 0, rect);

if (transparentColor != colorToSetNoTransparency)
TilesArray[0].TilesImage.CreateMaskFromColor(transparentColor, 0);

TilesArray[0].TilesSprite.SetImage(TilesArray[0].TilesImage);

TilesArray[0].TilesSprite.SetBlendMode(sf::Blend::None);

TilesArray[0].TilesSprite.SetCenter(TilesArray[0].TilesSprite.GetSize() / 2.f);

delete TilesSheet;
return EXIT_SUCCESS;
}
//----------------------------------------------------------------------------------------------------------

39
Graphics / .SetBlendMode(sf::Blend::None); has no effect...
« on: March 02, 2009, 03:00:03 pm »
Hi,

Trying to turn OFF blending for a Sprite.

MySprite.SetBlendMode(sf::Blend::None); has no effect...

Using current SFML from SVN

Any help would be appreciated...

40
Quote from: "Core Xii"
Someone correct me if I'm wrong here but isn't it illegal to use the ® symbol if the trademark isn't actually registered?

You can't just add ® everywhere irresponsibly. It actually means something. As far as I know SFML is not a registered trademark, so you cannot add the symbol on the SFML logo (or your own Silent Hero Productions for that matter, unless you've actually registered it with your local patent and trademark office).


Oh its the jerk that said earlier that I would not complete this game...
LastDefense 100%™

A 100% by JeZ+Lee™

(C)opyright 2009, by Silent Hero Productions(R)

RELEASE DATE:
02/25/2009

41
Hi...

Was hoping for more feedback, as this is my 1st try at SFML.

Anyway, I am happy to report that after just two weeks,
my SFML based 2d shooter called "Last Defense 100%™"
has officially gone BETA...

Please check it out!  It is 100% stable and 90% completed...
I'll put the finishing touches on it this upcoming week.

Thanks, SFML Rocks!!!

42
Window / Pressing [Alt] opens game window's menu-How to stop this ???
« on: February 20, 2009, 06:50:42 pm »
Pressing [Alt] opens game window's menu-How to stop this ???

JeZ+Lee

43
General / When will SFML be updated to 1.4+ on Ubuntu Linux ??
« on: February 17, 2009, 10:52:34 pm »
When will SFML be updated to 1.4+ on Ubuntu Linux ??

I try to build and run my SFML demo
on Ubuntu Linux but it does not work.

Ubuntu Linux has 1.2-2 version
and my demo written using 1.4+SVN
It will not build on Ubuntu.

Please advise...

44
Audio / Suggested format for Sound ?
« on: February 17, 2009, 07:03:56 pm »
Suggested format for Sound ?

What format does the Sound's WAV file need to be in?

45
General / Joystick not working - using SFML 1.4+SVN Win32...
« on: February 15, 2009, 04:18:49 pm »
Joystick not working - using SFML 1.4+SVN Win32...

Hi,

I am not getting anything for the X/Y axis
on my joystick using SFML 1.4+SVN on Windows.

I have a unique setup:
- Windows Vista SP1 32bit
- Super Dual Box Pro (dual PlayStation2 joystick USB adapter)
(have one PS2 joystick plugged into port "Player 1")

Here is my test source:

Code: [Select]
const sf::Input& InputTest = visuals->App.GetInput();

sprintf(visuals->VariableText, "%f", InputTest.GetJoystickAxis(0, sf::Joy::AxisX));
visuals->DrawTextOnScreenBuffer(visuals->VariableText, 22, sf::Color(255, 255, 255, 255), sf::Color(0, 0, 0, 255), true, 5, 525, TextLeft);

sprintf(visuals->VariableText, "%f", InputTest.GetJoystickAxis(0, sf::Joy::AxisY));
visuals->DrawTextOnScreenBuffer(visuals->VariableText, 22, sf::Color(255, 255, 255, 255), sf::Color(0, 0, 0, 255), true, 5, 550, TextLeft);


I tried different things, but nothing seems to be working on my side.
Any help you can offer me would be appreciated...

Pages: 1 2 [3] 4 5 6
anything