It looks like you're new here. If you want to get involved, click one of these buttons!
local world = r3d.World.new(0, gravityy, 0) -- 0, -9.8, 0 world.missiles = {} stage:addEventListener(Event.ENTER_FRAME, function(e) if isshoot then shoot() end end) function shoot() local missile, missileobj = MISSILES(world, "3d_models/missiles", "missile03.obj", MISSILE_BIT, ENEMY_BIT) world.missiles[missile] = missileobj print(#world.missiles) -- TABLE ALWAYS EMPTY! end |
Comments
To check for a table emptyness use next(table) instead.
Likes: MoKaLux
Likes: MoKaLux
a yt series should start shortly (God's willing).
PS: I did all the 3d graphics this time (blender)
PS2: having the best time of my life thanks to gideros
Likes: SinisterSoft, plicatibu