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 Slither

hey,
I've a few questions, I'm a total beginner with impactjs, also in javascript it self...
But since I saw impact games I want to make one...
I've already learned php,mysql,html and c++ and a few other coding language.

At the moment I just played a bit around with impact, made some easy things...
Now:
-I wanted to know how can I the arrow key movement change to a mouse controll movement?

-I wanted to make a second level, how can i make this and how can I set a Trigger?

As I say I'm pretty new to impact but I really liked it . :)
Thanks 4 Help

(My english is really bad sry for that)

1 decade ago by Slither

nobody?

1 decade ago by dominic

Your questions are quite generic; not easy to answer. Try to be a bit more specific. What have you tried? Where are you stuck?

For mouse control, you can read the current mouse position from ig.input.mouse.x and ig.input.mouse.y, mouse buttons can be bound just like keyboard keys: ig.KEY.MOUSE1. There's more info on the ig.Input documentation.

Regarding a second level and triggers, check the Biolab Disaster Entity Pack from your download page - it contains a LevelChange entity that can be wired up to a trigger. Watch the Working with Weltmeister video to see how Entities can be connected.
Page 1 of 1
« first « previous next › last »