Advertisement Jump to content
  • Advertisement

penguinbyebye

Member
  • Content Count

    111
  • Joined

  • Last visited

Community Reputation

379 Neutral

About penguinbyebye

  • Rank
    Member

Personal Information

  • Interests
    Art

Recent Profile Visitors

3637 profile views
  1. There are a bunch of path finding implementations online. But, to be honest, I wasn't much satisfied with most of them, for one of these reasons: Dynamic memory allocation in the middle of the algorithm Algorithm that does too much (more than what is needed) Too many files for just a single task So I made this two-files (`uastar.c` and `uastar.h`) library: https://github.com/ferreiradaselva/uastar No memory dynamic allocation. Straight to the point (the README.md explains how to use). It's nothing biggie, but certainly useful. Path finder at work: I'm leaving this in announcements, because I probably won't add more features (it's pretty much done).
  2. penguinbyebye

    My first experience in starting OpenGL

    You don't have an excess of code, the issue is that your your code isn't fragmented in systems (yet). As a learner, what you are doing (writing everything in a single function) is OK, that way you learn what does what in OpenGL. When you want to use what you learned to build a framework/engine, then you need to separate things into systems/modules. Then you won't have to repeat that kind of code everywhere.
  3. I would say MonoGame, too, as it's "close" (note the quotation marks). I'm not even a C# programmer, but I've taken a look into the code of MonoGame, since I'm working on my own engine, and I liked it.
  4. penguinbyebye

    MathC - a C math library for 2D and 3D programming

    I started using semantic versioning (currently version 0.2.0) and the library almost suffice any needs for 2D and 3D programming. These are some examples that are in my other project (CGDFW): Switching from projection and orthographic matrices for 3D | Using rotation matrices Using orthographic matrices and rotation matrices for 2D Using bezier functions
  5. penguinbyebye

    Discord Launches Rich Presence

    WAIT WAIT WAIT WAIT https://discordapp.com/developers/docs/rich-presence/how-to Search for "match." There are callbacks that configure party size and id, and callbacks to join. DOES IT MEAN IT HAS MATCH MAKING? FREE? There's a video, it seems you can join in Discord itself:
  6. penguinbyebye

    Reinventing the wheel

    Hecking great response. Put in words what I never could I agree with this. In my post, I was more towards to the developer that works for themselves (or the hobbyist). I would never ever, reinvent the wheel if I was working for someone else, unless specified. First, the project manager certainly have a plan and your wheel reinvention isn't in it. Second, it's not your project. Reinventing the wheel is something original, and you would be giving away something original to someone else with no reason. Unless your reason is to show yourself for the boss and up the chances of a promotion (which to be honest, there are better ways to do so, instead of giving away your original creation).
  7. penguinbyebye

    How to learn from Quake source code

    Debatable and that's why inline functions exists. Even when OK, not the kind of approach to be passed to a learner, as @Alberth said: In addition to what @Oberon_Command, we have good version control software for that task. And, tbh, I doubt "not rewriting it again" or "reminds yourself of what have been issues or alternatives" are the only reasons here. Corporate code is different from the code that one can take the time to write, with all patience as a hobbyist. Ideally, learn as a hobbyist is better, write the code with all the time you have, no deadlines to worry about. Corporate programming must worry about delivery and deadlines, and it does affect code quality. It's not that people working on companies are bad programmers (not saying that), it's that they know when to prioritize time over good practices. A learner should prioritize good practices until they are secure enough to break their rules under certain circumstances (shipping delay). Yes, I use global variables, too, and the goto, too. But, by having global variables in the middle of the code: will make difficult to make something multithreaded (you will have a harder time locating where are the globals affected my a threaded function) will cause needless differences in the versioning when you have to move those variables from one point to another (which happens when a new function needs to use that variable, too, and could be avoided if they were on top) To let it be clear: I'm not shitting on Carmack (or his team) work, but I can't help to feel bothered when I see the DOOM/Quake code being pushed as holy to beginners. And it's not.
  8. penguinbyebye

    How to learn from Quake source code

    It's not just because it's legacy C or legacy C++. Quake and Doom source code aren't that perfect beauty that should be aimed to. Some sources have a bunch of global variables spread everywhere, and I mean everywhere, not at the top of the source file, but in between functions definitions. Some functions are huge monoliths, which is a bad practice, too. Some piece of the content are just commented out piece of code, not even removed from the source, but just unused. Just because the game is good, doesn't mean the source code behind it is.
  9. penguinbyebye

    Reinventing the wheel

    Reinventing the wheel is great when (and when you have the time): Your wheel has less dependencies than the current wheels Your wheel is faster than the current wheels Your wheel is simpler than the current wheels The current wheels are obsolete or lack development in the recent years It fits your needs better than the current wheels (specialization) The current wheels have a license that doesn't fit your needs Experience Edit: when you just want to have fun
  10. penguinbyebye

    Is Phil Fish a Jerk?

    Just, lock this thread, already. It's beyond ridiculous a thread dedicated to debate whether someone is a jerk because of their actions under stress.
  11. penguinbyebye

    Welcome to the GameDev Challenges Forum

    I had a lot of surprise work this month, that fortunately are finished, so I will focus on finish my first challenge :'D, this means, somebody else, please make a challenge.
  12. I had a lot of surprise work this month, that fortunately are finished, so I will focus on finish my first challenge :'D, this means, somebody else, please make a challenge.
  13. penguinbyebye

    Horizontal and Vertical Lines

    I don't know where to post this, but here it goes. I don't know if this is serious or not (maybe it's an uncanny valley of seriousness).
  14. penguinbyebye

    October 2017 GameDev Challenge: Arcade Battle Arena!

    You can totally submit after. You can interpret it like "make this game in 4 weeks". The most important thing here is learning. Any user can submit a challenge (under a mod approval), and it's not necessarily a monthly thing: https://www.gamedev.net/forums/forum/81-gamedev-challenges/
  15. You can totally submit after. You can interpret it like "make this game in 4 weeks". The most important thing here is learning. Any user can submit a challenge (under a mod approval), and it's not necessarily a monthly thing: https://www.gamedev.net/forums/forum/81-gamedev-challenges/
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!