terrains, physics layer, parallax 2d, custom art
This commit is contained in:
1 parent
65ad562241
commit
a0f311aad6
9 files changed
+461
-24
No files matched your search
@@ -31,8 +31,10 @@ func bulletFactory():
|
||||
else:
|
||||
myBullet = bulletArray.pop_back()
|
||||
bulletArray.push_front(myBullet)
|
||||
|
||||
return myBullet
|
||||
func makeBullet(position, speed):
|
||||
print("position "+str(position) )
|
||||
var myBullet = bulletFactory()
|
||||
myBullet.transform = position
|
||||
myBullet.setSpeed(speed)
|
||||
|
||||
Reference in new issue
Block a user