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 - OrderNexus

Pages: 1 2 [3] 4 5 ... 7
31
OrderNexus this wait is killing me, do you have an estimate on how much longer until your new book comes out? I know you can't give a specific day but I'm eagerly awaiting it.
I'm finishing up the last chapter tomorrow, so it will definitely be out in January. I would say probably in the next week or two.

32
General discussions / Re: SFML Game Development by Example - 4th SFML book
« on: December 28, 2016, 12:59:48 am »
I have zipped up the code and sent it your way.
Alright, thanks. I got your email. I'll try to get back to you about the code as soon as I can, but I'm quite busy at the moment, so it will be a day or two. Still, I'll try to find some time earlier and keep you in the loop.

33
General discussions / Re: SFML Game Development by Example - 4th SFML book
« on: December 24, 2016, 09:07:42 am »
Your current animation in the SpriteSheet class may be null for some reason. Please zip up and send me all of the code that makes up the project, along with any entity or configuration files. I'll check it out and let you know what the problem is.

34
General discussions / Re: SFML Game Development by Example - 4th SFML book
« on: December 20, 2016, 01:07:43 am »
First off, I want to say that this has been one of the best game development books I've come across.  There are a lot of concepts that I had only heard about before that are fully implemented in this book.  That's cool!

I am having a bit of a problem...
Thank you for your kind words! :)

As eXpl0it3r said, you should really provide a call-stack of the exception. It's very possible that, perhaps, some old code made its way to production stages. It's not unheard of with Packt. I ran my own version of both chapters just now and they work fine. Feel free to post the stack here and I'll try to help you out.

35
General discussions / Re: SFML Game Development by Example - 4th SFML book
« on: December 16, 2016, 05:33:07 pm »
...Yes, I'm currently working on another book, and it's almost done. I should be done with the last two chapters this weekend, and it should be out in a couple of weeks. It has already been announced on the Packt website. I'd link to it, but their site seems to be down at the moment. :D

Edit: It's back up now: https://www.packtpub.com/game-development/mastering-sfml-game-development
The description doesn't include this, but the last couple of chapters focus on advanced lighting, shadows, and optimizations.

I hope this doesn't adversely affect your income, but the ebook version of that book is currently on sale for 5 dollars
I'm just happy as long as my work is useful to someone. The revenue is just a cherry on top. :)

36
General discussions / Re: SFML Game Development by Example - 4th SFML book
« on: December 16, 2016, 04:47:55 am »
Hey thanks for all the help, I'm still in school so I'm trying to absorb as much as I can from your book. It has been the most helpful of any book I've read. I noticed you mentioned you are working on another book, I know you can't say much about it but I'm excited to see it. I will definitely be purchasing it when it comes out, can you tell me a time frame of when you expect it may be out? Or at least announced?
Sure, don't mention it. :) Yes, I'm currently working on another book, and it's almost done. I should be done with the last two chapters this weekend, and it should be out in a couple of weeks. It has already been announced on the Packt website. I'd link to it, but their site seems to be down at the moment. :D

Edit: It's back up now: https://www.packtpub.com/game-development/mastering-sfml-game-development
The description doesn't include this, but the last couple of chapters focus on advanced lighting, shadows, and optimizations.

37
General discussions / Re: SFML Game Development by Example - 4th SFML book
« on: December 15, 2016, 07:10:08 am »
Is there currently a way to create a map in tiled and export it into a format that would work with this engine? Or would I need to figure that out myself?

Also what is the purpose of the following keys?
Key_P 5:15 -
Key_T 5:19 -
Key_K 5:10 -
Key_O 5:14 - Enables debug mode
Key_X 5:23 -
Not that I'm aware of, sorry. I'm sure that it wouldn't be that hard to parse existing tiled maps and convert them to the format used in the book, although that format is completely arbitrary. You could simply roll your own, or adapt the map class to store information exactly the same way tiled does, provided it follows the same principles of layering and rendering.

As far as the keys go, some of them aren't used. They just exist in the key config file because of previous testing, and I may have forgotten to take them out. If you search the code around for the strings of these keys, you should be able to easily figure out which ones are still being used.

38
General discussions / Re: SFML Game Development by Example - 4th SFML book
« on: November 10, 2016, 05:10:07 am »
I have just one question, I have been working with this book for quite some time. I am attempting to run your source code for the final chapter so I can see what it looks like before I actually start reading. It will not work at all, when I launch the server.exe it just goes through the tile ids saying was not found then it hits map loaded and does nothing more. Do I need to just follow the entire book and code it myself? There are quite a few differences between the source code you provided and the book.

Aside from those questions, you are really helping me understand the parts of game development I don't think people really touch on. Being able to see how the client and server are structured exactly will really help in my personal studies. Thank you for the great book.
Hello, lurkerz. First of all, I'd like to thank you for reading the book! I'm really glad it helped you out.

The actual server itself simply loads the map and listens for incoming connections, so that they can be handled. The console itself spits out four lines of text when everything is fine, which are the port information, a notification that it began listening for connections, the loading map line, and "Map Loaded!" line. If you're getting tile IDs that weren't found, your tiles.cfg file is probably missing or misplaced. It's as simple as that.

Please let me know if you have any further problems down the line. I hope I was of any assistance. :)

39
You probably have the wrong version of SFML set up on your VM. Versions 2.4.0+ have deprecated the use of some functions, including setColor. It was replaced with setFillColor.

40
You know what? Thanks for saying that! It gets kind of frustrating and overwhelming when there's a bunch of other people, all with their own ideas and principles, trying to tweak and manage something like this. It can lose the essence of what it originally aimed to be fairly quickly that way.

As far as the next book, I can't really say too much, but it's close to being done now. Although it doesn't focus on bgfx, I'm still trying to keep it as close to what it should be as possible. All of the feedback from this thread really helped me fix a bunch of things and use a more modern approach. Hopefully everyone will be happier with it than they were with the first one. :)

41
Wait, they don't allow your book to get longer even if it  helps the overall goal of the book? Those profit margins can't be that low.
Originally, it was supposed to be around 320-380 pages max. That number was left in the dust somewhere around the halfway point. During the final stages, I was asked to cut out roughly 30-50 pages, which gave it the final length of 522 pages. Apparently there is a sweet-spot as far as the length and price of the book goes. The individual lengths of each chapter also couldn't have been exceeded, so some chapters ended up being split into two as well. During the planning stages there were supposed to be only 10 chapters, yet the final product has 14.

42
The usage of the appropriate union member is left up to a different structure that keeps track of the type of event as well. The older style strings stuck around because of content length limitations. I was already penalized for exceeding the projected length of the book, and things like this added up quickly, believe it or not. I've already updated the code on my end to use std::string and custom construction/move semantics. I'm just waiting for a chance to revise the book now.

43
Everything above looks fine. Is there a way you could just archive all of your code and PM it to me so I can debug it?

44
Hello. Yes, I'd like to see your GUI_Event struct, the EventInfo struct, and the code where the compiler notes the crash. At this point, it's hard to say what may have gone wrong, as it looks like you're modifying the code a little bit. :)

45
Hey there would just like to say that your book has really taught me how to program in C++ and I've recently made a littel portfolio which I used to apply to Universities. And I actually got accepted from the basis from what I've learned from your books so thank you so much for that!
Congratulations! I can't begin to explain to you how happy that makes me. Keep on doing great work, and good luck with your studies! :)

Pages: 1 2 [3] 4 5 ... 7