Ronin

CSC 471 Final Project

Ronin wakes up in the middle of a field and is immediately surrounded by monsters. Help Ronin destroy all the monsters before they destroy him.

Gameplay

Simply swipe a monster to attack. Red monsters take 3 hits, green take 2 hits and blue only 1 hit. Be careful though, once a monster is destroyed Ronin moves to the monster's previous position. Monsters can also be tapped to bump temporarily backwards.

Ronin's Graphics

Ronin was rendered from an obj file and converted to a C header file using a perl script. This created the vertex and normal buffers that were then render with part of a Blinn-Phong shader. Ronin is also rotated as he moves in the direction of a destroyed monster.

Monster's Graphics

Monsters were rendered by displaying the monster's shape as a texture, filling the inside with a random watercolor texture and then adding the color pertaining to the monster's difficulty level. The monster's shape was alternated between 2 texture's to create an animation.

Swordtrail

Finger swipes on the screen are followed with a swordtrail. The trail is constructed in a dynamic vertex array with triangle strips drawn between the verticies. The trail gets smaller and more transparent the longer those points have been on screen.

Ground

The ground is an offset, tiled texture that only renderes enough to cover the visible screen and moves to give the illusion of an infinite grass plane.






Quinton Petty, 2014