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

Pages: [1]
1
Window / [Solved] Mouse and keyboard using.
« on: November 11, 2010, 11:27:06 am »
Thanks for help! :)

2
Window / [Solved] Mouse and keyboard using.
« on: November 10, 2010, 10:08:58 pm »
Hello.
Can anyone tell me the easiest way to use:

1. Mouse motion simulation.

For example:

Quote
newX = 300
newY = 500

MouseMoveTo(newX,newY)


2. Keyboard presses simulation.

For example:
Quote

newKey = "F3"

Keypress(newKey)

3
Graphics / Polish characters
« on: October 21, 2010, 02:50:11 pm »
BUMP

Please help me!

4
Graphics / Polish characters
« on: October 19, 2010, 05:14:24 pm »
Hi!

I don't know how to use Polish characters for SFML.

German characters are working:
Code: [Select]
Title.SetText("ü, ß, ä, ö");

But if I use Polish font and characters they don't work.
Code: [Select]
Title.SetText("ł, ź, ń, ś, ó");

How can I use Polish characters with Polish words, not 0x...?
Code: [Select]
Uint32 MyCharset[] = {0x4E16, 0x754C, 0x60A8, 0x597D, 0x0}; // a set of unicode chinese characters

5
Window / MouseOver
« on: October 08, 2010, 02:28:18 pm »
Quote from: "Hiura"
What is exactly your problem (how this mouse over function is called?...) ? What have you done so far ?


Thanks for reply. I'm having problem with function MouseOver. I don't know how to use it.

Code: [Select]
bool MouseOver(sf::Test  &Test)
{
// Do something
}

Test is sprite, yes?

6
Window / MouseOver
« on: October 08, 2010, 08:24:39 am »
Hi!

I'm having problem with MouseOver function.

I want to make:
Quote
If mouse is over object and I click left mouse button
// Do something


Code:
Code: [Select]
bool MouseOver(sf::Test  &Test)
{
if (App.GetInput().IsMouseButtonDown(sf::Mouse::Left)) /*Do something*/();
}

Pages: [1]
anything