1 Star 1 Fork 2

褚秀相/h5_niuniu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 10.61 KB
一键复制 编辑 原始数据 按行查看 历史
褚秀相 提交于 2018-04-08 19:29 . 输入房间密码模块
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>EgretGameEngineDemo</title>
<meta name="viewport" content="width=device-width,initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="full-screen" content="true"/>
<meta name="screen-orientation" content="portrait"/>
<meta name="x5-fullscreen" content="true"/>
<meta name="360-fullscreen" content="true"/>
<style>
html, body {
-ms-touch-action: none;
background: #000000;
padding: 0;
border: 0;
margin: 0;
height: 100%;
}
</style>
<!--这个标签为通过egret提供的第三方库的方式生成的 javascript 文件-->
<!--modules_files_start-->
<script egret="lib" src="libs/modules/egret/egret.js"></script>
<script egret="lib" src="libs/modules/egret/egret.web.js"></script>
<script egret="lib" src="libs/modules/game/game.js"></script>
<script egret="lib" src="libs/modules/res/res.js"></script>
<script egret="lib" src="libs/modules/eui/eui.js"></script>
<script egret="lib" src="libs/modules/dragonBones/dragonBones.js"></script>
<script egret="lib" src="libs/modules/socket/socket.js"></script>
<script egret="lib" src="libs/modules/tween/tween.js"></script>
<script egret="lib" src="librarys/protobuf/bin/protobuf.js"></script>
<script egret="lib" src="promise/promise.js"></script>
<!--modules_files_end-->
<!--这个标签为不通过egret提供的第三方库的方式使用的 javascript 文件,请将这些文件放在libs下,但不要放在modules下面。-->
<!--这个标签会被替换为项目中所有的 javascript 文件-->
<!--game_files_start-->
<script egret="lib" src="bin-debug/core/starlingswf/display/SwfSprite.js"></script>
<script egret="lib" src="bin-debug/core/net/socket/UTFMsg.js"></script>
<script egret="lib" src="bin-debug/core/mvc/controller/BaseController.js"></script>
<script egret="lib" src="bin-debug/core/mvc/model/BaseModel.js"></script>
<script egret="lib" src="bin-debug/core/mvc/proxy/BaseProxy.js"></script>
<script egret="lib" src="bin-debug/core/mvc/view/BaseEuiView.js"></script>
<script egret="lib" src="bin-debug/core/net/socket/ByteArrayMsg.js"></script>
<script egret="lib" src="bin-debug/core/scene/base/BaseSpriteLayer.js"></script>
<script egret="lib" src="bin-debug/core/sound/BaseSound.js"></script>
<script egret="lib" src="bin-debug/core/starlingswf/display/SwfMovieClip.js"></script>
<script egret="lib" src="bin-debug/core/base/BaseClass.js"></script>
<script egret="lib" src="bin-debug/core/scene/base/BaseEuiLayer.js"></script>
<script egret="lib" src="bin-debug/core/scene/base/BaseScene.js"></script>
<script egret="lib" src="bin-debug/core/utils/CommonUtils.js"></script>
<script egret="lib" src="bin-debug/core/module/guide/GuideView.js"></script>
<script egret="lib" src="bin-debug/core/module/loading/EasyLoading.js"></script>
<script egret="lib" src="bin-debug/core/mvc/ControllerManager.js"></script>
<script egret="lib" src="bin-debug/core/mvc/ViewManager.js"></script>
<script egret="lib" src="bin-debug/core/adapter/AssetAdapter.js"></script>
<script egret="lib" src="bin-debug/core/adapter/MergeJsonAnalyzer.js"></script>
<script egret="lib" src="bin-debug/core/adapter/ThemeAdapter.js"></script>
<script egret="lib" src="bin-debug/Main.js"></script>
<script egret="lib" src="bin-debug/core/mvc/view/BaseSpriteView.js"></script>
<script egret="lib" src="bin-debug/core/mvc/view/IBaseView.js"></script>
<script egret="lib" src="bin-debug/core/net/http/DataCache.js"></script>
<script egret="lib" src="bin-debug/core/net/http/DataUpdate.js"></script>
<script egret="lib" src="bin-debug/core/net/http/Http.js"></script>
<script egret="lib" src="bin-debug/core/net/socket/BaseMsg.js"></script>
<script egret="lib" src="bin-debug/core/consts/Keyboard.js"></script>
<script egret="lib" src="bin-debug/core/net/socket/ByteArrayMsgByProtobuf.js"></script>
<script egret="lib" src="bin-debug/core/net/socket/Socket.js"></script>
<script egret="lib" src="bin-debug/core/net/socket/SocketConst.js"></script>
<script egret="lib" src="bin-debug/core/display/BitmapNumber.js"></script>
<script egret="lib" src="bin-debug/core/net/socket/UTFMsgByJson.js"></script>
<script egret="lib" src="bin-debug/core/display/HotspotBitmap.js"></script>
<script egret="lib" src="bin-debug/core/dragonBones/DragonBonesArmature.js"></script>
<script egret="lib" src="bin-debug/core/dragonBones/DragonBonesArmatureContainer.js"></script>
<script egret="lib" src="bin-debug/core/scene/manager/SceneManager.js"></script>
<script egret="lib" src="bin-debug/core/dragonBones/DragonBonesFactory.js"></script>
<script egret="lib" src="bin-debug/core/sound/SoundBg.js"></script>
<script egret="lib" src="bin-debug/core/sound/SoundEffects.js"></script>
<script egret="lib" src="bin-debug/core/sound/SoundManager.js"></script>
<script egret="lib" src="bin-debug/core/starlingswf/Swf.js"></script>
<script egret="lib" src="bin-debug/core/starlingswf/SwfAssetManager.js"></script>
<script egret="lib" src="bin-debug/core/starlingswf/SwfUpdateManager.js"></script>
<script egret="lib" src="bin-debug/core/starlingswf/display/ISwfAnimation.js"></script>
<script egret="lib" src="bin-debug/core/module/guide/GuideMaskBackgroud.js"></script>
<script egret="lib" src="bin-debug/core/module/guide/GuideUtils.js"></script>
<script egret="lib" src="bin-debug/core/starlingswf/game/StarlingSwfFactory.js"></script>
<script egret="lib" src="bin-debug/core/starlingswf/game/StarlingSwfMovieClip.js"></script>
<script egret="lib" src="bin-debug/core/starlingswf/game/StarlingSwfUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/AllAsyncExecutor.js"></script>
<script egret="lib" src="bin-debug/core/utils/AnchorUtil.js"></script>
<script egret="lib" src="bin-debug/core/utils/ArrayUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/AverageUtils.js"></script>
<script egret="lib" src="bin-debug/game/scenes/LoginScene.js"></script>
<script egret="lib" src="bin-debug/core/utils/DateUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/DebugUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/DelayOptManager.js"></script>
<script egret="lib" src="bin-debug/core/utils/DeviceUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/DisplayUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/EffectUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/EgretExpandUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/FrameDelay.js"></script>
<script egret="lib" src="bin-debug/core/utils/FrameExecutor.js"></script>
<script egret="lib" src="bin-debug/core/utils/KeyboardUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/LocationProperty.js"></script>
<script egret="lib" src="bin-debug/core/utils/Log.js"></script>
<script egret="lib" src="bin-debug/core/utils/MathUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/md5.js"></script>
<script egret="lib" src="bin-debug/core/utils/MessageCenter.js"></script>
<script egret="lib" src="bin-debug/core/utils/ObjectPool.js"></script>
<script egret="lib" src="bin-debug/core/utils/Percent.js"></script>
<script egret="lib" src="bin-debug/core/utils/QueueExecutor.js"></script>
<script egret="lib" src="bin-debug/core/utils/RandomUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/RenderTextureManager.js"></script>
<script egret="lib" src="bin-debug/core/utils/ResourceUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/ResVersionManager.js"></script>
<script egret="lib" src="bin-debug/core/utils/RockerUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/ShockUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/StageUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/StringBuffer.js"></script>
<script egret="lib" src="bin-debug/core/utils/StringUtils.js"></script>
<script egret="lib" src="bin-debug/core/utils/TextFlowMaker.js"></script>
<script egret="lib" src="bin-debug/core/utils/TimerManager.js"></script>
<script egret="lib" src="bin-debug/game/consts/ControllerConst.js"></script>
<script egret="lib" src="bin-debug/game/consts/HttpConst.js"></script>
<script egret="lib" src="bin-debug/game/consts/SceneConsts.js"></script>
<script egret="lib" src="bin-debug/game/consts/ViewConst.js"></script>
<script egret="lib" src="bin-debug/game/module/addRoom/AddRoomConst.js"></script>
<script egret="lib" src="bin-debug/game/module/addRoom/AddRoomController.js"></script>
<script egret="lib" src="bin-debug/game/module/addRoom/AddRoomModel.js"></script>
<script egret="lib" src="bin-debug/game/module/addRoom/AddRoomProxy.js"></script>
<script egret="lib" src="bin-debug/game/module/addRoom/AddRoomView.js"></script>
<script egret="lib" src="bin-debug/game/module/hall/HallController.js"></script>
<script egret="lib" src="bin-debug/game/module/hall/HallModel.js"></script>
<script egret="lib" src="bin-debug/game/module/hall/HallProxy.js"></script>
<script egret="lib" src="bin-debug/game/module/hall/HallView.js"></script>
<script egret="lib" src="bin-debug/game/module/loading/LoadingConst.js"></script>
<script egret="lib" src="bin-debug/game/module/loading/LoadingController.js"></script>
<script egret="lib" src="bin-debug/game/module/loading/LoadingView.js"></script>
<script egret="lib" src="bin-debug/game/module/login/LoginConst.js"></script>
<script egret="lib" src="bin-debug/game/module/login/LoginController.js"></script>
<script egret="lib" src="bin-debug/game/module/login/LoginModel.js"></script>
<script egret="lib" src="bin-debug/game/module/login/LoginProxy.js"></script>
<script egret="lib" src="bin-debug/game/module/login/LoginView.js"></script>
<script egret="lib" src="bin-debug/game/scenes/HallScene.js"></script>
<script egret="lib" src="bin-debug/game/scenes/LayerManager.js"></script>
<script egret="lib" src="bin-debug/game/scenes/LoadingScene.js"></script>
<script egret="lib" src="bin-debug/core/App.js"></script>
<!--game_files_end-->
</head>
<body>
<div style="margin: auto;width: 100%;height: 100%;" class="egret-player"
data-entry-class="Main"
data-orientation="auto"
data-scale-mode="fixedWidth"
data-resolution-mode="retina"
data-frame-rate="60"
data-content-width="650"
data-content-height="1000"
data-show-paint-rect="false"
data-multi-fingered="2"
data-show-fps="false" data-show-log="false"
data-log-filter="" data-show-fps-style="x:0,y:0,size:30,textColor:0x00c200,bgAlpha:0.9">
</div>
<script>
// egret.runEgret();
egret.runEgret({renderMode:"webgl"});
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/chuxiuxiang/h5_niuniu.git
git@gitee.com:chuxiuxiang/h5_niuniu.git
chuxiuxiang
h5_niuniu
h5_niuniu
master

搜索帮助