Skip to content

A simple SDL/C++ application where you control a dot sprite on a landscape.

Notifications You must be signed in to change notification settings

WenInCode/movingDot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project Name: movingDot
Author: Tyler Wendlandt

This is a simple SDL/C++ project where you can move a dot sprite around on the screen. Gravity is applied and collision detection is enabled. This project will grow slowly but steadily into a more full game. Once I get the basic functionality down I'll put some time into making this a small but fun SDL game. This project is created more for learning purposes - and it's something I enjoy. lastly, Use arrow cursors to move and space to jump.

UPDATES:
5/1/2014 - fixed environment/sprite collisions. The sprite now recognizes whether it is landing on a surface or bouncing off.

TODO:
Next few days - seperate environment creation from main.
			  - Create a basic enemy class with simplistic motion and recognition of it's environment. Either have it chase the dot sprite or have it move in a static fashion. 

** As I am currently learning SDL, much of this code is originally created by LazyFoo (website: Lazyfoo.net). As I gain more understanding of SDL I will alter the code according to my personal preferences. **

About

A simple SDL/C++ application where you control a dot sprite on a landscape.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages