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

Pages: 1 2 3 [4]
46
General / Re: hiding console - command and subsystem
« on: March 06, 2013, 03:37:58 pm »
For anyone else who searches for how to do this, you don't need to look for a solution through SFML. Looking for a solution through the language you're using will probably be easier.

For example this little piece of code hides the console window in C++:
Code: [Select]
#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <iostream>

int main()
{
    HWND hWnd = GetConsoleWindow();
    ShowWindow( hWnd, SW_HIDE );

    return 0;
}

47
Graphics / Re: Problem with tile map
« on: February 02, 2013, 03:10:52 am »
Found out how to stop this. Just moved to SFML2 haha.

48
Graphics / Problem with tile map
« on: February 01, 2013, 11:53:40 pm »
hey all!

I seem to be having a problem with drawing map tiles next to each other. They're normal sprites, tried both .png and .jpg to see if it made a difference and it didn't. Basically, when I'm drawing sprites next to each other, there's a very noticeable gap.
 


The gap on the right is with putting the first map (on the left) at (0,0) and the map on the right at (900,0). Both maps are 900px wide so I don't see why there's a gap. Also, when I moved the left map piece down by 1px you can see it replaces the gap between the left tile and the bottom left tile, but there's an overlay problem there!

I've moved the left tile down by 29 more pixels so you can clearly see the overlapping problem!



Please help! :(

Pages: 1 2 3 [4]
anything