i need getting collision detection work bricks in breakout clone. i've spent hours reading answers on different websites seem in other coding languages i'm not familiar , not sure how translate them over. i've got collision working on walls, paddle, , ball, can't work bricks.i'm not sure if you'll need see code different classes here's bricks, ball, , main form classes. format right haha. or advice appreciated. brick class: class bricktest2 { public int x {get; set;} public int y {get; set;} public int brwidth { get; set; } public int brheight { get; set; } public static int rows = 4; public static int columns = 10; public image bricktest2img; list<rectangle> brick = new list<rectangle>(); public rectangle brickrect2; public rectangle brickrect2 { { return brickrect2; } } public bricktest2() { x = 0; y = 0; br...
Comments
Post a Comment