Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
341 views
in Technique[技术] by (71.8m points)

javascript - How to Use gif picture in Pacman HTML5 games instead of shapes

I have to develop Pacman-type html5 based games where I need to use different characters in the game which are designed in gif or png. But I see that everything is made in JS. How can I use the picture instead of that?

Here is the GitHub source code https://github.com/daleharvey/pacman/

question from:https://stackoverflow.com/questions/65880307/how-to-use-gif-picture-in-pacman-html5-games-instead-of-shapes

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...