• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
Jason Jones

Would you judge some of my work please

12 posts in this topic

I would really appreciate it if some of you could judge some of the work I have placed online, my website is :

 

 

http://www.zenandtheartofd3dx.co.uk/

 

btw : I am dyslexic so they are not typos as I just cannot see the typos.

 

But I would really appreciate some feedback from you and hopefully some of it will be okay.

 

Thanks,

 

Jason . . .

Edited by ILOVELUCY
0

Share this post


Link to post
Share on other sites

I am no C++ / DX API guru or anything, but....

 

Even for guys that will understand more of your work it would be really helpfull to have at least a short description of what you are trying to achieve with your code. I understand you having difficulties with writing longer texts, still, would help a lot getting a pretext.

 

Then the code you show is very long and with no breaks in between. More comments would certainly help guide the reader, and might help yourself down the line if you open the same code again in a year.

 

 

Sadly I cannot really judge the quality of your work when it comes to code, I am not (yet) an expert in what you wrote. I'll leave that to others.

 

 

Don't worry too much about the dyslexia... for some of us english is a second language and we fight (almost) the same fight as you do with it. I have not seen the usual grammar obsessed person on this forum yet that seem to frequent others, so you should be fine.

1

Share this post


Link to post
Share on other sites

I won't judge the code itself, I do not consider having enough experience for that but. As Giant-Reto said the formating is confusing I'd recommend :

 

- The formating (indent for exemple) is totally broken and some part are unreadable. If you don't intend to correct this, at least allow the download of the files.
- Make smaller chunk of code
- Use more comment
- Explain what the code do. ("This code allow the user to do this." "This code draw a white pinguin")

 

As a "bonus" here is some kind of rude comments on the whole website.

- No offense but I find your website ugly, the flashy colors, the broken format, etc...
- On the homepage there is absolutely no explanation. What is this site for? Where do I go to see your work? What the fuck are all these buttons and images?
- There is only a black square in "Links"

But well, their seems to be a lot of content.

0

Share this post


Link to post
Share on other sites

The download section and library section seem to be the same.

There are a lot of snapshots and place-holders on the site, so it is a bit messy now.

As for the code, what i suppose you wanted feedback on, not my expertise so i can't say.

 

I didn't see any typos btw, but i 'm curious, typos in programming are usually a lot less forgiving, how do you handle that ?

0

Share this post


Link to post
Share on other sites

I think your code is pretty good from a readability level, the functions seems simple and tends to do one thing. As other people recommended I think you should add a short description of the purpose of each function. Hint: Use doxygen and if you are worried about spelling, run the text through open office for spell correction (or vimspell if you use vim).

 

The indentation is messed up, but that could just be the website fault. Perhaps wrapping the code in <pre> tags would help.

 

Some of your functions are quite lenghty, this is often something that can not be avoided in low-level code, but you might be able to split those bigger functions into high and low level functions. I recenlty created a blog post about that:

 

http://www.flodihn.se/2014/05/20/guide-lines-to-clean-code-on-the-small-scope/

0

Share this post


Link to post
Share on other sites

In VecInterpolateMidPoint, why are you dynamically allocating those vectors? Just use normal stack variables. You can still pass them to the D3DX method using the address-of operator:

D3DXVECTOR3 vA;
D3DXVECTOR3 vB;
D3DXVECTOR3 V_LERP;

/* ... */

D3DXVec3Lerp(V_LERP, &vA, &vB, s);

Or, if the second two params aren't modfiied (i.e. are const D3DXVECTOR3*)

D3DXVec3Lerp(V_LERP, &p, &p1, s);

I suspect you might be thinking you need to allocate because these methods take pointers. Not so, its just D3DX is a C interface so pointers are used.

 

Unnecessary dynamic allocation will bite you eventually when you forget to delete it via one of many possible paths out of a function.

Edited by Aardvajk
1

Share this post


Link to post
Share on other sites

In VecInterpolateMidPoint, why are you dynamically allocating those vectors? Just use normal stack variables. You can still pass them to the D3DX method using the address-of operator:

D3DXVECTOR3 vA;
D3DXVECTOR3 vB;
D3DXVECTOR3 V_LERP;

/* ... */

D3DXVec3Lerp(V_LERP, &vA, &vB, s);

Or, if the second two params aren't modfiied (i.e. are const D3DXVECTOR3*)

D3DXVec3Lerp(V_LERP, &p, &p1, s);

I suspect you might be thinking you need to allocate because these methods take pointers. Not so, its just D3DX is a C interface so pointers are used.

 

Unnecessary dynamic allocation will bite you eventually when you forget to delete it via one of many possible paths out of a function.

Thanks for the advise, I think its a kind of dyslexic thing.

0

Share this post


Link to post
Share on other sites

The download section and library section seem to be the same.

There are a lot of snapshots and place-holders on the site, so it is a bit messy now.

As for the code, what i suppose you wanted feedback on, not my expertise so i can't say.

 

I didn't see any typos btw, but i 'm curious, typos in programming are usually a lot less forgiving, how do you handle that ?

Yes you are absolutely right the dyslexic errors cab be the most expensive as they usually cannot be seen a common one being mistyping a minus in a for loop instead of an equal example : for ( x - i ; x < j; j++), can be a real show stopper.

1

Share this post


Link to post
Share on other sites

I won't judge the code itself, I do not consider having enough experience for that but. As Giant-Reto said the formating is confusing I'd recommend :

 

- The formating (indent for exemple) is totally broken and some part are unreadable. If you don't intend to correct this, at least allow the download of the files.
- Make smaller chunk of code
- Use more comment
- Explain what the code do. ("This code allow the user to do this." "This code draw a white pinguin")

 

As a "bonus" here is some kind of rude comments on the whole website.

- No offense but I find your website ugly, the flashy colors, the broken format, etc...
- On the homepage there is absolutely no explanation. What is this site for? Where do I go to see your work? What the fuck are all these buttons and images?
- There is only a black square in "Links"

But well, their seems to be a lot of content.

Thanks for your comments, I like the'bonus' comments they are useful.

 

And in a way you and the otter posts have answered a question as to how to  put the web site together and I think the solution is as follows :

I should create a prettier web site that is easy to navigate that takes the browser through the work on a step by step basis.

 

So, really some type of use friendly abstraction level between the concepts that are being developed, why they are difficult to achieve and then how to implement a solution

 

even other developers do not want or have the time to put on another thinking cap just to browse a web site, i guess.

 

Thanks for your suggestions.

0

Share this post


Link to post
Share on other sites

I am no C++ / DX API guru or anything, but....

 

Even for guys that will understand more of your work it would be really helpfull to have at least a short description of what you are trying to achieve with your code. I understand you having difficulties with writing longer texts, still, would help a lot getting a pretext.

 

Then the code you show is very long and with no breaks in between. More comments would certainly help guide the reader, and might help yourself down the line if you open the same code again in a year.

 

 

Sadly I cannot really judge the quality of your work when it comes to code, I am not (yet) an expert in what you wrote. I'll leave that to others.

 

 

Don't worry too much about the dyslexia... for some of us english is a second language and we fight (almost) the same fight as you do with it. I have not seen the usual grammar obsessed person on this forum yet that seem to frequent others, so you should be fine.

Thanks for your comments, the website itself is very much a product of recruiters not wanting to acknowledge that I am a  software engineer which is very frustrating an I think that comes across in the web site, so it was a case of uploading what I could, code and the result of the code and hope that they would 'get it' but they just do not want to know so the comments on this post are very useful.

 

Thanks again for your comments.

Edited by ILOVELUCY
1

Share this post


Link to post
Share on other sites

Thanks for the advise, I think its a kind of dyslexic thing.


With respect, this kind of thing is conceptual and nothing to do with dyslexia.

This is to do with understanding core concepts about when and when not to use dynamically allocated memory.

My concern is you do yourself no favours by dismissing this kind of misunderstanding as something beyond your control. But none of my business really. Good luck.
2

Share this post


Link to post
Share on other sites

 

Thanks for the advise, I think its a kind of dyslexic thing.


With respect, this kind of thing is conceptual and nothing to do with dyslexia.

This is to do with understanding core concepts about when and when not to use dynamically allocated memory.

My concern is you do yourself no favours by dismissing this kind of misunderstanding as something beyond your control. But none of my business really. Good luck.

 

Yes, you are 100 % right it is a conceptual thing and pointers took a long time for me to get in c and c++ as the notation is a little confusing. So, there are is a confusion of notation but the notation defines and describes a concept.

 

your input has been really useful as it has clarified the concept.

 

Which is good for me, thanks for your help.

1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0