Actor CollisionType Elastic

22 views
Skip to first unread message

marv.in...@gmail.com

unread,
Sep 11, 2017, 4:05:16 PM9/11/17
to excaliburjs
Hi,

I am working myself through the getting started guide of the engine and am stuck, trying to get the ball to bounce.
I am using Typescript and the latest stable release. I am not able to find any reference to CollisionType.Elastic in the excaliburjs-api documentation nor in the the typings.d files.
My guess is that either the guide is outdated, or the API and the typings.

Would love some guidance on this :)

Erik Onarheim

unread,
Sep 11, 2017, 8:43:58 PM9/11/17
to marv.in...@gmail.com, excaliburjs
Hi Marv,

You'd be correct ex.CollisionType.Elastic was removed in the last release and the docs were not updated accordingly. I've updated the code, and hopefully we'll have it merged into master tonight and rebuilt on the doc site.

Here is the PR for the fix if you want to get a head start https://github.com/excaliburjs/Excalibur/pull/881

New fiddle with updated code: https://jsfiddle.net/excaliburjs/6Ay9S/ 

Apologies,
Erik

--
You received this message because you are subscribed to the Google Groups "excaliburjs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to excaliburjs...@googlegroups.com.
To post to this group, send email to excal...@googlegroups.com.
Visit this group at https://groups.google.com/group/excaliburjs.
To view this discussion on the web visit https://groups.google.com/d/msgid/excaliburjs/4ac548da-271b-49ba-8669-c64dce171305%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marv Allgemein

unread,
Sep 12, 2017, 1:01:56 AM9/12/17
to Erik Onarheim, excaliburjs
Thanks! 
No need to apologize, stuff like that happens :)

Am 12.09.2017 02:43 schrieb "Erik Onarheim" <erik.o...@gmail.com>:
Hi Marv,

You'd be correct ex.CollisionType.Elastic was removed in the last release and the docs were not updated accordingly. I've updated the code, and hopefully we'll have it merged into master tonight and rebuilt on the doc site.

Here is the PR for the fix if you want to get a head start https://github.com/excaliburjs/Excalibur/pull/881

New fiddle with updated code: https://jsfiddle.net/excaliburjs/6Ay9S/ 

Apologies,
Erik

On Mon, Sep 11, 2017 at 3:05 PM <marv.in...@gmail.com> wrote:
Hi,

I am working myself through the getting started guide of the engine and am stuck, trying to get the ball to bounce.
I am using Typescript and the latest stable release. I am not able to find any reference to CollisionType.Elastic in the excaliburjs-api documentation nor in the the typings.d files.
My guess is that either the guide is outdated, or the API and the typings.

Would love some guidance on this :)

--
You received this message because you are subscribed to the Google Groups "excaliburjs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to excaliburjs+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages