Top down shooter

http://www.youtube.com/watch?v=9xq3ivMyWvQ

@connorbot999
Sorry, but I’m not releasing the code as a whole. I might give out useful tidbits but I fully intend to release this game commercially if I can.

Ok :-bd

May we have the joystick’s [-O<

Fine, but I’m not giving you the context code- that way, to use it you have to learn HOW, hopefully teaching you how to make your own.


    
    qhatspot = qhatspot*0.8 + qhatheld*0.2
    if qhatspot:len() > 35 then qhatspot = qhatspot:normalize() *35 end
    pushMatrix()
    
     local thurrr = qhatspot:len()/1.1
    local anglosax = math.deg(-qhatspot:angleBetween(vec2(0,1)))
    
    
    translate(qhatoffset.x,qhatoffset.y)
    shade()
    fill(130-qhatspot.y*1.5)
    rotate(anglosax)
    slope = 1.1
       
    ellipse(0,thurrr,(77-thurrr/6)/slope,(77-thurrr/1.2)/slope)
    fill(180-thurrr/1.3)
    ellipse(0,thurrr*1.23,77-thurrr/6,77-thurrr/slope)
    fill(210-thurrr/1.2+qhatspot.x/2)
    ellipse(0,thurrr*1.4,(71-thurrr/6)/slope,(71-thurrr/1.2)/slope)
    
    popMatrix()

@KMEB, did this ever get finished?