Search found 3 matches
- April 5th, 2020, 9:25 pm
- Forum: Everything
- Topic: Beginner HW 8: My solution
- Replies: 1
- Views: 1507
Beginner HW 8: My solution
Add the velocities the p00 positions. poo0_x += poo0_v_x; poo0_y += poo0_v_y; poo1_x += poo1_v_x; poo1_y += poo1_v_y; poo2_x += poo2_v_x; poo2_y += poo2_v_y; Store poo positions for comparison int poo0_temp_x = poo0_x; int poo0_temp_y = poo0_y; int poo1_temp_x = poo1_x; int poo1_temp_y = poo1_y; int...
- April 4th, 2020, 11:15 pm
- Forum: Everything
- Topic: Beginner Tutorial 8 - isEaten = isColliding
- Replies: 0
- Views: 20331
Beginner Tutorial 8 - isEaten = isColliding
Chili mentions in the wiki that you cannot assign Eaten = isColliding, which is true, The collision would be checked the next frame and based off the provided parameters will be assigned "false", and then the draw code will show the image. The cleaner way, in my opinion is to do if(!poo0_isEaten){ p...
- April 4th, 2020, 12:54 pm
- Forum: Everything
- Topic: My first game!
- Replies: 9
- Views: 6336
Re: My first game!
Great work man. I typically not a tetris player, but I played a game of it and was had a surprising amount of fun. It was probably because it's easier than traditional tetris? really good work, and it has me wanting to make a tetris clone now... lol