• 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.

AhmedCoeia

Members
  • Content count

    174
  • Joined

  • Last visited

Community Reputation

510 Good

About AhmedCoeia

  • Rank
    Member

Personal Information

  • Location
    Moroco
  1. it seems you wrote about me here  http://bryanwagstaff.com/index.php/life-advice-about-changing-careers-depression-and-games/ I never want to make games anymore, its very hard for me.. but I just want to practice them, so I need advice, because writing games can teach you a lot in CS.    I also written that wrapper or you can call it a 2D game engine, https://code.google.com/p/directxgameengine   am I still a bad coder or can't get coding ? 
  2. Frob, thanks so much for your help, I really appreciate it, I'm controlling my bipolar disorder.  By the way I quit the game job this month, and I will do pure programming stuff, that are not games. That's why I want to practice some suggested projects or some games.    For education, I'm 28 and I'm immigrant in Austria and I have to work, there is no possibility to study CS :(.   I have managed to get the barrier working https://www.youtube.com/watch?v=E-1bUQbW6lM&index=1&list=LLv7L7GjxtsroruAvNqXOFMg    Frob, I have managed to finish some software before, you made me feel that I suck and I shouldn't do software, your reply made me feel depressed more . I just want to improve.
  3. Hi All,   I would like to enhance my programming skills. I have done few projects like space invader, and atari asteroids as games. I was doing 3D game programming but was fired due to my lack of skills. When I back home from work, I have plenty of time.. I want to invest it to enhance my programming skills.. So Would you suggest projects or some stuff that I can do in my spare time ? I'm most of the time reading data structure and algorithms but I never practice them.. for example of the things that I focus on.    I lost the confidence in my self, and I need to restore it.. but don't know how..   btw, here is a list of some of the projects that I have done https://www.youtube.com/user/ahmedragia21
  4. I have mental sickness bipolar disorder :). and I'm thinking to be hospitalized again ( I was last two months ) .    Frob, what do you recommend to improve my programming skills ?    I have made that software alone https://vimeo.com/52915105 I was the lead. My skills are getting down and down since I was hospitalized :S    I need a guide and I will follow it, like do those projects to restore ur self confidence... Now I'm working on space invader and I can't finish. 
  5. I adjusted the bounding box's y size to be the difference between current position and last position.   Now for the algorithm that you posted earlier, there is a chance that the bullet intersects with the bounding rect, and there is black, but in the next frame, there is green and the bullet misses that part that it should hit, because the intersection test  is tested once... how do I fix that ?
  6. he threated me last employee appraisal of getting fired if my performance won't be better. I lost the confidence in software development in general. I suck :S    I looked at your project its very nice. Can I work with you ? Maybe I learn more ? 
  7. Hi, I worked last year into 3d games and participated into two titles sports simulation, did some stuff like sounds, skid marks,..etc. I'm into the way of getting fired soon, tasks getting hard and I couldn't do them...  I lost the confidences at all, however I have doing programming for 7 years, but worked on business applications,..etc. Game programming is really different and it needs a lot of algorithms and imagination..    Now I lost the confidence at all after failure in two tasks, I even want to be a taxi driver and leave the programming career...  my education is electronics engineer and never studied programming in the university, I taught myself everything... which basically is nothing    How would I restore my confidence :S ?  
  8. What I understand is, the bullet is so fast and sometimes the collision doesn't work, and it skips, but why ? I don't know.. the cpu should be fast enough to process collision that fast.    I tried to record the prevposition of the bullet and use it in the calculation, as shown:   void Bullet::Update(float dt) { Position.y -= 0.50 * dt; Vel = (Position - prevPosition).GetNormalised(); if (Position.y < 0) { IsDestroyed = true; } else IsDestroyed = false; prevPosition = Position; } and for intersection    if (IntersectsWith((*it)->BoundingRect, barrierRect)) { cRect bounding = Intersection((*it)->BoundingRect, barrierRect); // subtract (*it) bullet position from barrrier's rect  int normX = (*it)->prevPosition.x + (*it)->Vel.x - barrierRect.x; int normY = (*it)->prevPosition.y + (*it)->Vel.y - barrierRect.y; // barrier image pixels  uint32* ptr = (uint32*)pixels; // height of the barrier int pixelOffset = normY*51 + normX; unsigned int color = ptr[pixelOffset]; // look up the color if its not black, it should be green if (color != 0xFF000000) { // delete the bullet Bullet *bullet = *it; it = ship->Bullets->erase(it); delete bullet; ship->Canfire = true; isCollision = true; // blast a circle around that bullet hit position int radius = 9; for (int y = -radius; y <= radius; y++) { for (int x = -radius; x <= radius; x++) { if (x*x + y*y <= radius*radius) { int j = x + normX; int i = y + normY; int pixelOffset = i*51  + j; ptr[pixelOffset] = 0xff000000; } } } } but I still gets in-accurate collision detection and blasting circles :S    
  9. when I made the bullet slower, everything works fine actually.. so should I store its previous position and use it in the calculation ?
  10. is the calculation correct ?  normX =  bulletXpos - barrierRect.X ? and the same for you ?   What you mean is should I record previous position of the bullet ? and use that in the calculation ?
  11. I've been struggling with implementing the space invader bullet to barriers. I wanted right now to blast a circle around, when the bullet hits the barrier and modifies the circle. As shown in the video, the algorithm looks wrong, http://youtu.be/VMBczCsP3J4 I have tried my best to debug it, but I've failed. here is the algorithm: // if there is intersection if (IntersectsWith((*it)->BoundingRect, barrierRect)) { // subtract (*it) bullet position from barrrier's rect int normX = (*it)->Position.x - barrierRect.x; int normY = (*it)->Position.y - barrierRect.y; // barrier image pixels uint32* ptr = (uint32*)pixels; // height of the barrier int y = 31; for (int i = 0; i < 31; i++) { int pixelOffset = y + normX * 51; int color = ptr[pixelOffset]; // look up the color if its not black, it should be green if (color != 0xFF000000) { // delete the bullet Bullet *bullet = *it; it = ship->Bullets->erase(it); delete bullet; ship->Canfire = true; isCollision = true; // blast a circle around that bullet hit position int radius = 9; for (int y = -radius; y <= radius; y++) { for (int x = -radius; x <= radius; x++) { if (x*x + y*y <= radius*radius) { int j = x + normX; int i = y + normY; int pixelOffset = j + i * 51; ptr[pixelOffset] = 0xff000000; } } } break; } // go up y--; }  
  12. I've been struggling with implementing the space invader bullet to barriers. I wanted right now to blast a circle around, when the bullet hits the barrier and modifies the circle. As shown in the video, the algorithm looks wrong, http://youtu.be/VMBczCsP3J4 I have tried my best to debug it, but I've failed. here is the algorithm: // if there is intersection if (IntersectsWith((*it)->BoundingRect, barrierRect)) { // subtract (*it) bullet position from barrrier's rect int normX = (*it)->Position.x - barrierRect.x; int normY = (*it)->Position.y - barrierRect.y; // barrier image pixels uint32* ptr = (uint32*)pixels; // height of the barrier int y = 31; for (int i = 0; i < 31; i++) { int pixelOffset = y + normX * 51; int color = ptr[pixelOffset]; // look up the color if its not black, it should be green if (color != 0xFF000000) { // delete the bullet Bullet *bullet = *it; it = ship->Bullets->erase(it); delete bullet; ship->Canfire = true; isCollision = true; // blast a circle around that bullet hit position int radius = 9; for (int y = -radius; y <= radius; y++) { for (int x = -radius; x <= radius; x++) { if (x*x + y*y <= radius*radius) { int j = x + normX; int i = y + normY; int pixelOffset = j + i * 51; ptr[pixelOffset] = 0xff000000; } } } break; } // go up y--; }  
  13. it was am mixture feeling of please don't do this (work independently ) and when I stressed If not, he said in 3 months to 6 months, we will evaluate, then I said, if not, he said you won't be in the team.  he also said you need to learn much in client programming, so what ? is it bad that I ask colleagues  and learn ? what's wrong with him ?  he said I'm wasting their time, but to be honest it just occurred one time that a guy asked for per programming for the whole year. and I did a lot of tasks independently, he even didn't know about them, because he is a server side programmer, and the client manager who hired me left the company after three months of my employment   Why it's bad if I'm learning but I'm doing the task ? I have never left a task not done since the whole year! no one single task 
  14. What can I do then? He said sorry for that ( when he said you won't be in the team), that he needs quality of the product to be high,..etc of none sense reasons.    I wanna dig into the industry, but looks like there are no junior or entry level jobs at all. For example I was asking my colleagues yes about some areas which I'm not expert in! or have no clue to solve them. For example an imposter, a friend told me an algorithm then I implemented it and made it work. what's wrong with that ?!!! what's wrong if my colleague give me advises in how to approach a problem 
  15. Hi All, I have been working 3D game programming for a year now, and that is my first job in industry. Today I had employee appraisal and my manager told me that I don't work independently and I ask for help and two guys (seniors) they are tutoring me for the last year and I'm wasting their time. However I have worked on a lot of tasks dependently too, but for tasks that are beyond my knowledge, yes I ask them.  I asked him what if the situation won't be improved, he said I won't be in the team..however he asked me to be patient with another team member that is causing a lot of troubles to other team members and he is still in the company for a long of years!    I have already another offer from a company that is doing augmented reality, do you think should I wait to be fired or listen to my boss and do better or leave and keep my dignity untouched, in case getting fired?