腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9035)
视频
沙龙
1
回答
全方向的Pygame射击
python
、
python-3.x
、
pygame
(object): self.
bullet
_x =
bullet
_xin bullets: if
bullet
.
bullet
_x < 800 and
bullet
.
bullet
_x > 0 and
bullet
.
bullet
_y < 600 and <
浏览 1
提问于2019-11-27
得票数 1
2
回答
pygame运行状况显示问题
python
、
python-3.x
、
pygame
in red_
bullet
: for
bullet
in yellow_
bullet
(yellow_
bullet
,red_
bullet
,yellow,red):
bullet
.x +=
BULLET</e
浏览 44
提问于2021-09-29
得票数 1
1
回答
使子弹朝光标方向射门
python
、
math
、
pygame
1000, 800))keys = pygame.key.get_pressed() for
bullet
in bullets: if
bullet
.x > 0 and
bullet
.x <1000 and
bullet
.y > 0 and
bullet
.y < 800:pygame.draw.circle(win, (255, 255, 255), (ro
浏览 0
提问于2019-07-31
得票数 3
回答已采纳
1
回答
使子弹跟随鼠标光标
python
、
pygame
__init__(self) for
bullet
in self: for
bullet
in self: self.remove(
bullet
) screen.fill(
浏览 0
提问于2019-01-22
得票数 1
回答已采纳
2
回答
不同背景图像的弹着点
html
、
css
<ul> <li>
bullet
2</li> <li>
bullet
4</li> <li>
bullet
6</li>
浏览 4
提问于2015-08-18
得票数 0
回答已采纳
1
回答
在游戏中向上射射弹
python
、
python-3.x
、
animation
、
pygame
、
python-requests
in bullets:tank = player(300,event in pygame.event.get(): run = False if
bullet
.x < screenWidth and
bullet
浏览 2
提问于2019-12-22
得票数 1
回答已采纳
3
回答
如何使用CSS在列表中保持缩进?
html
、
css
line-height: 34px;} <li>short
bullet
</li> <li>long
bullet
long
bullet
long
bullet
long
b
浏览 3
提问于2016-04-01
得票数 0
回答已采纳
1
回答
JavaScript游戏;阵列中的子弹;当我射击时,阵列中的所有子弹都会从玩家所在的位置重新发射。
javascript
HEIGHT || this.y < 0) { this.active = false;} playerBullets = playerBullets.filter(function(
bullet
浏览 2
提问于2013-05-18
得票数 3
回答已采纳
1
回答
ActionScript 3-使用字符启动项目符号更改方向
flash
、
move
、
direction
、
bullet
下面是一段AS3代码(每一帧): // initiate
bullet
bullet
.y = _player.y; bullets.push(
bullet
); for each
浏览 1
提问于2012-03-03
得票数 0
回答已采纳
1
回答
如何从本地创建全局变量并存储它以前的值?
python
、
arrays
、
python-3.x
、
function
、
pygame
in bullets: if
bullet
.y -
bullet
.height < a.hitbox[1] + a.hitbox[3] and
bullet
.y +
bullet
.height> a
浏览 4
提问于2019-09-09
得票数 2
回答已采纳
3
回答
在迭代集合时从集合中移除对象
java
、
swing
、
synchronization
子弹 if(y< -height){
bullet
.remove
bullet
:
Bullet
.
bullet
){ } try{Thread.sleep(30)
bullet
:
Bullet
.
bullet
浏览 0
提问于2019-01-21
得票数 1
回答已采纳
1
回答
当我想让我的精灵角色发射子弹时,我得到了一个属性错误信息。我做错了什么?
python
、
python-3.x
、
pygame
)
bullet
_group() debris.draw() player.draw()= bullets.
Bullet
(self.rect.centerx + 18, self.rect.y + 30, s
浏览 1
提问于2021-10-31
得票数 0
1
回答
How to make my
bullet
go random by Y -+3
c#
、
xna
、
spread
bullet
in bulletList) //set movment for
bullet
if (
bullet
.posi
浏览 0
提问于2014-09-02
得票数 0
1
回答
Pygame:创建项目符号- '
Bullet
‘对象不可调用
pygame
、
bullet
它在第一个项目中有效,但在第二个项目中,我得到一个"'
bullet
‘object is not callable’错误。in
bullet
_list: if
Bullet
.rect.y < 0:
Bullet
.draw() for event in gameEve
浏览 76
提问于2018-06-04
得票数 0
3
回答
在R中,如何匹配减价列表
regex
、
r
、
stringr
library(stringr)"*
Bullet
1\n*
Bullet
2\n*
Bullet
3","* This is a test 1\n* This is a test with some *formatting*\n* This is a test with different结果将是 some_str_f
浏览 1
提问于2015-07-12
得票数 2
回答已采纳
1
回答
子弹随字符改变方向
iphone
、
xcode
、
cocos2d-iphone
-(void)spinTapped [bullets addObject:
bullet
]; [self addChild:
bullet
z:-1]
浏览 10
提问于2013-09-21
得票数 0
回答已采纳
3
回答
具有可变数组的Xcode异常:“枚举时集合<__NSArrayM: Xcode发生了变化”
xcode
、
exception
、
nsmutablearray
、
sigabrt
; } } {} { { [bullets rem
浏览 5
提问于2012-05-30
得票数 0
回答已采纳
3
回答
用regex构造无序列表
python
、
regex
我有以下字符串(注意在每个连字符之前有新的空格): -
Bullet
2\ -
Bullet
4'<ul> <li>
Bullet
2</li> <li>
B
浏览 5
提问于2015-06-26
得票数 0
回答已采纳
1
回答
Swift定时器检查TouchesEnded
swift
、
timer
、
sprite-kit
and properties
bullet
.name = "
Bullet
"
bullet
.setScale(0.75)
bullet
.physicsBody = S
浏览 0
提问于2017-01-27
得票数 2
回答已采纳
3
回答
将*<BR>替换为<li>
javascript
、
html
、
regex
我有以下案文:我想将每个*<BR>替换为<li>,但也要在文本末尾放置一个</li> (
浏览 3
提问于2014-01-20
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
美女突突冲锋队手游《Bullet Rush!》火力十足爽快多变
Unity 使用自定义资源配置数据
学习AE必备六大类外置插件
学海里的朋友,换种方式做计划如何?
外星人入侵,使用python开发的2D游戏
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券