0 Favourites

Using image point as projectile firing point

  • <img src="http://dl.dropbox.com/u/12667027/Construct%202/UsingGenericImagePoints.png" border="0" />

    I have a ton of different sprites all of which are capable of firing projectiles. However, the firing point is different on all of them, and it also happens at a different spot in the "Attacking" animation, so I decided to set an image point which only exists in that particular frame of the Attacking Animation and test for it in the family of enemy sprites.

    The Shell sprite is a generic sprite which contains a UID ref to the Animation Sprite, the respective firing frame index, as well as a lot of other common enemy properties.

    Is there any chance when a player hits a "cpu spike" in the browser, that a frame might be skipped and the event will fail to return true? If so, how would you recommend restructuring the code to accommodate for this?

    Thanks muchly for assistance,

    -- cacotigon

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
217 18,525
humanescape's avatar
Unread hot topic
76 9,271
Pandadoor's avatar
Unread hot topic
0 Favourites
[plugin] 3D using Copperlicht
72 25,981
Reken's avatar