http://code.google.com/p/jspace2d/ —————————————————————————————————————————————————————————————— Welcome to the jspace2d project's page, here you will found this great(?) game. Just Log'n'Kill Basically it's a multiplayer shoot'em'up, where you buil…
教程来源于:Unity官方实例教程 Space Shooter(一)-(五)       http://www.jianshu.com/p/8cc3a2109d3b 一.经验总结 教程中步骤清晰,并且相应代码及代码思路也给出,一步步跟着走下来的话并不存在困难.对unity新手来讲,可以学到不少的东西. 1.添加GameObject存在两个标准步骤(良好习惯) 重新命名及重置Transforms Transforms可以理解为该GameObject的位置相关参数 position为位置参数,rot…
项目:https://pan.baidu.com/s/1jIDe2H4 using UnityEngine; using System.Collections; namespace VoidGame { public class Asteroid:MonoBehaviour { public GameObject m_explosionPrefab; //爆炸Prefab public float m_moveSpeed = 5.0f; //移动速度 public float m_rotateS…
using UnityEngine; using System.Collections; /// <summary> /// 背景滚动 /// </summary> public class Done_BGScroller : MonoBehaviour { /// <summary> /// 滚动速度 /// </summary> public float scrollSpeed; /// <summary> /// z轴的长度 /// <…
1.控制玩家移动 public float speed = 10f; public float xMin = -6.5f; public float xMax = 6.5f; public float zMin = -4.5f; public float zMax = 4.5f; void FixedUpdate() { float h = Input.GetAxis("Horizontal"); float v = Input.GetAxis("Vertical"…
首先 买过一本叫 Unity3D开发的书,开篇第一个例子就是大家经常碰见的打飞机的例子,写完后我觉得不好玩.后来买了一本 Unity 官方例子说明的书,第一个例子也是打飞机,但是写完后发现蛮酷的,首先就是例子自带的音乐很不错,粒子效果也不错,摄像机等各个参数在书中也有明确说明,自己写的时候按照这个调试好的参数来设置游戏就会很舒服.所以就想学一下为什么这样设置参数就可以把游戏调的酷一点,下面整理一下. 参数设置 发布设置 选择发布平台.在 Build Settings 中选择 Platform 为…
案例中实现的功能包括: (1)键盘控制飞船的移动: (2)发射子弹射击目标 (3)随机生成大量障碍物 (4)计分 (5)实现游戏对象的生命周期管理 导入的工程包中,包含着一个完整的 _scene---Main场景,创建一个全新场景,会在其中实现大部分功能 素材:链接:https://pan.baidu.com/s/1-qFUYMjrvhfeOWThawJ-Hw 提取码:bhr8 一.场景准备 1.创建飞船对象: (1)从project面板中Assets/models/vechicle_playe…
Refer to http://portableapps.com/apps for detail. Below is just a list at Jan-01-2017 for quick shower. Portable App Directory Over 300 Real Portable AppsOver 500 Million DownloadsFree, Legal, Safe, and Fully PortableNo Shovelware. No Bundleware.The …
https://github.com/PacktPublishing/Game-Development-Patterns-and-Best-Practices https://github.com/mattCasanova/Mach5 1. Introduction to Design Patterns (已看) 2. One Instance to Rule Them All - Singletons (已看) 3. Creating Flexibility with the Componen…
This site contains a ton of fun tutorials – so many that they were becoming hard to find! So I put together this little page to help everyone quickly find the tutorial they’re looking for. Hope you enjoy! :] Beginning iPhone Programming iPhone progra…