项目作者: cyrilico

项目描述 :
Code made for Computer Labs (LCOM), a subject in MIEIC (FEUP). Made in collaboration with @antonioalmeida
高级语言: C
项目地址: git://github.com/cyrilico/to-infinity-and-beyond-minix.git
创建时间: 2017-01-03T00:03:01Z
项目社区:https://github.com/cyrilico/to-infinity-and-beyond-minix

开源协议:

下载


“To Infinity and Beyond!”: A retro-style game in Minix 3

This repository holds all the code made made for a Computer Labs (LCOM) class @ MIEIC, FEUP. It was made in collaboration with @antonioalmeida.

The first set of folders correspond to mini-labs where we learnt how to interact and manipulate some common peripherals via the MINIX 3 operating system. These include the internal timer, Real Time Clock (RTC), keyboard, mouse and graphics card. The ultimate goal was to develop a project that incorporated as many peripherals as possible.

Our project then consisted of a simple retro-style infinite 2D shooter with Buzz Lightyear as our main character. Please refer to our report for complete implementation details.

Main Menu

The enemies are represented by squared boxes with different number signaling their difficulty, i.e., the number of shots needed to break them. Collision detection forces the player down the screen in case of contact, losing the game ultimately if reaching the bottom. The game screen also shows the current score, current ammo and bonus (bonuses are generated periodically and give the player extra abilities, such as double damage or invincibility).

In-game