Hi all, I have just created a new demo for new SDLers.
This demo is used for a better understanding of SDL framework and structure, and also for being familar with programming with SDL.
I will update unperiodically.
Regarding any improvement~
Stored in dir:
https://sdlgmud.svn.codeplex.com/svn/sdlgmud_demofornewcomers
UPDATE: 7/3/2012
Version 2.1.0703
1. Map implementation:
Define.h, GArea.h, GCamera.h, GMap.h, GTile.h
GArea.cpp, GCamera.cpp, GMap.cpp, GTile.cpp
2. Animation:
GAnimation.h
GAnimation.cpp
3. Entity:
GEntity.h
GEntity.cpp
None
UPDATE: 7/5/2012
Version 2.1.07051. Collision detection
OnCollision()
2. Player moving
OnMove(float MoveX, float MoveY)
Mark first: each loop speed factor will change its value.
UPDATE: 7/9/2012
Version 2.1.0708Fixed bug #12320