• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

pjStyle

Members
  • Content count

    13
  • Joined

  • Last visited

Community Reputation

124 Neutral

About pjStyle

  • Rank
    Member
  1. Hey guys, I've been running into a problem with SDL 1.2.15 on my mac. Whenever i switch between fullscreen and windowed when my game is running i get a completely black screen. The same happens when i call the SDL_Iconify function on a Mac. I've tested on multiple versions of Macos (up to Lion i believe) and all show the same behaviour. Has anybody on this forum ran into this issue by chance? Regards, Ted de Vries
  2. Hey guys, We are working on a mac port of our game but have no experience what so ever with mac development :). So we have the option Force include set in visual studio to make sure certain header files are always included. Does anybody know if an option like this exists in Xcode?? A workaround would be including the header files where needed, but this will be a gigantic amount of work :). Also some tips regarding mac development would be greatly appreciated too! Thanks! - Ted de Vries
  3. Hey gamedev, I am working on a side project, a isometric diablo type game. And i've run into a problem :) I can't seem to get the movement of the player correctly mapped to the analog sticks of my controller. What i want is that when i press up on the stick, the character moves up in the world. The movement of the character is on a XZ plane, so i figured when you point the camera straight down at the character, the stick would directly map to the correct character movement. IE up on the stick is +z and down on the stick is -z movement. So i figured when we have the direction where the camera is looking at, and the down vector, we would calculate the angle between these vectors and transform the controller input accordingly. In code: // Make sure our character is moving correctly, ie. when we press up we move up tVector3 baseDirection = ControllerInputhandler::get()->getLeftStickPosition(0); baseDirection.normalize(); tVector3 baseCameraLookAt(0, -1, 0); tVector3 currentCameraLookAt = mCamera->getTarget() - mCamera->getPosition(); currentCameraLookAt.normalize(); tVector3 transformedDirection(baseDirection.y, 0, baseDirection.x); float angle = MathTools::getAngleBetweenVectors(baseCameraLookAt, currentCameraLookAt); tMatrix matTransform = tMatrix::createAxisAngle(tVector3(0, 1, 0), angle); transformedDirection = matTransform.transform(transformedDirection); But i guess im missing something, since im not an expert in this kind of math! :) I hope my question is understandable since it is quite a long story. [Edited by - pjStyle on August 25, 2010 10:36:06 AM]
  4. Couldnt get it working just yet. Any more tips what i should try next? I would like to be able to determine if i need to rotate across the X or Y axis depending on the side im on and the side im moving to. Anyone have an idea how i would do this?
  5. haegarr, What you mentioned is spot on, that's exactly what is happening now. Hopefully everything will be working fine tonight. Thanks for the replies!
  6. Alright great, i'll see if i can get it working tonight!
  7. Hey there, Im creating a little prototype at the moment and have run into some trouble. In the prototype the player is able to move across the sides of a cube. Now i want to create a nice little rotation effect when of the borders is reached. How i have it set up now is as follows: * Every side of the cube is assigned a normal. * When the border of a side is reached the normals of the two adjacent sides are placed into a cross product. Now this works in some situations, but the cross product should only produce rotations across the X and Y axis. For example the front side has a normal of (0,0,1) and the side on the left has a normal of (-1,0,0). Now taking the cross product of these produces a rotation across the Y axis what i would expect. Now when the normals (-1,0,0) and (0,1,0), or in other words moving from the left side to the top side, are placed in the cross product this resulsts in a rotation across the Z axis. My question is, am i using the correct method of determining these rotations by using normals? Or is there another way? Thanks in advance!
  8. jyk, Yes! That is exactly what i want to achieve.
  9. Maybe i wasn't clear enough on what i wanted. I want to calculate the position on the bezier curve depending on the position of the player in the level. What i want to achieve with this system is predetermine the movement of the main camera in a level. And make it follow the movement of the player.
  10. Hey there, I am working on a little prototype using a bezier curve to determine the path objects will traverse. In my prototype i use this bezier curve to control the camera movement in my scene. This movement across the bezier works fine now. My question is the following. I want the camera position on the curve to adjust itself to the position of the player in the scene. To illustrate look at the following image: I marked the top-left and bottom-right positions in the scene to illustrate where the camera should be. How would i be able to calculate the positioning of the camera relative to the player position? Thanks in advance, Ted de Vries
  11. Hello there, My problem is the following. I am making a simple 3d engine which exports to a dll. In one of the classes i have a function in which i want to fill a vector with data. This vector is supplied as an argument. The following link shows the function which is having problems. http://hstuart.dk/paste/view.aspx?id=d7bf405d-d4b1-4c2b-9384-03b56976c6d1 I have tried to place this function in a test project(apart from the dll) and it's functioning as expected. I hope somebody might know how i can solve this problem. Thanks in advance, Ted de Vries
  12. Thanks for the fast reply. Yes i should be possible to split triangles. I already have some (not fully) working code, where i use the method you describe in your post by slicing up the mesh along a predetermined plane. The thing is, i'm curious if there are any other working theories concerning the splitting of triangle meshes.
  13. Hey there, I'm working on a little project which must be able to split an existing triangle mesh into a predetermined amount of smaller meshes. I'm trying to read up on the topic but haven't been successfull in finding anything which can get me going. So my question is if anybody on these forums know some good links relating to this subject.