Urkle
FG - Associate
Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation:
21
|
RE: PointLight2D?
Basic Engine flow (with respect to resource locations)
You create then engine and then add search paths (from the resources.cfg)
when a resource is requested (ie.. via that Create2D call) the resource manager is queried to locate that asset.
Since all of the resource paths are provided to the engine as "Relative", the working directory of the program MUST be in the same directory. So if you are running one of the tests in the hpl1engine, they must be run from the "assets" folder to be able to locate the resources.
Now, for running the Penumbra Overture game, you need to run the executable within the redist folder from a purchased copy of Penumbra Overture. This is because the assets provided in the HPL1Engine are only the common and sample assets used by the opensourced engine directly (licensed under the CC license).
Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
|
|
07-22-2010, 11:37 PM |
|