Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CHALLANGE ! Dangerous Maze
#7
(12-04-2023, 05:47 PM)justsomeguy Wrote: My apologies, my comment wasn't very helpful. It appears to have trouble with the slashes in the filename strings.


[Image: error.png]

I'm able to get it to work if I change the direction of the slashes.

Code: (Select All)
hf = _LOADFONT("need/textures/prototype.ttf", 70)
After that I get...


[Image: error2.png]

I've isolated that to ...

Code: (Select All)
_SOURCE uni_bord
 
Which is set by ...

Code: (Select All)
uni_bord = _LOADIMAGE("need\menu\bord\uni_bord.jpg", 32)
Switch the slashes and I get further.

In conclusion Linux uses forward slashes and Windows it is backslashes.

Great work though! Keep it up! I look forward to seeing it run in Linux.
QB64 is supposed to handle the slashes underneath when running on various operating systems, or so I thought.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
CHALLANGE ! Dangerous Maze - by MasterGy - 12-03-2023, 06:15 PM
RE: CHALLANGE ! Dangerous Maze - by mnrvovrfc - 12-03-2023, 07:40 PM
RE: CHALLANGE ! Dangerous Maze - by justsomeguy - 12-04-2023, 03:56 AM
RE: CHALLANGE ! Dangerous Maze - by MasterGy - 12-04-2023, 03:19 PM
RE: CHALLANGE ! Dangerous Maze - by justsomeguy - 12-04-2023, 05:47 PM
RE: CHALLANGE ! Dangerous Maze - by MasterGy - 12-04-2023, 06:12 PM
RE: CHALLANGE ! Dangerous Maze - by TerryRitchie - 12-04-2023, 06:12 PM
RE: CHALLANGE ! Dangerous Maze - by MasterGy - 12-04-2023, 06:14 PM
RE: CHALLANGE ! Dangerous Maze - by TerryRitchie - 12-04-2023, 06:20 PM
RE: CHALLANGE ! Dangerous Maze - by justsomeguy - 12-04-2023, 07:04 PM
RE: CHALLANGE ! Dangerous Maze - by mnrvovrfc - 12-04-2023, 07:24 PM
RE: CHALLANGE ! Dangerous Maze - by MasterGy - 12-04-2023, 08:37 PM
RE: CHALLANGE ! Dangerous Maze - by justsomeguy - 12-04-2023, 09:26 PM
RE: CHALLANGE ! Dangerous Maze - by MasterGy - 12-28-2023, 11:36 AM



Users browsing this thread: 1 Guest(s)