android - 游戏开发中关于布局的小问题
大家讲道理
大家讲道理 2017-04-18 09:05:52
0
2
432

我尝试使用wpf或android开发一些小游戏,发现了一些布局上的小问题。
比如一些塔防游戏,他的布局应该是grid式,但是发射的子弹是四面八方都可以发射,这应该是canves布局吧,植物大战僵尸的植物摆放,应该是grid布局,但其中有一种星星植物,它也是四面八方发射星星。但是两者在同一个场景下,是怎么结合起来的呢?请提供思路,谢谢大家!

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
迷茫

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?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!