Hello and Happy new year to all of those who read my post,
I'm here once again whit a problem in my Code,
I'v been working on this game in whitch for now i have a red dot you can move whit awsd keys and a green dot witch trys to catch up whit the red dot, and also a life bar for the red dot witch lowers down when the greed dot touches the red dot.
I would like it if when the player clicks whit the mouse on a location of the screen, a ellipse witch represents a bullet will come from the red dot and go to the pointed location, if it touches the borders of the screen i want it to do nothing and when it touches the green dot i can give it some effects.
The problem is i have no idea how to make an ellipse that stays after the mouse press and how to make it possible to get multiple bullets over the screen at one time...
coul you have a tought about how i could make this work, i would be vey gratefull.
i won't put my code on here right now but if needed i will.
The only thing is that the code has to be pretty basic because i'm doing this as a school project and i don't want to just copy and paste, the main goal is to discover new ways of coding but also to be able to understand them and be able to reuse them.
1