# Game: Arkanoid

**URL:** https://forum.kirupa.com/t/game-arkanoid/14292
**Category:** flash
**Created:** [February 24, 2003, 6:26pm UTC](https://forum.kirupa.com/t/game-arkanoid/14292 "2003-02-24T18:26:48Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![pom](https://avatars.discourse-cdn.com/v4/letter/p/f07891/32.png) [@pom](https://forum.kirupa.com/u/pom)
#### Post date: [February 24, 2003, 6:26pm UTC](https://forum.kirupa.com/t/game-arkanoid/14292/1 "2003-02-24T18:26:48Z")

</div>

I hope you guys know that game, Arkanoid. I’m not sure you call it the same, so just to make be sure, it’s that game where you have a bar which you use to destroy bricks with a ball. Best description I can make.

Anyway, I was wondering if anyone could tell me if they know a simple way to know which side of the brick the balls hits. I’m having a hard time figuring that out ☹

pom :love:

[SIZE=1]Hehe, first question in a long time :beam:[/SIZE]

---

<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: [February 24, 2003, 6:38pm UTC](https://forum.kirupa.com/t/game-arkanoid/14292/2 "2003-02-24T18:38:56Z")

</div>

couldn’t you just do a check to see if the Y value of the ball is greater than the Y value of the block?

and I think here its called Super Breakout…

---

<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: [February 24, 2003, 6:54pm UTC](https://forum.kirupa.com/t/game-arkanoid/14292/3 "2003-02-24T18:54:16Z")

</div>

can´t you make four MCs for each side?

---

<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: [February 24, 2003, 7:09pm UTC](https://forum.kirupa.com/t/game-arkanoid/14292/4 "2003-02-24T19:09:46Z")

</div>

that would probably be too much work. There are easier ways…

---

<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: [February 24, 2003, 7:15pm UTC](https://forum.kirupa.com/t/game-arkanoid/14292/5 "2003-02-24T19:15:13Z")

</div>

Thanks guys 🙂

Jubs \>\> The problem is that it can hit the side of the brick.  
guig0 \>\> Good idea, but I don’t like wasting ressource. Can you think of a way to have only 1 hitTest per brick?

---

<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: [February 24, 2003, 7:17pm UTC](https://forum.kirupa.com/t/game-arkanoid/14292/6 "2003-02-24T19:17:47Z")

</div>

…i just don´t know them 😛

ok… i think i´m on to some thing… let me try this…
