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.


Topics - CptnRoughnight

Pages: [1]
1
System / Only 2 keys at the same time
« on: September 21, 2016, 11:27:11 am »
Hi dudes,

I've searched for several days now and did'nt find anything. I'm writing an asteroids-like game (classic and extended version) and I'm stuck at Game Input. My Gameloop follows the instruction from http://www.koonsolo.com/news/dewitters-gameloop/ .

All is working fine, gameloop,interpolation movement. But if I want to fly my ship away from those nasty asteroids and start shooting another the input stucks at two keys. So I can accelerate and rotate, or accelerate and shoot, or rotate and shoot. But not accelerate,rotate and shoot at the same time.

I'm using SFML 2.1(config.hpp) on Linux Mint 17.1. I query the keys by using

if (sf::Keyboard::isKeyPressed(sf::Keyboard::Left))
{
           // rotate
}
 

Can someone help me to figure out the problem?

regards
CptnRoughnight

2
DotNet / C# UserControl
« on: December 04, 2015, 12:24:14 pm »
Hi folks,

I've started a project in Visual C# 2010 using SFML 2.2-64bit . The testproject as copied from http://en.sfml-dev.org/forums/index.php?topic=12466.msg87073#msg87073 works just fine.

Now I want a User Control to add SFML per Drag&Drop to my form. I used this : http://en.sfml-dev.org/forums/index.php?topic=12712.0. Building the project gives me the following error :

...\SFML.Net-2.2\lib\sfmlnet-graphics-2.dll or a dependency was not found: (Exception from HRESULT: 0x80131515)

I've added the libs as reference and the files in extlib to the project with the property "Copy, if newer".

What have i forgotten?


Pages: [1]
anything