# Presenting: Chomper

**URL:** <https://forum.makecode.com/t/presenting-chomper/493>\
**Category:** Arcade\
**Tags:** game\
**Created:** [August 29, 2019, 12:32pm UTC](https://forum.makecode.com/t/presenting-chomper/493 "2019-08-29T12:32:29Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![mileswatson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mileswatson/32/333_2.png) [@mileswatson](https://forum.makecode.com/u/mileswatson)\
**Post date:** [August 29, 2019, 12:32pm UTC](https://forum.makecode.com/t/presenting-chomper/493/1 "2019-08-29T12:32:30Z")

</div>

Important:

- Only works in arcade beta as of 29/08/2019 (dd/mm/yyyy)
- Arcade version: [0.14.4](https://github.com/Microsoft/pxt-arcade/releases/tag/v0.14.4)
- Microsoft MakeCode version: [5.21.6](https://github.com/Microsoft/pxt/releases/tag/v5.21.6)

![](https://i.imgur.com/3yAxCmR.gif)

[Launch in beta](https://arcade.makecode.com/beta/#pub:79838-53577-73259-54507)

Made using blocks, with a few custom blocks to facilitate maze operations. It is built on an easy-to-use level framework.

Works well in beta simulator and PyGamer, `021` error (out of memory) on Lvl 3 using Meowbit.

Currently there are infinite lives, although this may change in the future. This is not yet a finished game, and we are looking for feedback.

Enjoy!

(link added for editor to parse out program id [https://arcade.makecode.com/79838-53577-73259-54507](https://arcade.makecode.com/79838-53577-73259-54507) )

---

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [August 29, 2019, 5:34pm UTC](https://forum.makecode.com/t/presenting-chomper/493/2 "2019-08-29T17:34:49Z")

</div>

Love, Love, Love! ❤

I made a quick pass at a clone of the iconic game this past spring, but put it away because I was having some challenges with navigating the main character. You’ve given me some ideas, and I may have to come back to this one later this year. 🙂

Nice work!

---

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forum.makecode.com/u/kjw)\
**Post date:** [August 29, 2019, 6:24pm UTC](https://forum.makecode.com/t/presenting-chomper/493/3 "2019-08-29T18:24:12Z")

</div>

The main character is 14 pixels rather than the full size 16 to workaround the bug/phenomena mentioned in [Maze tile map navigation issues](https://forum.makecode.com/t/maze-tile-map-navigation-issues/484). Is that the issue you encountered? The good news is it’s being worked on.

There’s also some _undesirable_ wall collisions for the enemies so we’ve had to destroy them when that occurs as a workaround for now.

The Meowbit is a bit of a puzzle as well as a challenge with the d-pad. Level 2 works on it but the very similar level 3 gives the dreaded `021`. I don’t know if that’s an issue with us not cleaning up objects or some sort of fragmentation / lack of contiguous space issue. I’d be interested in any optimisation techniques for the white dot sprites as they don’t need most of the normal sprite functionality.

I did a prototype which got mostly discarded that had “can i see the player” functionality in pure blocks. That was implemented by firing black pixels as fast projectiles continuously in four directions and sensing collisions - I was proud of that hack!

---

<div class="post-metadata">

**Author:** ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)\
**Post date:** [August 30, 2019, 3:15pm UTC](https://forum.makecode.com/t/presenting-chomper/493/4 "2019-08-30T15:15:05Z")

</div>

Sprites are around 100 bytes each (there is over 20 fields on them it seems). Not sure how many you have. We sometimes do have fragmentation issues…

---

<div class="post-metadata">

**Author:** ![shaqattack8](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@shaqattack8](https://forum.makecode.com/u/shaqattack8)\
**Post date:** [August 31, 2019, 2:26am UTC](https://forum.makecode.com/t/presenting-chomper/493/5 "2019-08-31T02:26:45Z")

</div>

I was planning on making something quite like this a while ago, and wondered why no one else had made anything like it. The one problem I had was being able to glitch into walls while in a corner. I gave up with no way to fix it, and was glad to see that someone actually did it! It’s a good game, and I hope to see many more awesome games in the future!

---

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forum.makecode.com/u/kjw)\
**Post date:** [August 31, 2019, 4:36pm UTC](https://forum.makecode.com/t/presenting-chomper/493/6 "2019-08-31T16:36:07Z")

</div>

I was chatting with Miles on Friday and he’s got some other things he should be getting on with now. I’ve added some animations and a few extras: [Chomper (launches in beta beta)](https://arcade.makecode.com/beta/#pub:36347-73134-47473-24600).

Works well on PyGamer but on Meowbit my player died on level 2 and that triggered a `021`. I’ll do some code inspection and experimenting next week to see if I can work out how to trim back memory usage for the 96kB devices. Each white dot is a sprite which is going to be part of the problem. I’ve already thinned those out a bit.

---

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forum.makecode.com/u/kjw)\
**Post date:** [September 7, 2019, 7:13pm UTC](https://forum.makecode.com/t/presenting-chomper/493/7 "2019-09-07T19:13:03Z")

</div>

Some more additions. This runs in the beta beta simulator but for some reason it _cannot be downloaded_, it gives a compile error in `0.14.5`: [Chomper (launches in beta beta)](https://arcade.makecode.com/beta/#pub:75342-75047-13962-10112).

 ![5-simulatorok-compilebroken](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/ff395a56d21b53669c2c654235a12b35a2b01ef6.gif)

I also can’t open up the `built/output.txt` to find out why, Chrome just ignores my clicks!

---

<div class="post-metadata">

**Author:** ![Vidget](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/vidget/32/29_2.png) [@Vidget](https://forum.makecode.com/u/Vidget)\
**Post date:** [September 9, 2019, 1:52pm UTC](https://forum.makecode.com/t/presenting-chomper/493/8 "2019-09-09T13:52:21Z")

</div>

I tried something similar a while back, I called my version “HackMan” hence the 1’s and 0’s

> **[HackMan v2.0](https://arcade.makecode.com/03969-36113-00683-63826)**
>
> Made with ❤️ in MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)\
**Post date:** [September 11, 2019, 12:30pm UTC](https://forum.makecode.com/t/presenting-chomper/493/9 "2019-09-11T12:30:51Z")

</div>

Could you start a forum for post hackman? It would be great on the community page too!

---

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forum.makecode.com/u/kjw)\
**Post date:** [September 11, 2019, 2:09pm UTC](https://forum.makecode.com/t/presenting-chomper/493/10 "2019-09-11T14:09:31Z")

</div>

HackMan looks like an interesting twist on this style of game.

I just pinpointed the sprite positioning bug evident in Miles’s mini-video. Logged as [GH: microsoft/pxt-arcade: Tile x/y position sometimes wrong for array of all color tiles block #1323](https://github.com/microsoft/pxt-arcade/issues/1323).

---

<div class="post-metadata">

**Author:** ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)\
**Post date:** [September 11, 2019, 8:14pm UTC](https://forum.makecode.com/t/presenting-chomper/493/11 "2019-09-11T20:14:46Z")

</div>

Congratulations, your game is on the community page!

---

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forum.makecode.com/u/kjw)\
**Post date:** [November 5, 2019, 2:26pm UTC](https://forum.makecode.com/t/presenting-chomper/493/12 "2019-11-05T14:26:26Z")

</div>

The version of the game I posted before works ok in 0.14.9 now: [Chomper](https://arcade.makecode.com/75342-75047-13962-10112).

I’m just playing it on a freshly minted [Kitronik ARCADE](https://arcade.makecode.com/beta/#pub:75342-75047-13962-10112).

---

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forum.makecode.com/u/kjw)\
**Post date:** [January 26, 2020, 1:16am UTC](https://forum.makecode.com/t/presenting-chomper/493/13 "2020-01-26T01:16:03Z")

</div>

Chomper made it onto [Kitronik](https://forum.makecode.com/t/new-device-kitronik-arcade/715)’s Artwork at BETT 2020, here it is with the real thing underneath:

 ![kitronik-arcadeposter-with-arcade-cropped](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/8aee7b5bce5d25480ad85cc7a037b678c15c14f3.jpeg)

---

<div class="post-metadata">

**Author:** ![AIWintermuteAI](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@AIWintermuteAI](https://forum.makecode.com/u/AIWintermuteAI)\
**Post date:** [May 19, 2020, 8:15am UTC](https://forum.makecode.com/t/presenting-chomper/493/14 "2020-05-19T08:15:49Z")

</div>

Hello! This is Dmitry, from TinkerGen STEM Education. Our company made a retro gaming console for use with [Makecode Arcade, called GameGo](https://blog.tinkergen.com/2020/04/14/gamego-a-retro-gaming-platform/). We have also developed a series of free online courses to help our users to get started with GameGo and learn how to make their own video games. Despite the courses are written for GameGo, there is no restriction on use with other hardware or purely in Makecode simulator.  
In the course, there is a recommendation section, where we recommend some good games for students to help them learn. We want to include [Chomper](https://forum.makecode.com/t/presenting-chomper/493) - a game, that you made, in recommendation section. We think it is very suitable as Demo Game for GameGo, because it fully demonstrates the characteristics of Arcade.

We hope to obtain your permission to allow us to recommend your game in the course, and use [Chomper](https://forum.makecode.com/t/presenting-chomper/493), as a Demo Game in GameGo. In addition, we will send you a free GameGo for you to use and create even more wonderful games. Please reach me at [maslovdmitry@chaihuo.org](mailto:maslovdmitry@chaihuo.org) for further communication!  
@mileswatson

---

<div class="post-metadata">

**Author:** ![mileswatson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mileswatson/32/333_2.png) [@mileswatson](https://forum.makecode.com/u/mileswatson)\
**Post date:** [July 29, 2020, 5:36pm UTC](https://forum.makecode.com/t/presenting-chomper/493/15 "2020-07-29T17:36:49Z")

</div>

Sorry for the slow reply! Feel free to use the project however you want in your course (the code is MIT licensed).
