Skip to content

mrjacobbloom/fruit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fruit

Demo of the app in action

This was my final project for a class on OpenGL graphics. It's a game in which the user creates a smoothie by dragging fruits into a blender.

Click and drag fruits into the blender following the recipe in the top-left corner of the screen. When you're done, click the blender to blend up your smoothie. Text will appear letting you know whether you've won.

Inspiration

This game was inspired by a flashback I had to the kids' MMO Webkinz, in which there was a minigame where you'd do something similar.

Usage

To run:

make clean; make; ./final

Note: I've never tried compiling on Windows so who knows if that'll work.

Keybindings

  • ESC - exit.
  • m - toggle between static and mobile camera mode
  • arrow keys - move camera if in mobile camera mode

Issues

  • The dragging code is completely cheat-y and won't work if you resize the window or go into mobile camera mode

Credits

A lot of this code is adapted from example code by my instructor, Willem "Vlakkies" Schreuder. The original code is available here.

Textures

Most of the textures in this program are heavily modified from the source images.

About

Final project for a class in OpenGL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published