Jump to content
  • Advertisement

All Activity

This stream auto-updates     

  1. Past hour
  2. Septopus

    Pub/Sub for game Servers... Are you?

    and really, you don't think that something that shipped in 2012 isn't older tech? Really?
  3. I don't know, I think the final format of OpenCL image is depends of OpenGL format, so you have no any means to change the result format. Do have you any OpenGL Error(glGetError() ) after this calling ? can you attach a test project ?
  4. When I log in to check my anaged content, I would really like it to start out with an All option, showing everything. Right now, I have to flip through each option to check things. Choosing All would be sooo much easier! You do a great job. Just a suggestion.
  5. Septopus

    Pub/Sub for game Servers... Are you?

    Thanks @Hodgman! for your reply.. for some reason this crappy forum software wouldn't even let me thank you without frustration... dont't let me get into how many times I tried to write that sentence.. So, you're actually saying it works then...
  6. Today
  7. SilviuShader

    【STUFF】

    This is how another 10 levels look like. There are new mechanics involved: the slow bonus, the immunity bonus and the damage objects. Music: Wanna░chat?https://discord.gg/9guZGAC Thank you for following the development of our games!
  8. supermikhail

    The Final Form

    Thanks. The problem is that the lights that are causing issues (or the objects that are having issues with them) are mostly moving. I don't know if this is a crazy idea, but I'd like to try to stitch the whole level together in the end in Blender, to see if that makes the task easier for Unity.
  9. Gnollrunner

    Planet generation in real time.....

    Thanks. We have mall called Oz Mall in my city. I guess I should start hanging out there
  10. Found needed combination - glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32I, width, height, 0, GL_RGBA_INTEGER, GL_UNSIGNED_BYTE, nullptr) or glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32I, width, height, 0, GL_RGBA_INTEGER, GL_INT, nullptr) Now format is CL_SIGNED_INT32 but image is still black.
  11. Gnollrunner

    Beginner Help

    My personal opinion is you learn best by doing. However you need a good book to get you going. I've know C++ for so long I can't really recommend something, because I haven't had to look into it for a while, but then you already have advice on that from @Rutin What I can tell you is that you should spend at least a bit of time programming in straight C. The reason I say this is that when you have to write in C with no standard library and stuff like that, you learn very quickly about general memory layout concepts. Even when you go to C++ this will be invaluable information. I've seen so many programmers that had a hard time debugging their own code because they didn't have basic knowledge of this stuff. So please do try to lean it. This knowledge will help you over and over. You can write some C programs that just do text output. Like you can try to write tick, tack, toe or something of that nature that outputs to the console. This will help you get your head around basic logic concepts. Technically you don't really need to be in C but at least avoid classes and the C++ standard library for the first few small projects (people always yell at me for this advice but I still think it's good. It may get me down voted though 😛) When you move to C++ you can start doing graphics. I use DirectX but it's a little hard core to start out with. I recently discovered SFML which I think is great! I had something running in a few minutes. So that might be a good option for you when you get to that stage. Another thing I'll say is DON"T LEARN A LANGUAGE. Learn to code. That doesn't actually mean what it sounds like. What it means is C++ is a big language and there is absolutely no reason to know ever bit of it, just to know it. You will lean things as you need them over time. The MOST important thing is to learn about data structures and algorithms. You can use those things in any language. There are some snots out there that know every detail of C++ and they like to let you know it. But it doesn't mean squat really. Probably a lot of those people can't program their way out of a paper bag. So don't get discouraged if you run into one. At the end of the day, it's what you can produce that matters not how much you know. Finally the most important thing is motivation and the best way to get that is to see results. Start out small and get something working. Then add too it and get that working and so forth. It's very hard to keep your motivation up when you are looking at lines of code for months and nothing is running. I know because I've done that . Anyway good luck, and welcome to the dark side!
  12. CL_UNORM_INT8. Is it possible to control it? According to cl spec internal GL_RGBA32I format corresponds to CL_RGBA, CL_SIGNED_INT32. But when I try to use glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32I, width, height, 0, GL_RGBA, GL_INT, nullptr) then clCreateFromGLTexture returns CL_INVALID_GL_OBJECT error.
  13. Gnollrunner

    Introduction to Octrees

    Nice presentation! I especially liked your "lazy initialization" stuff! Just to add to the discussion a bit, I've started to use something I call "sloppy octrees". It probably has some other name I simply don't know about. I've come to the conclusion that there is no reason that the child cells of a parent cell can't cross each other. The only real requirement is that they don't go outside their parent. This means that when searching the octree you may have to go down more than one branch for a bit. However it also means that objects can be placed farther down in the tree, because an object that would normally have to be in a parent can now go into the child. Finally it lets you use other shapes for you volumes besides cubes. I've used spheres and cylinders. It any case I think there are some applications where this might be useful.
  14. Rutin

    Beginner Help

    If you want to start with C++ I would suggest picking up C++ Primer (5th Edition): https://www.amazon.com/Primer-5th-Stanley-B-Lippman/dp/0321714113 You'll need Visual Studio: https://visualstudio.microsoft.com/vs/community/ There are a lot of tutorials and resources online but I would suggest starting with a good book first to get a good foundation. Beyond that... just put in hours and do a lot of demo programs in console while learning! Then you can look into moving into 2D or 3D game development. Best of luck.
  15. You can definitely run that kind of thing as a service. Look into other middleware + service companies like Photon, PlayFab and GameSparks. It's common for these kinds of "backend-as-a-service" companies to mostly act as a message router for your game clients, but also allow running small snippets of code on their servers in response to events. Plenty of people do pay for that kind of thing. However, just to keep you grounded for your own game, have a read of "Scalability! But at what COST?". These kinds of architectures (even slim, lightweight, fast ones) often add so much overhead that the phone in your pocket running a single-threaded solution could outperform a very expensive cluster of servers... Also, you can fit a tremendous number of processing power + RAM into a single server box these days. It's also fairly affordable to give that box 1Gbps of upload bandwidth to the internet. Running an actual MMO off of a single server box isn't ridiculous. IMHO the main reason to have multiple physical boxes is so that globally located clients can connect to a local server -- we can't change the speed of light so the only solution to latency is distributing servers globally.
  16. Hi, i see you are interested in joining the production team. You are welcome to introduce yourself on our discord at https://discord.gg/G7cKAYm. Welcome!
  17. hplus0603

    Pub/Sub for game Servers... Are you?

    The Erlang solution got started in 2010 or so, and shipped for real in ... 2012? It's still going strong and doing its thing, so I don't think it's "older technology." It's seen at least one major upgrade, to add redundancy in places it didn't have it. (Btw, I think the WhatsApp team is almost entirely on Erlang) It really is an example of "horses for courses."
  18. Hello all, I have made a simple shadow map shader with a minimal problem on my implementation, I know there's something missing that it draw on polygon not facing the light while it should not, since my shader knowledge on available functions is limited I cannot spot the problem, I put this on DX11 HLSL tag though GLSL and any hints, tips is appreciated and welcome ^_^y IMAGE : CODE: // Shadow color applying //------------------------------------------------------------------------------------------------------------------ //*>> Pixel position in light space // float4 m_LightingPos = mul(IN.WorldPos3D, __SM_LightViewProj); //*>> Shadow texture coordinates // float2 m_ShadowTexCoord = 0.5 * m_LightingPos.xy / m_LightingPos.w + float2( 0.5, 0.5 ); m_ShadowTexCoord.y = 1.0f - m_ShadowTexCoord.y; //*>> Shadow map depth // float m_ShadowDepth = tex2D( ShadowMapSampler, m_ShadowTexCoord ).r; //*>> Pixel depth // float m_PixelDepth = (m_LightingPos.z / m_LightingPos.w) - 0.001f; //*>> Pixel depth in front of the shadow map depth then apply shadow color // if ( m_PixelDepth > m_ShadowDepth ) { m_ColorView *= float4(0.5,0.5,0.5,0); } // Final color //------------------------------------------------------------------------------------------------------------------ return m_ColorView;
  19. jbadams

    Introduction to Octrees

    Thanks Eric, I fixed up the errors in our copy as well.
  20. Viniest Jester

    Beginner Help

    I would suggest you start by learning C++ - if you haven't had any experience coding. If you have some coding experience, it would be a quick refresher to go through the basic topics, a few syntax differences etc. But then, it is learning and understanding important concepts of C++ like memory management, inheritance, polymorphism etc. I would also suggest you take a look at Handmade Hero by Casey Muratori. Make sure, you see the "Intro to C" section too, where he walks you through debugging code using Visual Studio's debugger. Debugging code is a very important part in game development, which helps you understand how your code exactly works. Hope that helps you. Good luck!
  21. I want to learn to code games in C++ but I have no idea where to start, can someone teach me?
  22. khawk

    FROGGER ARCADE JAVASCRIPT

    @Infinity8378 - if you setup a GameDev Project you can upload your HTML version and it will be playable through there. Once you do that I can also give you your challenge award.
  23. Okay, that made me laugh! Looking pretty good!
  24. Rutin

    collision sprite

    Okay, if your collision is working, and your animation timer is working then what is the problem? Just toggle your animation sequence upon collision.
  25. phil67rpg

    collision sprite

    it does
  26. Rutin

    collision sprite

    Does it work for you???
  1. Load more activity
  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!