2D platformer tutorial (darkGDK) part 2
Loading...
601
views
Loading...
Uploader Comments (pqowieuryt101)
see all
All Comments (8)
-
sir..y my blocks our so close to each other...??:)))
-
@pqowieuryt101 Hey, do you have any idea yet on what could be causing it? Because this has been bugging me for days now xD
-
Thats what I was thinking too, but I have it in the exact same place as you:
void DarkGDK ( void )
{ // turn on sync rate and set maximum rate to 60 fps dbSyncOn ( ); dbSyncRate ( 60 ); dbSetDisplayMode(500,900,32); loadMedia(); generateLevel(40,40,11); // our main loop while ( LoopGDK ( ) ) { etc.
Loading...
Great tutorial, again.
I have one problem however, which I've had since part one:
Even if I use dbSetDisplayMode(500,900,32);, the window is still of the same dimensions as the default (if I take the line away, nothing changes)
Do you know how that could be?
AWES0MEVIDS 1 year ago
@AWES0MEVIDS hmm are you sure you have it in the right place? It should be in the main void DarkGDK ( void ) function just after the first sync...
pqowieuryt101 1 year ago
@pqowieuryt101 Wow, I actually just figured it out...
You set the resolution of the window to 500,900 and it didn't work for me because the height of my own screen is actually 900 pixels (1440x900). I guess that, with the taskbar and everything, darkGDK just doesn't let you fill the whole screen in the length, while not doing so in the width or something.
AWES0MEVIDS 1 year ago
@AWES0MEVIDS ahh good job figuring that out, I would never of thought of that...
pqowieuryt101 1 year ago