TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136652 times)
  2. FAT32 Library (69870 times)
  3. Network Ethernet Library (55902 times)
  4. USB Device Library (46245 times)
  5. Network WiFi Library (41871 times)
  6. FT800 Library (41113 times)
  7. GSM click (28966 times)
  8. PID Library (26403 times)
  9. mikroSDK (26330 times)
  10. microSD click (25344 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

Mikromedia 3D Sprites

Rating:

10

Author: Andrew Hazelden

Last Updated: 2014-10-22

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Gaming and Fun

Downloaded: 438 times

Followed by: 2 users

License: MIT license  

This firmware example uses the Libstock TFT Graphics library to render animated 3D Sprites on a Mikromedia PIC32 board. The demo can be controlled using the touch panel or the Mikromedia Gaming Shield.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Mikromedia 3D Sprites" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Mikromedia 3D Sprites" changes.

Do you want to report abuse regarding "Mikromedia 3D Sprites".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

This example plots 3D sprites on a Mikromedia PIC32 screen using the TFT Graphics library. You can use the buttons on a MikroElektronika Mikromedia Gaming Shield to control the rotation of the shapes, and change the active model between a plane, jack, cube, pyramid, and a octahedron. The code was written using MikroC Pro for PIC32 and VisualTFT.

This example is based upon the classic 1990's Metal Basic sprite demo "TriCube" by Ivan Freyman.

Demo Video

Here is a quick demo of the Mikromedia 3D Sprites firmware.

Watch on YouTube

User Input

  • Tap the Mikromedia screen to change the model.

Gaming Shield Controls:

  • Press the START button to change the model.
  • Press the CIRCLE button to show coordinates.
  • Use the ARROW/X/Triangle buttons for rotation.
  • The square button will pause the screen for 5 seconds.

Installation

  1. Install Firmware: Flash the firmware file mmbSprites-PIC32.hex to your Mikromedia PIC32 board.
  2. Power up the Mikromedia board and get ready to try out the MMB Sprites demo!

Development Tools Used

Compatible SW:

mikroC PRO for PIC32
http://www.mikroe.com/mikroc/pic32/

VisualTFT
http://www.mikroe.com/eng/products/view/627/visual-tft/

TFT Graphics by Bitwise (required download)
http://www.libstock.com/projects/view/914/tft-graphics-library

Andrew Hazelden's Mikromedia Gaming Shield Library (included with the current source code)
http://www.libstock.com/projects/view/389/andrew-hazelden-s-mikromedia-gaming-shield-library

Hardware Required:

Dev.Board:
Mikromedia PIC32
http://www.mikroe.com/mikromedia/pic32/

Controller:
Mikromedia Gaming Shield
http://www.mikroe.com/mikromedia/shields/gaming/    

ALSO FROM THIS AUTHOR

Andrew Hazelden's Mikromedia Gaming Shield Library

5

This is an input library for the MikroElektronika Mikromedia Gaming Shield. It is compatible with the Mikromedia dsPIC33 and PIC32 boards. The library is designed to get you started with the Gaming Shield and provides control over the 4 LEDs on the Gaming Shield and reads the inputs from the buttons.

[Learn More]

Piezo Piano for Mikromedia Workstation PIC32

0

This is an example of a simple piano for the Mikromedia Workstation's Piezo Buzzer. Tap the keys on the Piezo Piano to play a tune. This example is compatible with the Mikromedia PIC32 board. The code was written using MikroC Pro for PIC32 and VisualTFT 2.71.

[Learn More]

Charcoal Color Scheme for mikroC Pro

0

The Charcoal color scheme is used to customize the syntax highlighting in mikroC Pro. I created this color scheme to make the mikroC programming experience even better with a darker and less saturated background than the Midnight Blue theme. The scheme is designed to work with all of the MikroElektronika mikroC Pro compilers.

[Learn More]