Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Trouble compiling packages  (Read 3377 times)

0 Members and 1 Guest are viewing this topic.

G.o.D

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • View Profile
    • Homepage
Trouble compiling packages
« on: June 06, 2008, 06:53:25 AM »

Hello,

so i have finished my first room and want to build a package.

if i run the game by pressing f5, everything just works fine, but when compiling the package and running it from the packages directory, there are a lot of things missing and the game gets unplayable.

the following facts are common between the missing sprites in the scene:

  • All missing sprites are set *not* active as initial state in the scene and activated later by script
  • All missing sprites are animations
  • It seems (though not sure) that all missing sprites are lying under the \entities directory

any ideas what could go wrong here?

thanx in advance
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Trouble compiling packages
« Reply #1 on: June 06, 2008, 07:00:04 AM »

In ProjectMan, go to Project -> Project settings. Check the "Enable error logging" check-box. Compile game, run the compiled game, examine the generated wme.log. It will tell you which files cannot be found, and from the filenames it should be apparent why.
« Last Edit: June 06, 2008, 07:11:41 AM by Mnemonic »
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

G.o.D

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • View Profile
    • Homepage
Re: Trouble compiling packages
« Reply #2 on: June 06, 2008, 07:13:02 AM »

Great, thank you very much

i have set the sprites via something.SetSprite("data\entities\....") which works when running it from wme project manager, but i had to remove data\ for getting it to work from the compiled game
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Trouble compiling packages
« Reply #3 on: June 06, 2008, 07:16:05 AM »

Yes, the package name must not be used in the filenames.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.05 seconds with 19 queries.