I am trying to make a starwars battle with HTML , CSS , and JavaScript


#1

I am trying to make a starwars battle with HTML , CSS , and JavaScript, but... I can't find out how to make it so that when you click on your ship it will shoot a lazer, and if the lazer hits anothor ship it will explode it, so if you know anything about doing something like that, please tell me!


#2

I mean you could do that using HTML , CSS , and Java Script but its gonna be way to many lines of code for me. If you are intrested in games in general , you should check out Unity3D (Whitch is probably The BEST for Game Development ONLY)and Java GameDevelopment(First of you Should master Java before learning this Meaning go to the Begginer section of the viedo).

But all in all, Gaming Development is no doubt the hardest type of programming. Hope you Succed.

Cheers , Amanuel.


#3

you can make simple things with js + html and css, but a game that advanced i would use flash


#4

Maybe try this course as a first start:
https://www.codecademy.com/en/courses/web-intermediate-en-CkOwl/0/1


#5

thanks for the link.