Skip to content

mayumon/assembly-breakout-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

°•. Breakout Clone on Assembly .•°

Play a classic breakout-style game with a friend - or by yourself, it's still fun!

image

The goal of the game is to use the paddles to bounce a ball against a wall of bricks while preventing the ball from falling below the paddle. You have three lives, so you can drop the ball a couple of times before you lose, don't worry.

This was a simple but long project with collision detection, bright graphics, and MIDI sounds I made to learn more about MIPS. There is also a secret evil mode!!

$\textcolor{#B6B2FF}{✩ \ Setup}$

Open the game file on MARS MIPS simulator.


$\textcolor{#E1DCFF}{✦ \ Display}$

Open the Bitmap Display window from the "Tools" menu.

Connect it to MIPS then configure it with the following values:

  • Unit width in pixels: 8
  • Unit height in pixels: 8
  • Display width in pixels: 256
  • Display height in pixels: 256
  • Base Address for Display: 0x10008000 ($gp)

The display will allow you to see the game.


$\textcolor{#E1DCFF}{✦ \ Keyboard}$

Open the Keyboard and Display MMIO Simulator from the "Tools".

Connect it to MIPS.

The keyboard will allow you to make inputs and move the paddles. To do so, you will write on the lower text box.


$\textcolor{#E1DCFF}{✦ \ Assemble \ and \ Play!}$

Press F3/Assemble to assemble the game file.

When you are ready to play, press the Run/Go button.



$\textcolor{#B6B2FF}{✩ \ Controls}$

Pause - P

Reset - R

??? - H


$\textcolor{#E1DCFF}{✦ \ Bottom Paddle }$

Move left - A

Move right - D


$\textcolor{#E1DCFF}{✦ \ Top Paddle }$

Move left - J

Move left - L

$\textcolor{#B6B2FF}{✩ \ Help }$

If the movement of the ball is abnormally fast/slow, read and modify lines 243-246 of the game file.

If the game seems unresponsive, assemble and run the file again. Ensure keyboard simulator and bitmap display are connected to MIPS.

For any other issues, please reach out!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published