| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 1 month |
| seen | Aug 22 '12 at 10:59 | |
| stats | profile views | 9 |
|
Aug 21 |
comment |
Java Collision Detection of a Slope using a Gradient Found the answer :) ... when calculating M the equation would have turned out to 0.5265, as the variable being an int it would have automatically changed to 0 meaning the gradient would be a straight line so by changing the variable type it was able to work properly. I cant believe how simple the problem was. Thank for your help.! Hopefully people looking for collision detection for a gradient will be able to look at it as an example.! |
|
Aug 21 |
comment |
Java Collision Detection of a Slope using a Gradient I went to edit and see if it would work, but when asking the question.. i wasent ment to put the = in the question and in my code it was y = m * ball.x + c; sorry.. |
|
Aug 21 |
comment |
Java Collision Detection of a Slope using a Gradient The reason it may have to be converted is when i am working out M. |
|
Aug 21 |
comment |
Java Collision Detection of a Slope using a Gradient I am not sure why i have done that, i ran it and the ball stopped moving where ever i place it on the screen. |
|
Jun 8 |
comment |
Android Game Development problem with Speed = Distance / Time what do you mean initialize it in setup? |
|
Jun 8 |
comment |
Android Game Development problem with Speed = Distance / Time mabye Android Game Development problem with speed = distance / time ?? |
|
Jun 8 |
comment |
Android Game Development problem with Speed = Distance / Time what do you think i should change it too? |
|
Jun 8 |
comment |
Android Game Development problem with Speed = Distance / Time The problem is not at the math.round,if i just put a code in which says 'block.speed = 18;' it still tells be to force close. Il update my post with my error log. |
|
Apr 13 |
comment |
Android Java rectangle collision detection not working oh that was to do with my old collision detection.. |
|
Apr 12 |
comment |
Android Java rectangle collision detection not working where should i put these .. in the sprite.java and block.java? |
|
Apr 12 |
comment |
Android Java rectangle collision detection not working you able to give me an exaple of the function ... :) |
|
Apr 12 |
comment |
Android Java rectangle collision detection not working for(Block block : BLOCKS) is defitnely running otherwize it would not draw the blocks to the screen. |
|
Apr 12 |
comment |
Android Java rectangle collision detection not working The showgameover does things which worked when i had my old collision detection system but i changed because it was buggy. the log.. is the same as the other logs in this java file. the only thing i could think could be different is that in java twithout android instead if intesect you put intersects but i got error and said it should be intersect (il have a look in the android jar) :) This is why im confused as well because it looks like it should work. |
|
Apr 9 |
comment |
How do I generate a level randomly? Hi, my code was java script ... i have found an easier script (i did the question again on stack overflow) if it does not work i will use this script so many thanks... [stackoverflow.com/questions/10080283/… here i have found a good script but i have put a comment to be able to use it.. are you able to answer the comment i put on the answer i got, thanks :) |