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 sirius

hi Dominic,great job .I love this engine,for the pretty code and pretty document.
Here is some question about the engine:
1 Will the entity module support input event?
2 Will the map editor support more entity edit features?
3 Is there a road map for the engine?

1 decade ago by dominic

1. Input is handled by ig.input(). You can certainly check for in input in an Entity. Look at the Jump'n'Run demo for an example. All the input handling is in the Player entity itself.

Input in Impact is not "evented". You have to poll for button presses. This is generally much, much more convenient for real time games.

2. Like what? I want to add a "hint" system for the key/values that you can give an entity.

3. Nope, sorry. I'm terribly unorganized when it comes to this :/

1 decade ago by stahlmanDesign

@ dominic, you mentioned slopes were coming in version 1.19. Is there a way to anticipate this and build a map accordingly? For example, will you use a special image on the collision layer to indicate a slope?

Imagine designing a level in WM where all your ground is the first image in the collision tileset (that would be the pink S in jump n' run & Biolab Disaster). And for a slopeLeft would you just assign a different coloured tile to the collision layer. For slopeRight, yet another coloured tile on the collision layer. That's how I imagine I would do it. In fact, it wouldn't be hard to do now if all a person wanted was 45° sloping.

And one more thing I would add. If the slope tile is detected, but you are pressing horizontally against it, it would allow you to walk up without jumping. That would be really useful.
Page 1 of 1
« first « previous next › last »