Project

General

Profile

Bug #733

Actor command can't find images in subfolders of AOZ Drive. (This used to work.)

Added by Brian Flanagan almost 3 years ago. Updated almost 3 years ago.

Status:
Feedback
Priority:
High
Target version:
-
Start date:
04/23/2021
Due date:
% Done:

0%

Estimated time:
4:00 h
Affected version:

Description

Example:

Actor "beam",image$="beam.png" // This USED TO work, but now fails with Image Not Defined error.

The actual path for the above file is:
AOZ Drive/resources/images/Asteroids/Magic/beam.png

Actor will only find image files in the root of the images folder:
AOZ Drive/resources/images

#1

Updated by Brian Flanagan almost 3 years ago

  • Priority changed from Normal to High
#2

Updated by Brian Flanagan almost 3 years ago

  • Assignee set to Baptiste Bideaux
#3

Updated by Baptiste Bideaux almost 3 years ago

  • Status changed from New to Resolved

It's solved. The Transpiler goes through all the files in AOZ Drive and takes into account the first file found in the list.

#4

Updated by Brian Flanagan almost 3 years ago

  • Affected version changed from 1.0.0 (B7) to 1.0.0 (B8)

Re-tested in 1.0.0 (B8) macOS

The problem is worse than before.
Now it won't find ANY files on the AOZ Drive!
For example:

Actor "magician",Image$="magic.png"

...causes the transpiler to crash.

...Compiler error: crash during compilation: Pass: 2, crash at line 0, column 35!  The "path" argument must be of type string.  Received type undefined...
#5

Updated by Brian Flanagan almost 3 years ago

  • Status changed from Resolved to Feedback
#6

Updated by Brian Flanagan almost 3 years ago

NOTE: This appears to work fine in Windows, but fails in macOS.

Also available in: Atom PDF