SFML community forums
General => SFML wiki => Topic started by: LedLoaf on January 21, 2019, 04:57:30 pm
-
Hello,
I remember a year ago there were some code examples for various concepts using SFML. I remember there was this Zelda example where it was demonstrating scrolling/zoom/ and I believe the main concept was using the view. You could toggle split screen, scroll around a pre-rendered map.
It wasn't a game just an example. Somewhere/someone (I believe it was off the SFML github examples) use to provide a bunch of different examples that had the full project source code. I looked at the SFML Wiki, projects, source code, the 100 or so list examples. I can't find all the example codes I once saw a year ago.
Does anyone know where this section is located or what I am even talking about? I'd appreciate it.
Thanks
-
This sounds like you're thinking of my sf::View tutorial.
You can find it on the Wiki (https://github.com/SFML/SFML/wiki/Tutorial%3A-Using-View) (or my blog (https://dev.my-gate.net/2012/06/21/using-sfview/)).
-
I don't know how I found this. I was coding and I went back to my tabs and somehow it "magically" appeared. I must have clicked something and went back to coding while it loaded up (slow internet).
https://dev.my-gate.net/2012/06/21/using-sfview/ (https://dev.my-gate.net/2012/06/21/using-sfview/)
I think I googled SFML View examples and found it. I apologize I thought it was part of Official SFML Examples.
That was it, but thanks anyway.
EDIT: I just clicked your blog and went to the exact page I found. So thanks for clarifying!!
EDIT2: eXpl0i3r: I've recently come across a lot of your work. A lot of these examples are super old (2012!), yet they are still relevant today. Do you plan to do any more modern update examples? I believe I saw an engine by you and I really wanted to use it. But these "super buffed up" engine are too intimidating to me. But I've been trying to find a basic setup with tiles (culling, scrolling, state machine, and other simple things and possibly a simple component system). I have enough resources to do it myself, I just really would prefer to have something "done right".
I just don't like a complex engine that I have no idea how to maneuver around it confidently. So I'd really like to find something simplified but organized and easy to expand on and enough to make a tiny rogue. Any suggestions?
-
I'm glad you found what you were looking for.
In theory, I'd love to write more examples/tutorials, but there's only so few hours in a day that I often end up either working on SFML itself or doing something else. I do have some list of potential candidates, so I'll see what I can do.
But don't expect my stuff to be "right". In programming, there's usually never just one way to do something. ;)
-
That would be awesome. Just to clarify by "right" I mean organized and efficient I should say haha. You got some great stuff, I've been looking at the code all day.
Anyways, thanks! And keep up the great work!