Jump to content
  • Advertisement

All Activity

This stream auto-updates     

  1. Past hour
  2. Josheir

    Hill Data is Strange to me

    EDIT: Sorry, not counter clockwise, clockwise!
  3. JustinKase

    Battletech Developer Journal - 01

    🤐 Can barely wait as well !
  4. Kareem "Daigoji Gai" Harper

    Battletech Developer Journal - 01

    This was great and, without spoiling, awesome reassurance we're marching towards a summer of urban warfare.
  5. nsmadsen

    New composer, looking to connect!

    Wow - I love your stuff gh0stam! Soul of the Woods is really cool. I'd love to record some saxophone over something like that. I've been working in game audio since 2005, play piano and saxophone with some guitar on the side. Nice to connect with you! Thanks, Nate
  6. GoliathForge

    hex grid

    Hello friends...Everyone be cool. To fight among ourselves, could quite possibly have been the secret goal. (evil master mind, never know) This I know though, is my fault. I think I had selfish reasons. Being fully aware of the history here, I assumed it would be fair game to try to better myself with these tiny puzzles. Write out some psudo logic and have a fine time. There is a different agenda here clearly than trying to stay focused in the moment. Lesson learned. Apologies. Will not happen again.
  7. fleabay

    hex grid

    And when it comes to that I have the mentality of... and I'm grateful for the help.
  8. Today
  9. Lactose

    hex grid

    And answer questions on forums such as these.
  10. fleabay

    hex grid

    I do acknowledge that people know more than me in a certain area ( the area we are talking about and that you quoted me as such is general programming.) Those people write books and make tutorials. You learn general programming from books and tutorials (and searching) and then if you have problems that aren't easily solved and can't figure out a solution, then by all means, seek help.
  11. Lactose

    hex grid

    I strongly disagree. Asking for help is not a shameful mindset, it's acknowledging that other people know more than you in a certain area. It's an awesome way to learn more. It's not always the best approach, but it's certainly valid in many, many situations. I ask about various programming bits and pieces all the time. I have the luxury of working in development, so I have easy access to people I can ask. Others might not be as lucky. Asking for help does not mean not doing any research on your own. I do both. As do most people, I would guess. Like I said, for me it's more the part where one ignores advice, questions or suggestions and keeps on expecting handouts to every single little problem it becomes an issue. At some point, one needs to get past that level.
  12. Daniel Ricci

    hex grid

    I highly doubt that taking code from the net and pasting it as a solution to your problem promotes you to an order of magnitude higher in intelligence. From what I can see you have two downvotes which hardly matters. Furthermore you are lucky that GD is not like StackOverflow because your questions and style of programming would be destroyed within a matter of minutes. On the positive side I am happy that a quick google search was able to solve your problem for you, hopefully you have learned a valuable lesson the next time you ask questions without doing your due diligence. If you work at a programming company and go run to a colleague every time you hit a road block you will not hold that job for very long. And even if you are not programming on a serious note be aware that people such as myself spend most of our time programming so we do take these things seriously. If you are going to ask us questions then be aware that we expect a certain level of professionalism and curtesy on your part or you should not be posting at all.
  13. Josheir

    Hill Data is Strange to me

    I want to say the X and Z are two units, but really I think the image would look the same with lower height, except as mentioned it appears to be rotated. Josheir
  14. fleabay

    hex grid

    It should also not be par for the course and continuously met with open arms. Also I said 'almost' shameful and refers to a mindset. Some people seem to enjoy seeking help for general programming and that is not good.
  15. Lactose

    hex grid

    Asking for help is not shameful, and should not be even hinted as being so. That said, doing a bit of research on your own, and paying attention to advice that's been given to you for almost a decade should, at some point, be viewed as a requirement.
  16. Josheir

    Hill Data is Strange to me

    Looking at this it appears to be uncentered, like it's been turned counter clockwise around the Y axis. Or said another way, it appears to have been turned because the image's base is not square to the X axis. Maybe it was turned so we can view it?
  17. fleabay

    hex grid

    You learn far more from searching for answers and solving problems yourself. The people that think they are helping you are doing you a disservice. Seeking help for general programming should be a last resort and almost regarded as a badge of shame "I HAVE FAILED TO ( LEARN THIS / FIGURE THIS OUT ) PLEASE HELP ME" and not a "hey guys I'm trying to do this, is this ok?" mentality.
  18. I think I commented on your other related thread, so I'll try chipping in here as well. First, if you haven't already, you might find it useful to watch portions of the video you posted at reduced speed, or step by step (',' and '.' keys on YouTube, as of this writing at least). By doing so I noticed a few things: - The falling of items is 'staggered', by which I mean that an item falls, and then the item above it starts falling a bit later, rather than all items falling at exactly the same time. - The items seem to fall with simple acceleration, or close to it. - When the items reach their new positions, a tight spring effect is applied, starting with a downward motion consistent with the item's previous velocity. The next part just represents my personal inclinations. Others may recommend a different approach. Because the behavior involves physics, it might be tempting to try to leverage Unity's physics system to implement item behavior. If it were my project though, I'd probably use analytic rather than numerical/iterative solutions, because the physics is (probably) simple enough to lend itself to that, and using analytic solutions may have some advantages. For example, you can easily determine in advance how long the animations will take, and you don't have to worry about any of the vagaries of iterative physics simulation (not that there would necessarily be any issues with something this simple). The falling behavior can be implemented easily with so-called SUVAT equations. The spring is a little trickier. I've done that sort of thing before - I don't remember exactly how I did it, but I think I decided that a sine-wave-based animation with steadily decreasing amplitude was close enough (the initial amplitude was based on the item's ending velocity to effect a smooth transition between the falling and spring animations). For simplicity's sake, you could start by implementing the falling behavior using analytic equations, as that part should be pretty easy, and then tackle the spring animation subsequent to that. (Another possibility would be to do the falling animation analytically and the spring animation iteratively, if that seems easier.)
  19. Yeah. A few years back I wrote an entire Real Time Strategy game in DirectX 9, which is almost my age. Thank you!
  20. 8Observer8

    bug invaders

    I solved my task that I showed in my flowchart above. You can run my solution in sandbox. I wrote it in TypeScript + Unit Tests in Jasmine. Try to rewrite it in C#. Collisions.spec.ts Collisions.ts Point.ts Rectangle.ts Shape.ts
  21. This sounds awesome and the production quality of the game itself looks real smooth. I'd love to be a part of this! I enjoy studying languages, which has given me a range of different inflections and cadences to use for gibberish; I have also taken voice in University which gives me an ability to produce different vocal textures and timbres. Let me take some characters and make them my own! I have my own small studio set up here and can even add effects if desired.
  22. phil67rpg

    bug invaders

    yes
  23. I'm a total beginner with Directx/3D programming. I need help with implementing hardware instancing on Directx 11. I'm trying to render multiple cubes on the screen, to create some sort of Minecraft-esque voxel engine. The problem is, I don't know where to start to achieve this. This is how my "render frame" function looks: void RenderFrame(void) { D3DXMATRIX matView, matProjection; D3DXMATRIX matFinal; // create a view matrix D3DXMatrixLookAtLH(&matView, &D3DXVECTOR3(0.0f, 9.0f, 24.0f), // the camera position &D3DXVECTOR3(0.0f, 0.0f, 0.0f), // the look-at position &D3DXVECTOR3(0.0f, 1.0f, 0.0f)); // the up direction // create a projection matrix D3DXMatrixPerspectiveFovLH(&matProjection, (FLOAT)D3DXToRadian(45), // field of view (FLOAT)SCREEN_WIDTH / (FLOAT)SCREEN_HEIGHT, // aspect ratio 1.0f, // near view-plane 100.0f); // far view-plane // create the final transform matFinal = matView * matProjection; // clear the back buffer to a deep blue devcon->ClearRenderTargetView(backbuffer, D3DXCOLOR(0.0f, 0.2f, 0.4f, 1.0f)); // clear the depth buffer devcon->ClearDepthStencilView(zbuffer, D3D11_CLEAR_DEPTH, 1.0f, 0); // select which vertex buffer to display UINT stride = sizeof(VERTEX); UINT offset = 0; devcon->IASetVertexBuffers(0, 1, &pVBuffer, &stride, &offset); devcon->IASetIndexBuffer(pIBuffer, DXGI_FORMAT_R32_UINT, 0); // select which primtive type we are using devcon->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST); // draw the Hypercraft devcon->UpdateSubresource(pCBuffer, 0, 0, &matFinal, 0, 0); devcon->DrawIndexed(24, 0, 0); // switch the back buffer and the front buffer swapchain->Present(0, 0); } Notice that there's a single vertex buffer containing the verteces of a cube, and index buffer containing its indeces. I want to render many (5000+) cubes on the screen at once on a single draw call, without performance issues, so I know instancing is the way to go, but I don't know how to implement it in my code. What changes do I need to do to my code in order to display multiple instances of the cube? Thanks in advance!
  24. phil67rpg

    hex grid

    well thanks for all the downvotes, you guys suck I am trying to do a new game and all get is downvotes, I might stop posting because I can solve problems all by myself.
  1. Load more activity
  • 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!