Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Schorsch

Pages: [1]
1
Are there big problems with the code or are the problems only minor things, Schorsch? I'm just curious.
Most of the problems are minor. I started to fix the code from his first book, because he uses this code in the new book as a base. I am almoust done with that part.
The problems vary from "void main(int argc, void** argv[])" like stuff to missing methods or codefiles. There are even some logical mistakes, malformed configuration files the game wants to read and so on. So it is much work to solve those problems. If someone wants to have the code, you can get it here. Currently, i fixed chapter 1 to 11. So there are three more chapters left. After that, i will make the same for the current book. If someone wants to help, feel free. :)

2
I have some problems with the code. I started to fix some bugs in it but it is much work. So i started to fix the code of the first book, SFML Game Development By Example, because there i don't need to fixall problems in one step. The engine is build slowly over the chapters. Currently i fixed the code for chapter 1 to 9 and the others will follow. After that, i will try to get the code for this book running. If some of you guys have already fixed some of the problems, please contact me :)

3
General / Re: Mastering SFML Game Development - Sourcecode problems
« on: April 06, 2018, 09:24:44 am »
They write about another problem, but they got the project working. But never with the source from github. Like i said, there are errors, no compiler would ever accept. Maybe it is just this version of the code which is broken and someone has a valid one. Maybe the author by himself. Let's hope :)

edit:
So i had some time for first debugging. The event manager has lots of problems. First of all, the LoadBindings() method reads a line and get's an error because it reads while EOF isn't true. The problem is that a line ends with a linebreak, so EOF is false, even if the line was read complete. I fixed that. Now there are multiple problems with the creation of the events itself. I fixed the first one, but it is really hard work because i sometimes don't even know what the author wanted to do in that case. I think there must be some code out there that works, so maybe debugging this wrong code is useless time. I hope that someone could help. But now i have to go back to real work :D

edit 2:
So i found out that the author wrote another book which explains most of the parts from chapter 1. I got the code and saw that it has the same errors as in his newer book. I don't know how someone could ever release thiss mess. But it is easier to remove the bugs from the old code, because in each chapter, only a few components are added and so the amount of new errors isn't as big as in the first chapter of the new book. So after some hours, i fixed the first 8 chapters of the olds books code. It isn't that easy because i don't own a copy of the book, so i lack some information and have to guess in some cases. I have to check the license later, if i am able to, i will release the fixed version of the code, unless i jump out of the window after some more hours of debugging ;)

4
General / Re: Mastering SFML Game Development - Sourcecode problems
« on: April 06, 2018, 09:13:21 am »
Hey eXpl0it3r,

i already saw this thread. But my topic isn't fitting in there i think. But if you want, move this post there. I wrote a private message to the author this morning. But thanks for the tip.

5
General / Mastering SFML Game Development - Sourcecode problems
« on: April 06, 2018, 08:25:49 am »
Hey,
i tried to build the sourcecode of this book and got many many errors. For example, i tried to build chapter twos sources. It took me a while but i could fix the errors. The thing is, this source could never compile. Header names in include-statements were written wrong, variable names were being reused, but assigned with different types which can never be casted into each other, doing unconst stuff in const functions and so on. So i shouldn't be the only one with those problems, but i found no other topic about that. Like i wrote, i fixed those compiler errors and got the build, but after starting, there is a segmentatino fault. Next step will be debugging, but if even chapter two has so many problems, i don't know if i want to go further with this book. I think at least the author had run this code and presumably some other people too. So maybe those problems are known and i don't have to fix them all by my own.
I know, this is a very special question and you cannot help me if you didn't tried to build and run this code. I just want to know if someone just solved the same issues.

ps: if someone wants to try it by himself, i made a CMakeLists.txt for chapter two.

Maybe i have some luck :) Have a nice day.

6
Hey,
do you still develop on this game? I saw on twitter that you have another project with this games engine. Will you return to this one?

Pages: [1]
anything