我尝试使用wpf或android开发一些小游戏,发现了一些布局上的小问题。比如一些塔防游戏,他的布局应该是grid式,但是发射的子弹是四面八方都可以发射,这应该是canves布局吧,植物大战僵尸的植物摆放,应该是grid布局,但其中有一种星星植物,它也是四面八方发射星星。但是两者在同一个场景下,是怎么结合起来的呢?请提供思路,谢谢大家!
光阴似箭催人老,日月如移越少年。
These games should not be made using UI frameworks like wpf. You need to understand the process of 2D game production. It is recommended to take a look at unity or cocos2d.
The direction of launch has nothing to do with the layout, shouldn't it be a matter of collision check?
These games should not be made using UI frameworks like wpf.
You need to understand the process of 2D game production. It is recommended to take a look at unity or cocos2d.
The direction of launch has nothing to do with the layout, shouldn't it be a matter of collision check?