ngc游戏引擎 2D

  • h8_205902
    了解作者
  • 7.4MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-04 15:03
    上传日期
ngc游戏引擎,支持中文,button,edit,list,tab... TILE地图,内含动画编辑器,地图编辑器,纹理打包
ngc游戏引擎.rar
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/627225afc0b40515e3db6448/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/627225afc0b40515e3db6448/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">ngc<span class="_ _0"> </span><span class="ff2">&#26159;<span class="_ _0"> </span></span>hge<span class="_ _0"> </span><span class="ff2">&#24341;&#25806;&#30340;<span class="_ _0"> </span></span>c<span class="_ _0"> </span><span class="ff2">&#35821;&#35328;&#20462;&#25913;&#29256;</span>,<span class="ff2">&#26680;&#24515;&#36824;&#26159;<span class="_ _0"> </span></span>hge<span class="_ _0"> </span><span class="ff2">&#30340;&#26680;&#24515;</span>, <span class="ff2">&#24076;&#26395;&#22810;&#25552;&#20986;&#23453;&#36149;&#24847;&#35265;</span></div><div class="t m0 x1 h3 y3 ff2 fs0 fc1 sc0 ls0 ws0">&#24847;&#35265;&#25110;&#38382;&#39064;&#35831;&#21457;&#36865;&#21040;<span class="ff1">:nondeep@126.com</span></div><div class="t m0 x1 h3 y4 ff1 fs0 fc2 sc0 ls0 ws0">D3D<span class="_ _0"> </span><span class="ff2">&#30340;&#22522;&#26412;&#23553;&#35013;</span></div><div class="t m0 x1 h3 y5 ff2 fs0 fc0 sc0 ls0 ws0">&#36890;&#29992;&#20989;&#25968;<span class="ff1">(</span>&#20197;<span class="_ _0"> </span><span class="ff1">NGC_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y6 ff2 fs0 fc0 sc0 ls0 ws0">&#26102;&#38388;&#20989;&#25968;<span class="ff1">(Timer_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y7 ff2 fs0 fc0 sc0 ls0 ws0">&#38543;&#26426;&#25968;&#20989;&#25968;<span class="ff1">(Random_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y8 ff2 fs0 fc0 sc0 ls0 ws0">&#22270;&#24418;&#26680;&#24515;&#20989;&#25968;<span class="ff1">(Core_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y9 ff2 fs0 fc0 sc0 ls0 ws0">&#28210;&#26579;&#30446;&#26631;&#20989;&#25968;<span class="ff1">(Target_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 ya ff2 fs0 fc0 sc0 ls0 ws0">&#32441;&#29702;&#20989;&#25968;<span class="ff1">(Texture_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 yb ff2 fs0 fc0 sc0 ls0 ws0">&#23383;&#20307;&#20989;&#25968;<span class="ff1">(Text_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">,</span>&#30001;&#24494;&#31186;&#30340;&#24179;&#34913;&#25552;&#20379;&#30340;&#35299;&#20915;&#26041;&#26696;<span class="ff1">)</span></div><div class="t m0 x1 h3 yc ff2 fs0 fc0 sc0 ls0 ws0">&#31934;&#28789;&#20989;&#25968;<span class="ff1">(Sprite_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 yd ff2 fs0 fc0 sc0 ls0 ws0">&#21160;&#30011;&#20989;&#25968;<span class="ff1">(Animation_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 ye ff2 fs0 fc0 sc0 ls0 ws0">&#23545;&#35937;&#20989;&#25968;<span class="ff1">(object_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 yf ff2 fs0 fc0 sc0 ls0 ws0">&#22320;&#22270;&#20989;&#25968;<span class="ff1">(map_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y10 ff1 fs0 fc2 sc0 ls0 ws0">ngc<span class="_ _0"> </span><span class="ff2">&#25243;&#24323;&#20102;<span class="_ _0"> </span></span>hge<span class="_ _0"> </span><span class="ff2">&#21407;&#26377;&#30340;<span class="_ _0"> </span></span>gui.<span class="ff2">&#37325;&#26032;&#23553;&#35013;&#20102;&#19968;&#22871;&#22522;&#20110;&#31383;&#21475;&#28040;&#24687;&#30340;<span class="_ _0"> </span></span>gui</div><div class="t m0 x1 h3 y11 ff1 fs0 fc0 sc0 ls0 ws0">gui<span class="_ _0"> </span><span class="ff2">&#36890;&#29992;&#20989;&#25968;</span>(gui_Common_<span class="ff2">&#24320;&#22836;&#30340;&#20989;&#25968;</span>)</div><div class="t m0 x1 h3 y12 ff2 fs0 fc0 sc0 ls0 ws0">&#21333;&#34892;&#25991;&#26412;&#26694;<span class="ff1">( gui_InputEdit_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y13 ff2 fs0 fc0 sc0 ls0 ws0">&#22810;&#34892;&#25991;&#26412;&#26694;<span class="ff1">(gui_StaticEdit_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y14 ff2 fs0 fc0 sc0 ls0 ws0">&#22402;&#30452;&#28378;&#21160;&#26465;&#20989;&#25968;<span class="ff1">(gui_VerRoll_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y15 ff2 fs0 fc0 sc0 ls0 ws0">&#27700;&#24179;&#28378;&#21160;&#26465;&#20989;&#25968;<span class="ff1">(gui_HorRoll_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y16 ff2 fs0 fc0 sc0 ls0 ws0">&#25353;&#38062;&#20989;&#25968;<span class="ff1">(gui_Button_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y17 ff2 fs0 fc0 sc0 ls0 ws0">&#21333;&#36873;&#22810;&#36873;&#26694;&#20989;&#25968;<span class="ff1">(gui_Select_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y18 ff2 fs0 fc0 sc0 ls0 ws0">&#21015;&#34920;&#26694;&#20989;&#25968;<span class="ff1">(gui_ListCtrl_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y19 ff2 fs0 fc0 sc0 ls0 ws0">&#23646;&#24615;&#39029;&#20989;&#25968;<span class="ff1">(gui_TabCtrl_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y1a ff2 fs0 fc0 sc0 ls0 ws0">&#38745;&#24577;&#32534;&#36753;&#26694;&#19982;&#38745;&#24577;&#22270;&#20687;&#26694;<span class="ff1">(gui_ImageStatic_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y1b ff2 fs0 fc0 sc0 ls0 ws0">&#32553;&#25918;&#22270;&#20687;&#26694;<span class="ff1">(gui_ImageSize_</span>&#24320;&#22836;&#30340;&#20989;&#25968;<span class="ff1">)</span></div><div class="t m0 x1 h3 y1c ff1 fs0 fc2 sc0 ls0 ws0">gui<span class="_ _0"> </span><span class="ff2">&#30340;&#25193;&#23637;</span></div><div class="t m0 x1 h4 y1d ff1 fs0 fc0 sc0 ls0 ws0">struct PROBAR</div><div class="t m0 x1 h4 y1e ff1 fs0 fc0 sc0 ls0 ws0">{</div><div class="t m0 x2 h4 y1f ff1 fs0 fc0 sc0 ls0 ws0">HTARGET hTarget;</div><div class="t m0 x2 h4 y20 ff1 fs0 fc0 sc0 ls0 ws0">HSPRITE hTemp;</div><div class="t m0 x2 h4 y21 ff1 fs0 fc0 sc0 ls0 ws0">HSPRITE hProc;</div><div class="t m0 x2 h4 y22 ff1 fs0 fc0 sc0 ls0 ws0">int cur;</div><div class="t m0 x2 h4 y23 ff1 fs0 fc0 sc0 ls0 ws0">int max;</div><div class="t m0 x1 h4 y24 ff1 fs0 fc0 sc0 ls0 ws0">};</div><div class="t m0 x1 h4 y25 ff1 fs0 fc0 sc0 ls0 ws0">void gui_HProBar_Update(HWND hwnd)</div><div class="t m0 x1 h4 y26 ff1 fs0 fc0 sc0 ls0 ws0">{</div><div class="t m0 x2 h4 y27 ff1 fs0 fc0 sc0 ls0 ws0">PROBAR *p=(PROBAR*)gui_Common_GetWindowData(hwnd);</div><div class="t m0 x2 h4 y28 ff1 fs0 fc0 sc0 ls0 ws0">HTEXTURE hRet;</div><div class="t m0 x2 h4 y29 ff1 fs0 fc0 sc0 ls0 ws0">if(p-&gt;hTemp!=NULL)</div><div class="t m0 x2 h4 y2a ff1 fs0 fc0 sc0 ls0 ws0">{</div><div class="t m0 x3 h4 y2b ff1 fs0 fc0 sc0 ls0 ws0">Sprite_Delete(p-&gt;hTemp);</div><div class="t m0 x2 h4 y2c ff1 fs0 fc0 sc0 ls0 ws0">}</div><div class="t m0 x2 h4 y2d ff1 fs0 fc0 sc0 ls0 ws0">int w=gui_Common_GetWindowWidth(hwnd);</div><div class="t m0 x2 h4 y2e ff1 fs0 fc0 sc0 ls0 ws0">int h=gui_Common_GetWindowHeight(hwnd);</div><div class="t m0 x2 h4 y2f ff1 fs0 fc0 sc0 ls0 ws0">HSPRITE ground =gui_Common_GetGroundSprite(hwnd);</div><div class="t m0 x2 h4 y30 ff1 fs0 fc0 sc0 ls0 ws0">if(p-&gt;hTarget==NULL) p-&gt;hTarget=Target_Create(w,h,false);</div><div class="t m0 x2 h4 y31 ff1 fs0 fc0 sc0 ls0 ws0">Core_BeginScene(p-&gt;hTarget); Core_Clear(0);</div><div class="t m0 x1 h4 y32 ff1 fs0 fc0 sc0 ls0 ws0">//&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;</div><div class="t m0 x2 h4 y33 ff1 fs0 fc0 sc0 ls0 ws0">int cw=w*p-&gt;cur/p-&gt;max; Sprite_RenderStretch(ground,0,0,(float)cw,(float)h);</div></div></div><div class="pi" data-data='{"ctm":[1.568627,0.000000,0.000000,1.568627,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐
    • 3D动画编辑器
      3D动画编辑器,好用,欢迎大家放心使用,无需任何插件.
    • GIF动画编辑器
      超级好用的GIF动画图片修改和编辑小工具,非常实用的小工具.
    • 手机动画编辑器 软件
      内含手机游戏动画编辑器和图片编辑器,可用于sprite的高级渲染,跳出因sprite的机动性差不够灵活。由于sprite的一些缺点很多人放弃它而选择自己编码,这会增加工作量,而用这两个软件可以简化很多没必要的代码。
    • GIF动画编辑器绿色
      GIF动画编辑器绿色版,可以编辑GIF动画的软件
    • auroraGT 动画编辑器
      auroraGT 生成图片,好东西,地球人都知道的东西
    • 骨骼动画编辑器
      骨骼动画编辑器,用于设计一些骨骼动画效果,解压后点击Cocos StudioAnimationEditor运行就可以了
    • j2me 手机动画编辑器
      j2me 手机 动画 编辑器 j2me 手机 动画 编辑器
    • MotionWelder动画编辑器
      MotionWelder 手机 游戏 动画编辑器 内附 详细教程,代码,演示程序,demo资源及代码,更为惊叹的还有编辑器本身源代码,值得研究和学习
    • spritex动画编辑器
      传说中gameloft流传出来的动画编辑器,是真是假这里不做结论,但是软件本身很好用,功能强大,推荐下载!
    • gif图片动画编辑器
      简单好用的gif图片编辑器。简单好用的gif图片编辑器