Inuyashakagome16

Members
  • Content count

    228
  • Joined

  • Last visited

Community Reputation

836 Good

About Inuyashakagome16

  • Rank
    Member
  1. Recently I started looking through OpenGL and I think it would be great to learn and work with. I've used other graphic libraries before so this isn't a tech "how to do this" question. My question however is, being that my primary platform is Windows, how should I setup my environment? I have access to VS2010 - 2012 and I've used other IDE's before as well. I've glanced through information about GLEW and GLFW and from what I've read their used to make certain things easier in OpenGL and cross platform support.    tl;dr: I'm on Windows, should I be using GLEW, GLFW or any other libraries? Is there a certain IDE that doesn't play well with OpenGL vs another? Most of the links I've read about the subject are either outdated or don't use GLEW/GLFW for anything so that's why I'm here.     Thanks!
  2. Displaying Tiles using a Orthographic projection?

      So really what I would want is a collection of quads textured, and the orientation changed to be the view I desire?
  3. So I've been trying to display tiles in the isometric perspective for a little while now and It seems like displaying them using Matrix datatypes like View, Projection etc seemed to be the best way. The only example of drawing like this I've seen is with Models.   foreach (ModelMesh mesh in myModel.Meshes)             {                 // This is where the mesh orientation is set, as well                  // as our camera and projection.                 foreach (BasicEffect effect in mesh.Effects)                 {                     effect.EnableDefaultLighting();                     effect.World = transforms[mesh.ParentBone.Index] *                         Matrix.CreateRotationY(modelRotation)                         * Matrix.CreateTranslation(modelPosition);                     effect.View = Matrix.CreateLookAt(cameraPosition,                         Vector3.Zero, Vector3.Up);                     effect.Projection =  Projection;                                                  //Matrix.CreatePerspectiveFieldOfView(                         //MathHelper.ToRadians(45.0f), aspectRatio,                         //1.0f, 10000.0f);                 }                 // Draw the mesh, using the effects set above.                 mesh.Draw();             }   And displaying tiles seemed to be done without any matrix datatypes at all. (No View, Projection, etc)    I'm asking, is it possible to display tiles using a Orthographic Projection (matrix datatypes. Pretty much isometric) and if it is, where should i start? I've search for a while and I can't seem to find any information on this.   If i'm approaching this the wrong way, please let me know. I'm just trying to find how I should start displaying these. I know how to display tiles, just not in this perspective.
  4. Math and/or Tutorials for Isometric perspective?

      Wow! That's really easy to understand o.o Thanks!   I'm pretty sure that'll do it. It says that it's "Tiles Math" but regardless I think it'll be fine. I'm not sure if what I'm doing will be tiles, or actually what it will be in general. It's just like.. one solid piece of land. And I would generate a new one each level.   EDIT: Also referencing what FLeBlanc said about orthogonal projection, when I look up anything about Isometric perspective and changing the camera with XNA that always comes up now. So maybe what I want is a tutorial for projection? 
  5. Math and/or Tutorials for Isometric perspective?

      I kind of understand what you're saying. I'm reading up on different perspectives and it's starting to make more sense so hopefully I can get the information I need and apply it. :) Thanks!       I actually went through most of that tutorial set looking for what I was trying to do but couldn't really find much. :( It did help me understand tiles though!
  6. For the past few weeks I've been searching for a tutorial or article about the math behind the Isometric perspective and a bit of the code involved in that. (With XNA / C# mostly)   (I'm looking to make something with a perspective like Bastion http://supergiantgames.com/site/wp-content/uploads/Bastion_122310_0001.jpg )   I've found a few for Flash http://gamedev.tutsplus.com/tutorials/implementation/creating-isometric-worlds-a-primer-for-game-developers/ but nothing that were really just for XNA.    Tl;dr, a link for the math behind what the isometric perspective is and how that could be applied to XNA would be most awesome if anyone could explain it / share a link. I'll even accept just a link to source code at this point. It would be better than nothing!     Thanks!
  7. Completly new

    Also XNA is a good library to use. DX and OpenGL aren't.. really beginner friendly. He says he want's to know c++.  So no xna.   True. I just wasn't sure if learning C++ as a first language would be.. good. I'm not saying he should but rather suggesting that it might be better to start else where. But you're links for OpenGL and DX are very reliable (as a side note) thanks!
  8. Completly new

    Also XNA is a good library to use. DX and OpenGL aren't.. really beginner friendly.
  9. Completly new

    For Video tutorials I would check out Oyyou on youtube.  And another awesome series (text based) is Rb Whitaker   You'll want to learn C# which RB Whitaker's site also has some C# tutorials: http://rbwhitaker.wikidot.com/c-sharp-tutorials   Good luck!
  10. Any point Learning XNA?

    It is true that they are cutting support soon for XNA. However, monogame is an alternative! and it's multiplatform! It's still in C# as well. I'm using monogame currently to relearn some XNA now and it's great. 
  11. Detect single mouseclick - move sprite

    it really is. :P Well good, and you're welcome. Just look through these forums about XNA and just general game development and observe, or comment if you want. That's part of how I learned. That and actually coding it and reading through books.    Good luck!
  12. Detect single mouseclick - move sprite

      Go down to the bottom of the page and click "show source code" that will show you where the "private MouseState oldState;" should be. :P It should be up with your spritebatch variable just inside of the class, not inside of any methods. (Initialize, Update, Draw, etc)
  13. Detect single mouseclick - move sprite

    I don't think that'll work.    var lastMouseState = currentMouseState; var currentMouseState = Mouse.GetState();   That's saying that you are assigning (and declaring) lastMouseState and assigning it currentMouseState. But.. that's not even declared yet. 2nd line is "var currentMouseState" and assigns that variable "Mouse.GetState();" which means.. you would be assigning a variable that isn't even declared yet to a new variable. So that would most likely throw an error.
  14. Literature, motivation, how-to-do-it-right on C#/XNA?

    Yup! Also with XNA/Monogame remember that Terraria and Bastion are XNA games. And they are on PC and XBLA. (Terraria is on the way soon I guess to XBLA?) So you can make PC games and console games with XNA/Monogame. 
  15. Literature, motivation, how-to-do-it-right on C#/XNA?

    I would check out http://rbwhitaker.wikidot.com/xna-tutorials for a tutorial set.   and  http://shop.oreilly.com/product/0636920013709.do   http://www.amazon.com/XNA-4-0-Game-Development-Example/dp/1849690669   for books. As mollekake said, check out monogame It's an awesome library that's pretty much XNA with most of its classes so far. It's still in development but many games have been released using monogame. (check the site for more on that) I'm currently going through monogame learning it and it's great. it's pretty much XNA honestly.