[SOLVED] CS2261 Lab 07- Sprites

39.99 $

Category: Tags: , , , , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Lab07-eczpki.zip (219 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

Provided files:
● Main.c
● myLib.c
● myLib.h
● ACbg.bmp
● ACbg.c
● ACbg.h
● spritesheet.bmp

Files to Edit/Add:
● main.c
● myLib.c
● spritesheet.c
● spritesheet.h
● Your Makefile

Instructions:

TODO 1 — Loading and Enabling Sprites spritesheet export settings:
– Tiles
– 4bpp
– Do NOT check map

Let’s get sprites working.
● TODO 1.0: main.c, top of file.
● TODO 1.1: main.c, initialize() function.
● TODO 1.2: myLib.c, hideSprites() function.
● TODO 1.3: main.c, initialize() function.
Compile and run. You should not see anything new. If you see anything in the top-left (CORNERFACE), fix this before going further.

TODO 2 — Animating Sprites
Let’s show the villager and get his animations working.
● TODO 2.0: main.c, bottom of initialize() function.
● TODO 2.1-2.9: main.c, in the main while loop.
Compile and run. You should be able to walk the player around infinitely, see your background repeat and all the while the villager stays in the middle of the screen. If this all works, submit your lab.

Submission Instructions
Zip up your entire project folder, including all source files, the Makefile, and everything produced during compilation (including the .gba file).
Submit this zip on canvas. Name your submission
Lab08_FirstnameLastname, for example: “Lab08_OttoOctavius.zip”.

  • Lab07-eczpki.zip