Jump to content
  • Advertisement

L. Spiro

  • Content Count

  • Joined

  • Last visited

  • Days Won


L. Spiro last won the day on October 10 2018

L. Spiro had the most liked content!

Community Reputation

25800 Excellent


About L. Spiro

  • Rank
    L. Spiro

Personal Information


  • Twitter
  • Github

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Why does it appear so difficult to get ammo out of the crates? L. Spiro
  2. A friend has a desktop application (a “‘lication” for short) that connects to the Internet to get small chunks of data it needs. Apparently there are some places where it seems to constantly time out, with India and UAE given to me as examples. Said person’s research suggested their governments might be sniffing too many packets for speedy Internet, so apparently the only solution is what Google did: Increase the timeout period. Anyone have insights into this? Is it just some issue that we can’t solve, or is there a hidden layer? L. Spiro
  3. L. Spiro

    Fixed timestep glitch.

    That is one issue. Draw() should never be passed 1.0; that case should always be treated as 0.0 (the start of a new frame), so Update() should be called when “Accumulation” is greater than or equal to “UpdateTicks”. Any jittering beyond this is likely due to some other code related to interpolating between frames (interpolating matrices etc.) L. Spiro
  4. L. Spiro

    Yet another graphic engine

    You can’t kill Unity or Unreal Engine 4 with OpenGL * and DirectX 11. But if you have fun trying then go for it. L. Spiro
  5. As mentioned, objects that can be damaged should inherit from “CDamageable” and implement virtual bool CDamageable::OnDamage( Amt, Type );. Presumably anything that can be damaged can die, so you would also implement CDamageable::OnDie( Reason );. Your object can select how it wants to die based on the reason it is dying (too much damage, flattened, hit lava, etc.) and then each object can be damaged and die in their own unique ways. L. Spiro PS: The parameters I mentioned can change depending on your needs. I omitted sending the object that deals damage or death as I usually don’t see the reason (the scene manager will tell both objects what to do) but if you have a reason then add it.
  6. Your for () loops are already correctly filling in every single texel in the texture. There was never a need for the memset() and there is no need to replace it. If you wanted to replace it, you would use 2 nested for () loops, which you are already doing. That is the replacement for memset() in this case. I mean, I assume you are still using an L8 64×64 texture. Now that that issue has been solved, why not post that function again? I assume it has been removed, but I want to see it. Once I have seen the updated function, we can move on to what is actually causing your problem. And for that I would recommend RenderDoc. Take a frame capture of your game and inspect that texture. Post the texture here. AND THAT FUNCTION AGAIN. If your function is correct and RenderDoc shows you that the texture is not correct, then we will have a serious discussion about what could be wrong, ranging from texture creation flags to other memory overflows to shader usages etc. If your function is correct and RenderDoc shows you that the texture is correct, then you have another issue somewhere else in your code. If you find a suspicious function you are still going to have to post it. I suggest you get over that fact very quickly. L. Spiro
  7. When someone tells you how to fix your code, you implement the change and then post the same function again so that everyone can see that the fix has been implemented correctly. What you must not do: #1: Not post any further updates. How are we supposed to move forward without seeing updated code? #2: Post some other random function. We are not interested in any code that is not directly related to the problem. #3: Update the original post with the new code. Leave the old posts alone and post the same function, with the modifications we told you to make, into a new post. Not only are we NOT going to jump back and forth between this page and some other page to look at your function, we need to see a history. I don’t care about your codebase, I don’t care what you open-source or not. I asked for a single function, which you already posted in the first post (so your reasons for not posting it again are invalid), and 5 pages later we are all still waiting just to see what you have done to that one single function. There are 5 pages of tidbits, many relating to your obviously incorrect memset() call, and we have explained at-length why it is wrong. It is not our jobs to repeat ourselves over and over, it is your job to read it, understand it, and fix it. We are not moving forward until you have fixed that memset() call, period. You are overwriting padding on every single line, which is corrupting your texture by itself, and you are overwriting twice as many bytes as there are in your texture, which means you are stomping other memory and creating other bugs. We’re done with this discussion until you fix it, and we have been very clear how to fix it: REMOVE IT. You already fill every texel in the texture with your for() loops. The memset() is not only wrong, it is entirely unnecessary. Many people here are professionals in the industry working regularly on AAA titles. That is why we are here to help. How are we supposed to do that when you ignore everything we say? For example, I wrote in the previous paragraph that you need to remove your memset() call, and yet it is still in your code. Did you remove the memset() call yet? Have you removed the memset() call yet? Your hard work goes nowhere until you remove the memset() call. Did you remove the call to memset() yet? How much more specific can I get? Remove the memset() call and post the same function again, with it removed, into a new post, and describe your new results. Have you removed that call to memset() yet? Is your memset() call gone from that function? Did you remove that memset() call from that function yet? Do you kind-of maybe see where I am going here? L. Spiro PS: Have you removed the call to memset() yet?
  8. We already gave you tons of tidbits, all of which have been ignored. We have firmly established that your memset() call is wrong, and you haven’t fixed it. Why do you expect any further help, especially if you won’t post useful code? L. Spiro
  9. L. Spiro

    rotating using trig functions

    Based off your posts and code, I feel you are unqualified to make that assessment, and the most likely problem is that you do not know when and how to ask questions or to get help in general, as you demonstrate repeatedly here. Even now you are unable to ask questions, and I was one of the very last who had faith that you were sincere in your efforts, but I am now convinced you are just an obnoxious troll. Having these kinds of problems after this long can only be intentional. So now that the joke is over, perhaps you can just leave us alone now? I'm not sure why it is funny to troll a community that is just aiming at helping people make the video games that all humans enjoy, but it's either that or you know "sin(), cos(), glVertex3f(), * = multiply, I should push/pop matrices, begin/end things evenly," and yet you somehow completely have literally no concept what-so-ever as to even barely begin to ask a question, which would be suspicious on its own, but from someone in a field where asking questions is 1,000% necessary, and the answers always more complex than how to ask a question? Enough is enough. Even if you were legitimate (hint: you're not), it wouldn't matter because you can't ask questions, so why would anyone bother trying to help you go into an industry (or pursue a hobby project or whatever) in which you need to be able to ask questions? When people come here and ask how to make X big game, we don't start giving them advice on how to do the 10th step until they have demonstrated completion/understanding/mastery of the first 9 steps. We call that trying to run before you can walk. Right now, knowing how to ask a question is walking, and no one should be trying to help you get past anything else. Why are we applying a different standard here? I am interested in helping people program, not in teaching them the basics for being a human. When you decide to stop trolling, I may still be willing to help with your code, assuming you knock the crap off soon enough that I haven't gotten completely utterly sick of your act (hint: stop trolling soon or I will not be the only one who abandons you fully). L. Spiro
  10. L. Spiro

    Japanese Dining Etiquette

    Sometimes you will not know whether their reactions are bewilderment because of your mistakes or surprise because you got it right. In many cases the correct answer is: Your way. For example eating pizza with bare hands, regardless of what they think about it, etc. As for french fries, I personally always used fingers, and I have observed others using forks and fingers. I do not specifically recall seeing anyone using chopsticks. L. Spiro
  11. L. Spiro

    What do game testers learn?

    You learn how to trigger common bugs, you learn where bugs might be hiding, you learn what information to include in a report, you learn what to seek, etc. If you stay in a single company, then this knowledge may lean towards their games (you may find patterns that indicate possible bugs but only because you know how Rick on the 20th floor codes (it's always Rick, isn't it?)), but at least some of it is always globally applicable. The task of a tester is to keep finding new bugs, they get fixed, and then the tester tests again to confirm. Through conversations with artists, programmers, musicians, and designers the testers learn which of these fields is most interesting to the tester for his or her future, and how to apply said field in the context of video games. Through conversation, you may find out why certain design choices were made etc., and these discussions will make you a better designer in the future than if you just sat and played games, or a better programmer in the future because you got some good in-house advice etc. L. Spiro
  12. L. Spiro

    What are you working on?

    You forgot to tell me all the details about the plot. Go ahead, I have my notebook. Muhu- muhu- MUHUHAHAHAHAHAAA! Mu- mu- muhuHAHAHAHAHAA. Mu- mu- mwahahahahahaaaaaa!!! MWAHAHAHAAmu-mu-MWAAHAHAHAHAAAA!!!! L. Spiro
  13. The original post can’t possibly justify 11 pages. This needs to be split or closed. L. Spiro
  14. If you are focused only on bragging rather than helping then you should not post. This is no longer in the realm of just giving a personal example to buttress your point; you’re only trying to compete now and it is not helpful. People do not only chase money, and clearly what you think is important in life is not a consideration shared by many. To the original poster, do not get mislead. Salary is not the most important thing in the world, and even if it were luck is equally a factor. Nothing about a degree guarantees success or salary, and likewise having no degree does not guarantee low success and salaries. All of life is a balancing act between what skills you equip yourself with, how you position yourself (when and where), and how well you spot micro-opportunities that add up (for example knowing early on that you need to stay close to someone (and later ending up making the deal of a lifetime because of said contact)). Whether you pursue money or whatever else, there are always multiple routes there. Imagine all the physically based rendering research being done. I worked with Yoshiharu Gotanda (a popular researcher in this field who frequently gives talks at Siggraph and releases new rendering algorithms: http://research.tri-ace.com/) at tri-Ace and he is a mathematical genius (hence his works and contributions). He also dropped out of high school and did not attend a university. L. Spiro
  15. No need to get so worked up, @Rutin. What @Fulcrum.013 is saying doesn’t make him or her insightful, it simply makes him or her wrong. At one point he or she made this claim: Since the above is factually false (where did they learn before universities? Who taught Newton? Since math describes the universe, it is open for exploration equally to all, and it is entirely possible to teach one’s self, even if that means reading a book), @Fulcrum.013 seems to want to take a hard-line stance on what is required to be a programmer for some kind of ego boost, most likely to say, “Grr! I went through the time and money and I can’t accept how much of a waste it is so I will pretend it was the most essential thing in the universe!!” You should not let someone work you up who has his or her own entirely different set of motives when offering “advice,” and @Fulcrum.013’s goal here is clearly only to shame anyone who was smart enough to follow through with the purpose of school (to get a job) and thus to stop school before it gets needlessly time-consuming and expensive. It’s just important that the people reading his or her posts realize this as well. L. Spiro
  • 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!