distance or angle from Sprite to TiledBackground

Discussion and feedback on Construct 2

Post » Sun Aug 28, 2011 5:33 pm

hello.
In trying to find either distance or angle from a Sprite to a TiledBackground I'm running into problems.   

In the example .capx I try to set text to either of the above resulting in the preview not running at all "all gray screen"
not sure where I went wrong.
thanks in advance for any help.

link to .capx
B
84
S
12
G
9
Posts: 99
Reputation: 9,508

Post » Sun Aug 28, 2011 6:02 pm

Oops, you found a bug! Fixed, should work in the next build. If it's urgent, paste this runtime.js over the one in <install path>\exporters\html5\plugins\tiledbg\, restart C2 and it should then work.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Sun Aug 28, 2011 6:24 pm

Woohoo I did something useful.
Thanks for the reply and Help Ashley.

[edit] just tried it and works perfect. onzephyr2011-08-28 18:30:10
B
84
S
12
G
9
Posts: 99
Reputation: 9,508

Post » Sun Aug 28, 2011 7:47 pm

OK. New problem with TiledBackgrounds that maybe related maybe not. I can't seem to compare a Tiledbackgrounds instance variables. without going gray. with either the old or new runtime.js

link to .capx updated version
http://dl.dropbox.com/u/3285817/distance_tiledbackground.capx
B
84
S
12
G
9
Posts: 99
Reputation: 9,508


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests