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 mayanm

Hello everyone. I am very new to all of this and thought using Impact would be the best way to start. However, I am running into a problem after installing the Entity pack. When I create a new layer and attempt to select a tileset the only option I see is ...parent directory. It is not allowing me to choose any of the Entities that i have. Can you please help?

1 decade ago by dominic

Tilesets are not entities :)

When you create a new layer, you can select a tileset that determines how this layer will look like. A tileset is just an image, that will be automatically sliced up in smaller tiles (determined by the layer&039;s _tilesize_). You can then draw these tiles on the layer, to create you background graphics. Weltmeister searches for .png files in the #media/ directory when you want to select a tileset.

Entities are "things" in the world that you can (typically) interact with. Enemies, destructible crates, movers, invisible triggers etc. All entities are placed on a special layer called "entities" that is always there in Weltmeister. If you select this layer and then press SPACE, you will get the list of entities you can create.

If you have background layer selected (i.e. any layer that is not the entity layer) and press SPACE, you will get the tile selection menu.


Have a look at the Jump'n'Run demo game from your download page. It comes with a small test level that you can load in Weltmeister and play around with. This level has two background layers, some enemy entities and the player entity.

1 decade ago by MikeL

I would add that it helps a lot to follow along with the Create a Game Video and actually build the pong game yourself step by step.

1 decade ago by mayanm

Thank you both. I hve watched the videos. My problem was I just didn't have any tilesets to choose from. Thanks again.

1 decade ago by SpaceHorse

btw, about Entities. I have a question too.
how make the entity invisible in the level editor?
i mean to avoid entity getting to list in level editor.

for example, i have an entity "Particles". and i'm not gonna use it in level editor to put it on a map. i need it only from code. so, are there any parameters in entity which i could set and make it invisible in editor? or i should write it bymyself?

1 decade ago by dominic

Mh, that's a good point SpaceHorse. I'll add a parameter for that!

For now, you can just put those entities that you don&039;t want listed in Weltmeister in a separate directory. E.g. put the particle entity in #lib/game/entities/private/particle.js and change the module name to game.entities.private.particle - or put it directly in lib/game/. Only the lib/game/entities/ directory is scanned in Weltmeister.

1 decade ago by SpaceHorse

Thank you. That's nice.
But anyway maybe i'll implement this parameter 'cause it looks like better solution.

1 decade ago by fugufish

@dominic - good tip with the private folder
Page 1 of 1
« first « previous next › last »