Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UnseenGDK2 Dev - Star Wars Saga
#11
I tried again and had the same issues I had initially:

Quote: it would still lock up with errors when trying to select a ship or control the ship when I got into to the game.
Ran the program in 4.1 and also tried 2.1 to see if there was a difference, but there wasn't. Main issue was that the controls didn't work once the game started.

I changed a few values:

Code: (Select All)
                    If GDK_GPad(0).LS_X < -.25 Or GDK_GPad(0).POV_L Or GDK_KB(0).Left Then
                        Player.Ship.Object.Rotation = Player.Ship.Object.Rotation + 1
                    ElseIf GDK_GPad(0).LS_X > .25 Or GDK_GPad(0).POV_R Or GDK_KB(0).Right Then
                        Player.Ship.Object.Rotation = Player.Ship.Object.Rotation - 1
                    End If


                    If GDK_GPad(0).A Or GDK_KB(0).Up Then '// Acceleration \\
                        Player.Ship.Emitter.X = 0: Player.Ship.Emitter.Y = 0
                        Player.Ship.Emitter.Rotation = Player.Ship.Object.Rotation
                        Player.Ship.Object.Speed = 100
And there was a response, so input handling itself isn't an issue.
Reply
#12
DAMNATION!!! Ill have to get a newer computer then!

Thanks again

John
Reply
#13
[Image: image.png]

I had to make a few changes to paths in the INCLUDE files, but nothing major.

BI file: 
Code: (Select All)
Rem $Include:'..\..\UnseenGDK\GDK\UnseenGDK.bi'
Rem $Include:'..\..\UnseenGDK\GDK2\GDK2_Constants.bi'
Rem $Include:'..\..\UnseenGDK\GDK2\GDK2_Types.bi'
Rem $Include:'..\..\UnseenGDK\GDK2\GDK2_Ini.bi'


BM file:
Code: (Select All)
REM $INCLUDE:'..\..\UnseenGDK\GDK\UnseenGDK.bm'
REM $INCLUDE:'GDK2_Input.bm'
REM $INCLUDE:'GDK2_System.bm'
REM $INCLUDE:'GDK2_Texture.bm'
REM $INCLUDE:'GDK2_Game_Object.bm'
REM $INCLUDE:'GDK2_Animation.bm'
REM $INCLUDE:'GDK2_Sprite.bm'

After this, both the BAS files compiled and ran for me. The Star Wars game errored out with the screenshot above, but the racing game ran and did fine, without any issues.

Whatever small glitches there are, I don't think there's anything major in these. Any code changes necessary should be few and easy to make (like the paths above), once you figure out where the issue lies. (That's always the hard part.) Wink

(And the path issue with the $INCLUDE files may just be from me not extracting to the QB64PE folder, but an independent folder instead and using the "Include EXE with Source" option.)
Reply
#14
Okay, well ill persevere then but I think a new laptop is needed! The GDK2_System_New command uses CHDIR so unless youre root folder is UnseenGDK\ then it may error...

Thanks folks, makes me a bit more cheerful

Unseen
Reply




Users browsing this thread: 1 Guest(s)