You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The third feature I would like to add would be to figure out how to improve the gameplay for the user. Some of the things I could are add images when the user car collides with an "enemy" car. To do this I would need to check if collision happens, and then get that X and Y coordinate and add an image there. I would not need to a new class just a new method for that. I can also then remove that car unlike now when the car just pass through the player. Another gameplay aspect to improve would be to add upward and downward movement. This would take place in PlayPane and I would need to add key listeners for the upward and downward arrow keys. I would then need to go into PlayerCar and add boundaries for this movement. I could also add more power ups which would be added through PlayPane and I would need to write the code for the image and when and where to add it. I would also need to add the code for what the power up does.
The text was updated successfully, but these errors were encountered:
The third feature I would like to add would be to figure out how to improve the gameplay for the user. Some of the things I could are add images when the user car collides with an "enemy" car. To do this I would need to check if collision happens, and then get that X and Y coordinate and add an image there. I would not need to a new class just a new method for that. I can also then remove that car unlike now when the car just pass through the player. Another gameplay aspect to improve would be to add upward and downward movement. This would take place in PlayPane and I would need to add key listeners for the upward and downward arrow keys. I would then need to go into PlayerCar and add boundaries for this movement. I could also add more power ups which would be added through PlayPane and I would need to write the code for the image and when and where to add it. I would also need to add the code for what the power up does.
The text was updated successfully, but these errors were encountered: