重新启航,拥抱u3d

项目使用ccc(cocos creator)一路坑坑洼洼,最终因为ccc的包无法在ie上运行而暂停。
目前需要做的是重新选择开发工具。兼顾ie,最终选择了u3d。
之前用过一段时间ccc对于u3d的界面还不是很陌生。
不过第一次写hello u3d仍然遇到了不少的麻烦,毕竟它是个3D的编辑器。
它的camera决定了可视的区域。
由于5.x的unity已经内置了一套UI(text, image, button…)。因此想想只要拖个text再写下hello u3d就好,但是一开始editor里面有一个main camera,而新建text会重新创建一个canvas.这两者差距离非常远。
接下来的课题主要是组件使用以及animation。
u3d比ccc来更成熟,ccc极力模仿的u3d,button控件,compoent,这些概念与u3d的几乎如出一撤。
准备重新启航。

Html启航工坊登录页面是一个用于用户登录的网页界面,通常包含用户名和密码输入框以及登录按钮。以下是一个简单的Html启航工坊登录页面的示例代码: ```html <!DOCTYPE html> <html> <head> <title>启航工坊登录</title> <style> body { font-family: Arial, sans-serif; background-color: #f2f2f2; } .container { width: 300px; margin: 0 auto; padding: 20px; background-color: #fff; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .container h2 { text-align: center; color: #333; } .container input[type="text"], .container input[type="password"] { width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 3px; } .container input[type="submit"] { width: 100%; padding: 10px; background-color: #4CAF50; color: #fff; border: none; border-radius: 3px; cursor: pointer; } .container input[type="submit"]:hover { background-color: #45a049; } </style> </head> <body> <div class="container"> <h2>启航工坊登录</h2> <form action="login.php" method="post"> <input type="text" name="username" placeholder="用户名" required> <input type="password" name="password" placeholder="密码" required> <input type="submit" value="登录"> </form> </div> </body> </html> ``` 以上代码创建了一个简单的登录页面,包含一个标题、用户名输入框、密码输入框和登录按钮。用户需要输入正确的用户名和密码才能成功登录。登录表单的提交地址为`login.php`,你可以根据实际情况修改为你自己的后端处理地址。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值