Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by SnakePlissken

Hey so I have just purchased this product and trying to understand the basics currently. I have a decent background in javascript so I'm not a complete noob to programming. However I can not get the most basic of tasks to work in this engine. I am trying to just create a level with the level creator and then load it on the screen using the base index.html given. I am adding the game.levels.(levelname) in the requires of the main.js and I am adding this.loadLevel( Level(name of level) ). However all I get is a blank canvas that seems to be sized correct but no images. What I am doing wrong here?

1 decade ago by SnakePlissken

After about an hour of pounding away and trial and error I finally got it to work the main problem was an entity was trying to load for some reason but was nowhere in the code. I just deleted the engine folder and copied a new one and then recreated my level and main.js code.

1 decade ago by dominic

I guess you still had this entity in your level file?

The module that Weltmeister creates when saving a level will require all entity modules that are used by it. This automatic require() was added in 1.19 and was supposed to make things simpler :F
Page 1 of 1
« first « previous next › last »