Skip to content

lujiazho/DIY-RawSDL2PlatformerGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

DIY-RawSDL2PlatformerGame

This is a Simple SDL2-based Platformer Game, following part of the tutorial from Youtube. Based on that, I added some additional stuff such as the type and number of enemies, lifebar, longer map, and various sprite resources.

Original Version

After Messed Up By Me

Running

Before running it on Visual Studio(mine is 2019), unzip the (1)SDLtest/SDLtest/assets.zip (2)SDLtest/SDLtest/SDL-devel-1.2.15-VC.zip (3) SDLtest/SDLtest/Vendor.zip and (4) SDLtest/SDLtest/Debug.zip first. The Vendor.zip is used for reading map.tmx file.

Don't forget to configure the SDL and image library to your Visual Studio. If you don't know how to configure it, my advice is 'google it' because there are lots of tutorials out there.

# SDL2 image
SDLtest\SDLtest\SDL-devel-1.2.15-VC\SDL2_image-2.0.5\include
# SDL2
SDLtest\SDLtest\SDL-devel-1.2.15-VC\SDL-1.2.15\include

Notes: Don't get confused by the file name of SDL folder. I promise its SDL2 instead of SDL.

Class Diagram

Personal Reflection

When I developed this game, I have to follow the tutorial at first. After a while, I can add some additional functions but still don't exactly know how to properly or elegantly add that to this game. Because I have to consider expansibility, running efficiency, and the whole framework of this game. I found I've entered into a field of structure design or system design, which is really challenging but interesting. However, at the time of writing, I faced burdensome and challenging workload from graduate school, and I had to put more attention on other as interesting, challenging, and important things in school as GAME DEVELOPING.

So I put the pause button.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages