ssafty / terasoft-12

Educational Kinect Game using C# and XNA
https://www.youtube.com/watch?v=sl8d_kQj3c0
0 stars 0 forks source link

0.15 "As a user I should see an avatar, which changes its color when the user moves towards the kinect device and changes to another color when the user moves back" #237

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The user should see an avatar which represents his distance from the kinect 
device...

Original issue reported on code.google.com by khaled.osmaan on 12 May 2012 at 8:50

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1610.

Integrated my work with exp2 by letting their methods call the super class 
methods base.LoadContent(), base.Draw and base.Update

Original comment by khaled.osmaan on 24 May 2012 at 7:24

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1611.

removed the exception I used to try and catch then throw to let the company 
developers know why the exception occured and how to fix it now that my work is 
integrated well with all screens

Original comment by khaled.osmaan on 24 May 2012 at 7:26

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1644.

Updated documentation for class GameScreen

Original comment by khaled.osmaan on 24 May 2012 at 10:54

GoogleCodeExporter commented 9 years ago
https://docs.google.com/file/d/0B3L2nsFGZ4BcNkowelRfNlBVeE0/edit

Original comment by khaled.osmaan on 24 May 2012 at 11:40

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1662.

Made method GetUserindex a static method and added parameter User[] users

Original comment by khaled.osmaan on 24 May 2012 at 12:08

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1663.

added a test for method GetUserIndex

Original comment by khaled.osmaan on 24 May 2012 at 12:08

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1664.

Updated test file

Original comment by khaled.osmaan on 24 May 2012 at 12:10

GoogleCodeExporter commented 9 years ago
1. Please fix overlaying of blocks.. Make your UML readable.
2. Same comments when it comes to Stereotypes and Creating objects as in issue 
35.
3. Please clear up the logic to make it more understandable.. (For example: 2 
opt blocks with showAvatar condition ? .. etc. ) 

Original comment by vendett...@gmail.com on 24 May 2012 at 4:02

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1836.

fixed documentation

Original comment by khaled.osmaan on 25 May 2012 at 11:57

GoogleCodeExporter commented 9 years ago

Original comment by ams.sa...@gmail.com on 25 May 2012 at 12:12

GoogleCodeExporter commented 9 years ago
https://cacoo.com/diagrams/WtcsFQMI8wPelMff/edit

Original comment by khaled.osmaan on 25 May 2012 at 1:22

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1877.

updated documentation

Original comment by khaled.osmaan on 25 May 2012 at 2:27

GoogleCodeExporter commented 9 years ago
Link not working

Original comment by vendett...@gmail.com on 25 May 2012 at 5:08

GoogleCodeExporter commented 9 years ago

Original comment by vendett...@gmail.com on 25 May 2012 at 5:08

GoogleCodeExporter commented 9 years ago
ezay ya3ny? anyway uploaded it on google docs..
https://docs.google.com/file/d/0B3L2nsFGZ4BcVmpWOUZzQ1ZfWEk/edit

Original comment by khaled.osmaan on 25 May 2012 at 5:14

GoogleCodeExporter commented 9 years ago
1. Method block still overlaps on lifeline box
2. Update user mesh bayna heya feen aslan 
3. Stereotypes... show them
4. Creating an object isnt done that way ... take a look on issue 35 same 
comment 

Original comment by vendett...@gmail.com on 25 May 2012 at 5:17

GoogleCodeExporter commented 9 years ago
why is there a constructor and an initialize method? why not all in the 
constructor?

Why are you loading 4 pictures of the same avatar in different colors? i 
believe it is possible to do so using XNA, by changing the colors, unless it 
doesn't produce the same quality, test this and let me know please!!

parantheses around arithmatic operations

screenWidth+25 leave spaces between the operator and the operands

if (users.Length == 1)  {  users[0].USER = kinect.requestSkeleton();  }  else 
if (users.Length == 2)  {  users[0].USER = kinect.requestSkeleton();  
users[1].USER = kinect.request2ndSkeleton();  }  
let it be just an if else statement, theres no need for the 2nd if, right?

(ID+1) spaces between operator and operands

Original comment by q3a...@gmail.com on 25 May 2012 at 5:31

GoogleCodeExporter commented 9 years ago
its ok to overlap the lifeline box as its a self called method, imagine drawing 
it by your own hand, you dont add a method block for it beside the activation 
box it would look ugly...what do you mean mesh bayna heya feen? mahe mawgooda 
aheh :D...

Original comment by khaled.osmaan on 25 May 2012 at 5:45

GoogleCodeExporter commented 9 years ago
if I add what's in the Initialize method in the cnostructor there will be 
redundant data in both constructor's and I can't use : this("the upper 
constructor") because then it will initialize the array length to 1 when I 
actually want it to be 2...

I've already tried this but it colors each and every pixel in the 2D texture 
meaning it will color in a rectangular shape not caring which parts should be 
colored in the texture.. check the methods at the end of the class... thats why 
I used 4 pictures and it looks waaaaaay better.

Original comment by khaled.osmaan on 25 May 2012 at 5:48

GoogleCodeExporter commented 9 years ago
the second if is added just in case for the code to be more abstract the else 
statement could mean there's actually more than 2 users which will cause a 
scenario failure since the kinect device can only track 2 skeletons maximum at 
the same time

Original comment by khaled.osmaan on 25 May 2012 at 5:52

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1911.

added parenthesis around arithmetic operations and left spaces in between

Original comment by khaled.osmaan on 25 May 2012 at 5:54

GoogleCodeExporter commented 9 years ago

Original comment by khaled.osmaan on 25 May 2012 at 5:54

GoogleCodeExporter commented 9 years ago
https://docs.google.com/file/d/0B3L2nsFGZ4BccGpDMVFnQXE2aG8/edit

Original comment by khaled.osmaan on 25 May 2012 at 6:02

GoogleCodeExporter commented 9 years ago
You didnt fix anything except stereotypes 

Original comment by vendett...@gmail.com on 25 May 2012 at 6:05

GoogleCodeExporter commented 9 years ago
did you even read my previous comments? 

Original comment by khaled.osmaan on 25 May 2012 at 6:13

GoogleCodeExporter commented 9 years ago

Original comment by khaled.osmaan on 25 May 2012 at 6:15

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1930.

Deleted class UserAvatarTests since there was nothing actually to be tested 
since its UI

Original comment by khaled.osmaan on 25 May 2012 at 6:54