Ok, so the C++ language for me isn't my favourite, but I want to use it. Why? To prove to myself that I use it. I like making games in Java, yet I use Lua from time to time. SFML seems like the way to go for game development in C++. I want to make a 2D side-scroller game, but there are loads of things I don't understand about SFML, I don't understand how I'm going to learn it, I feel I should brush up on my C++ a little, I don't know what topics I need to know and don't need to know, etc etc.
Like I said, I want to make a 2D side-scroller. Before making a side scroller, I want to port my Lua game
Mr. BallGuy into C++/SFML. It was my first game.
I don't know how I'm going to go about learning SFML. CodingMadeEasy's tutorials were great.. up until it came to loading an image. Then Xcode refused to load an image. It kept saying it couldn't find it, when I directly specified the path(img/characterSprite.png). Is it looking in some other folder by default? I have the img folder in the same folder as the main.cpp file. I'll have the project at the bottom of the thread.
So that's one of my problems. My second one is how will I make the sidescroller? I've never made one before. How will I handle collisions and stuff?
Having Mr. BallGuy as my highest level of game that I can achieve, should I still use SFML?
SFML is great on it's own, and I plan on using the Thor library for spritesheet animation.
I also plan on using the SFGUI library in some upcoming projects(like the platformer).
On the subject of making a platformer/side-scroller, could I load in a Tiled map? How does that work? Is there a guide on it?
The only things I don't really understand in C++ are:
• Polymorphism(only understand virtual functions)
• String Methods(I haven't memorised them)
Is Polymorphism important in game development? Could I maybe find a quick simple guide to it if it is?
I'm coming from LibGDX(which I hate because of the fonts), so do I need to use .fnt font files or can I use .ttf fonts just fine?
In games, you'd want achievements. Who wouldn't want achievements, am I right? So, is there an achievement extension for SFML, or would I have to write one myself?
Again, I'm not the strongest game developer, but we all have to start somewhere, right?? Right...?? I mean, Notch didn't just start Minecraft when he was still a beginner in Java. He had to build up his knowledge, then he made minecraft... maybe...
If you can't tell, I look up to Minecraft as a game I want to make a similar version of. Not for release, but just to see what I'm capable of.
Download Project:
https://www.dropbox.com/s/a1deq81z91dn7mr/Tutorial.zip