E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Enemy
HDU 4536 XCOM
Enemy
Unknown ( 状态压缩+搜索)
XCOM
Enemy
Unknown Time Limit: 500/200 MS (Java/Others) Memory Limit: 65535/32768
·
2015-11-02 13:18
com
简单3d RPG游戏 之 005 选择敌人
选择一个敌人,按ctrl+d,复制出3个,调整一下它们的位置,不重叠,修改Tag为
Enemy
,禁用EnemyAI。
·
2015-11-01 13:29
RPG
Animation Override Controller动画重载器
我们设置好一个base动画控制器(我的是叫
Enemy
1) 来设置如何播放动画的! 下面这
·
2015-11-01 13:18
controller
uva 12356 Army Buddies 树状数组解法 树状数组求加和恰为k的最小项号 难度:1
The Chief General of Nlogonia's Army decided to attack the
enemy
with a linear formation of soldiers,
·
2015-11-01 10:21
树状数组
UVALive 4426 Blast the
Enemy
! 计算几何求重心
D - Blast the
Enemy
!
·
2015-11-01 09:09
live
xml解析,练习
<collection shelf="New Arrivals"><movie title="
Enemy
Behind">
·
2015-10-31 18:22
xml解析
大开眼界:Mozilla的开发观念和工具
A good code reviewer can feel like your worst
enemy
FireFox是我迄今为止最喜欢的浏览器,出于对它的喜爱,我很想知道这个软件项目是如何运作
·
2015-10-31 17:50
开发
Uva 11729 Commando War (贪心,排序)
You have a commando squad at your disposal and planning an ambush on an important
enemy
camp located
·
2015-10-31 12:02
command
hdu 4536 dfs
题意:XCOM-
Enemy
Unknown是一款很好玩很经典的策略游戏.在游戏中,由于未知的敌人--外星人入侵,你团结了世界各大国家进行抵抗.随着游戏进展,会有很多的外星人进攻事件.每次进攻外星人会选择
·
2015-10-31 11:00
HDU
[导入]视频游戏开发系列课程(4):介绍游戏中的“精灵”和“动画”
我们在这讲中将介绍如何在游戏项目中创建并使用animated sprites,包括应用背景,视角,定义框架,框架延迟,透明,混合等特殊效果,还将利用这些概念执行游戏项目中的main行为和
enemy
行为。
·
2015-10-31 11:45
游戏开发
Codeforces 61E
Enemy
is weak 乞讨i<j<k && a[i]>a[j]>a[k] 对数的 树阵
主题链接:点击打开链接 意大利正在寻求称号 i<j<k && a[i]>a[j]>a[k] 的对数 假设仅仅有2元组那就是求逆序数的做法 三元组的话就用一个树状数组x表示 数字i前面有多少个比自己大的个数 然后每次给这个y数组求和,再把x中>a[i]的个数存入y中就可以 #include <algorithm> #inc
·
2015-10-31 10:02
codeforces
poj 3501 Escape from
Enemy
Territory 二分+bfs
水题,不解释。 #include<stdio.h> #include<math.h> #include<cstring> #include<algorithm> #include<iostream> using namespace std; #define N 1000002 struct node {
·
2015-10-31 09:11
escape
unity3d-游戏实战突出重围,整合游戏
一个是游戏界面: 脚本说明:依次是:敌人脚本,主角游戏,主菜单,工具
Enemy
1 using UnityEngine; 2 using System.Collections
·
2015-10-30 12:34
unity3d
cocos2dx打飞机项目笔记四:
Enemy
类和EnemyLayer类
Enemy
类没什么内容,就create和init方法,根据参数来创建不同的敌机,头文件代码如下: 1 //飞机的类型 2 enum planeType {smallPlane, midPlane
·
2015-10-28 08:06
cocos2dx
Tags and Layers
2、tag可以理解为一类元素的标记,如hero、
enemy
、apple-tree等。通过设置tag,可以方便地通过Ga
·
2015-10-28 07:49
tag
[ACM_水题] UVA 11729 Commando War [不可同时交代任务 可同时执行 最短完成全部时间 贪心]
You have a commando squad at your disposal and planning an ambush on an important
enemy
camp located
·
2015-10-27 14:57
command
UVALive 7146 Defeat The
Enemy
Defeat The
Enemy
Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format:
·
2015-10-27 13:26
live
UVA 10158 War
思路就是用并查集把相互产生关系的元素放到一起,并用一个数组delta[]来表示和根节点的关系,0表示friend,1表示
enemy
。
·
2015-10-24 09:01
uva
A Tribute To The Dog(zz)
Gentlemen of the jury: The best friend a man has in the world may turn against him and become his
enemy
·
2015-10-22 21:11
tr
UVALive 7146 Defeat the
Enemy
(贪心)
题目链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=5158题面:PDF题目大意: 敌我双方,我方n只军队,敌方m只军队,每只军队两个属性值,生命值和攻击力。两军交战,本身生命值减去对方的攻击力。若剩余生命值小于等于0,则牺牲。问我
David_Jett
·
2015-10-05 13:00
uvalive
贪心
区域赛
达内学习日志项目一:飞机大战(二)
项目实施接上文(飞机大战)项目目录如下:图1 如图一以及飞机大战(一)中的内容,可知我们需要建Airplane,Award,Bee,Bullet,
Enemy
,FlyingObject,Hero和ShootGame
u010823625
·
2015-09-22 07:00
codecombat之Sarven沙漠1-12关代码分享
loop {
enemy
= this.findNearestEnemy(); item = this.findNearestIt
comA
·
2015-08-28 12:00
codecombat之边远地区的森林31-44关代码分享
loop { var flag = this.findFlag(); var
enemy
= this.find
comA
·
2015-08-27 20:00
codecombat之边远地区的森林23-30关及地牢40\41关代码分享
/www.codecombat.cn/所有代码为javascript代码分享~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~23、Agrippa防守loop { var
enemy
comA
·
2015-08-26 20:00
codecombat之边远地区的森林12-22关及地牢39关代码分享
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~12、兽人营地// 如果有敌人,则攻击之// 如果没有敌人,则攻击财宝箱loop { // 使用if/else语句 var
enemy
comA
·
2015-08-24 19:00
codecombat之KithGard地牢19-37关代码分享
javascript代码分享~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~19、恐惧之门// 攻击大门(Door)// 需要攻击很多次,请使用loop循环loop{ var
enemy
comA
·
2015-08-23 14:00
【Codeforces61E】
Enemy
is weak
翻译题面:求三元逆序组数目E.Enemyisweaktimelimitpertest5secondsmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputTheRomanshaveattackedagain.ThistimetheyaremuchmorethanthePersiansbutShapurisreadyt
CreationAugust
·
2015-06-21 20:00
树状数组
逆序组
Swift开发Sprite Kit游戏实践(二):让敌人们动起来
那么首先要做的就是更新spawnEnemy()那一行代码,敌人sprite的position编写如下:
enemy
.position=CGPoint(x:frame.size.width+
enemy
.size.width
a631855639
·
2015-05-28 09:00
游戏
swift
RPG游戏中的设计模式之单例模式
这是第一篇,下面两篇博客地址策略模式工厂方法模式游戏简介简介游戏是一个非常简单的RPG小游戏,游戏中主要有两类角色,分别为Hero-英雄和
Enemy
-敌人
qianqing13579
·
2015-05-05 23:00
设计模式
Tasharen Fog of War v1.0战争迷雾插件的使用(含Unity5.0Bug解决)
网上目前只能找到1.0版本):导入完毕之后Unity5.0会提示是否更新脚本(选择更新),5.0一下版本不会提示2、然后我们把插件自带的FogofWar预设拖入场景,接着创建一个地形,和两个Cube,一个是
Enemy
Makcy_
·
2015-05-05 15:48
Unity
CodeComnat-猎人三胞胎
enemy
)return; this.say("Die,"+
enemy
.id+"!")
NightCode
·
2015-04-13 12:00
Codeforces Beta Round #57 (Div. 2)E---
Enemy
is weak(树状数组+离散化)
TheRomanshaveattackedagain.ThistimetheyaremuchmorethanthePersiansbutShapurisreadytodefeatthem.Hesays:“Alionisneverafraidofahundredsheep”.NeverthelessShapurhastofindweaknessesintheRomanarmytodefeatthem
Guard_Mine
·
2015-03-23 21:00
离散化
树状数组
安卓应用-自定义监听器2
interface Spy { public void Listening(); }3、定义类Enemypackage com.test.leetlelistener2; public class
Enemy
sy月牙儿
·
2014-12-30 19:58
安卓
自定义监听器
Unity3D的寻路NavMeshAgent基础用法
1拖入两个僵尸护士(或者两个Cube也行)到场景中,一个为Player,一个为
Enemy
让
Enemy
自动寻路找到Player。
·
2014-12-29 20:00
hdu 4563XCOM
Enemy
Unknown dfs
/*dfs枚举所有的进攻国家*/#include#include#include#includeusingnamespacestd;#definemaxn20#definemaxm10#definemaxk110structnode{ intbelong; intpanic;}country[maxn];//每个国家的恐慌值和所属洲intattack[3][maxk];//进攻的国家vecto
cq_pf
·
2014-12-17 19:00
cocos2d-x 3.2 |飞机大战:敌机与爆炸
前情提要:飞机大战第三篇实现敌机与爆炸如下:新建类----->
Enemy
+Boom第一步:敌机类
Enemy
.h#include#include"cocos2d.h"USING_NS_CC;classEnemy
年少花阁
·
2014-09-08 23:46
cocos2d-x
cocos2d-x 3.2 |飞机大战:敌机与爆炸
前情提要:飞机大战第三篇实现敌机与爆炸如下:新建类----->
Enemy
+ Boom第一步:敌机类
Enemy
.h#include #include"cocos2d.h" USING_NS_CC; classEnemy
Test_dx
·
2014-09-08 23:00
编辑器
效果
粒子
爆炸
敌机
CodeForces - 61E
Enemy
is weak
DescriptionTheRomanshaveattackedagain.ThistimetheyaremuchmorethanthePersiansbutShapurisreadytodefeatthem.Hesays:"Alionisneverafraidofahundredsheep".NeverthelessShapurhastofindweaknessesintheRomanarmyt
u011345136
·
2014-08-07 11:00
POJ 1703
1703并查集#include #include #definebclear(a,b)memset(a,b,sizeof(a)) #definemaxn100001 intfa[maxn],
enemy
lydyangliu
·
2014-08-06 10:00
Cocos2dx中如何让runAction函数执行完后再执行后续程序
类似如下:mySprite->runAction(Sequence::create(MoveTo::create(0.2,
Enemy
->getMySprite()->getPosition(
natsu1211
·
2014-07-17 22:00
异步
cocos2d-x
Enemy
is weak(树状数组 + 离散化)
Enemy
is weak time limit per test 5 seconds memory limit per test 256 megabytes input standard
Simone_chou
·
2014-07-16 11:00
树状数组
EW20140702
(Master)人名;(英)马斯特 3.
enemy
['enəmɪ] n. 敌人,仇敌;敌军 adj
tianqiushi
·
2014-07-02 11:00
hdu 2337 Escape from
Enemy
Territory (预处理+二分+宽搜)
C- EscapefromEnemyTerritoryTimeLimit:5000MS MemoryLimit:65536KB 64bitIOFormat:%I64d&%I64uSubmit StatusDescriptionAsmallgroupofcommandoshasinfiltrateddeepintoenemyterritory.Theyhavejustaccompli
u014569598
·
2014-07-01 10:00
codecombat hunter-triplets
enemy
)return; this.say("Die,"+
enemy
.id+"!")
電泡泡
·
2014-05-25 19:00
[Java 游戏编程]STG类游戏的实现3-
Enemy
&&BulletCollision
Game.javaimportjavax.swing.JFrame;publicclassGame{publicstaticvoidmain(String[]args){JFramewindow=newJFrame("飞碟大战");window.setResizable(false);window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);win
angryn00b
·
2014-04-17 18:18
加载pack文件
Nearest,Nearestrepeat:noneenemy3_down6 rotate:false xy:1,762 size:166,261 orig:166,261 offset:0,0 index:-1
enemy
3
a332324956
·
2014-04-10 12:00
android
源码分析
libgdx
CodeComnat-猎人三胞胎
enemy
)return; this.say("Die,"+
enemy
.id+"!")
abclixu123
·
2014-03-16 21:00
Enemy
is weak 树状数组求逆序数
求出每个位置左边有几个比它大,右边有几个比它小,然后乘法原理加起来就够了。大于小于什么的用树状数组YY一下就出来了。#include #include #include #include #include #include usingnamespacestd; intn; intc[2000000]; structnode { intx; intid; }a[2000000]; boolcmp(n
t1019256391
·
2014-01-20 17:00
poj 3501 Escape from
Enemy
Territory(预处理&二分&bfs)
EscapefromEnemyTerritoryTimeLimit: 5000MS MemoryLimit: 65536KTotalSubmissions: 2301 Accepted: 637DescriptionAsmallgroupofcommandoshasinfiltrateddeepintoenemyterritory.Theyhavejustaccomplishedtheirmiss
y5885922
·
2014-01-09 23:00
c
算法
ACM
物体旋转
floatnexPosX=cos(CC_RADIANS_TO_DEGREES(degress))*dist; floatnexPosY=sin(CC_RADIANS_TO_DEGREES(degress))*dist;
enemy
w18767104183
·
2014-01-09 18:00
上一页
3
4
5
6
7
8
9
10
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他