Hello,
I was wondering if somebody can show me an example module of how to implement this typewriter plugin (used in amat's game Arkham Mayhem):
http://ausajocs.com/typewriter.js
(Referenced from this thread:
http://impactjs.com/forums/games/arkham-mayhem)
I don't really know where to put what, other than placing the plugin in the 'requires' section.
Thank you.
1 decade ago
by stillen
I wrote something similar but as an entity
https://github.com/stillenklipse/impactjs.textplayer-entity
you can just add this into any level or spawn it when needed on screen. The settings are pretty basic. If you drop it in the level editor it just works with "greeking" as an example.
Hello,
Thank you for this. However, it's not working (at least for me). I added it to Weltmeister, and I can position it. But,
a) I don't see it anywhere when I go to play my game, and
b) it keeps resetting to the same odd coordinates when I re-open Weltmeister (960, 471.5).
Do you know why this is happening?
I even added 'gravityFactor: 0' to it in case gravity was affecting it.
This entity could be very helpful to me, if I can get it working properly.
Hey, never mind, I happened to figure it out. Commenting out
this.pos.x = ig.system.width/2;
this.pos.y = ig.system.height/2;
in the textplayer's init method stopped the odd repositioning in Weltmeister.
And I got the text to appear. I didn't realize you had to run into it to make the text print out. My text was also white, and on a (near) white background. Once I put some black borders around it, I could see it.
Sorry for blaming your entity, it was I who was at fault. Thank you for this :)
1 decade ago
by stillen
No worries, I didn't document it or put a demo together, for it. I just put it out there b/c I had trouble figuring out how to make an effect like this and figured if it helped someone else, I'd consider it a success.
Page 1 of 1
« first
« previous
next ›
last »