# Madokan

**URL:** <https://forum.kirupa.com/t/madokan/14814>\
**Category:** Uncategorized\
**Created:** [March 3, 2003, 3:40am UTC](https://forum.kirupa.com/t/madokan/14814 "2003-03-03T03:40:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![geestring](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@geestring](https://forum.kirupa.com/u/geestring)\
**Post date:** [March 3, 2003, 3:40am UTC](https://forum.kirupa.com/t/madokan/14814/1 "2003-03-03T03:40:24Z")

</div>

you posted up yor actionscript for random movement. how would i change it to make the boundaries like a diamond shape instead of a box? cuz my background will be 3d and i want it to look like its on it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 3, 2003, 3:53am UTC](https://forum.kirupa.com/t/madokan/14814/2 "2003-03-03T03:53:10Z")

</div>

put the 3d image in flash and mask it with the random movement stuff.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 3, 2003, 6:08pm UTC](https://forum.kirupa.com/t/madokan/14814/3 "2003-03-03T18:08:04Z")

</div>

please do not post the same question twice.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 3, 2003, 6:23pm UTC](https://forum.kirupa.com/t/madokan/14814/4 "2003-03-03T18:23:27Z")

</div>

it wasn’t me it was another guy

swolz, but i want the balls to bouce off those walls

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 3, 2003, 8:33pm UTC](https://forum.kirupa.com/t/madokan/14814/5 "2003-03-03T20:33:09Z")

</div>

Just some hints: You will need a virtual z-Coord, with a bit more math, or just play with \_xscale/\_yscale and swapdepht. 🙂

yours  
Matze K.
