Game Question on DBA Blast template

Me and my son have been messing around with the Blast Template from DBA. For those of you who are familiar with template, maybe you can help me out. So in the template the scene size stays the same. I want to play around with the option to make it a scroller so my son can start playing around with building a game.. So I made the scene larger... then put a control camera on the hero and made the tracking size about 200 by 200. It works..but for some reason the blast will not move the hero (this will only make nice if you are familiar with the template)

Any idea why this happens... why is it that once the hero is out of the orginal screen size...the blast will no longer control the hero.?

Comments

  • smurftedsmurfted Member, PRO Posts: 586

    Sound like the actor might need a camera controller behaviour...

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,880

    You need to take the camera origin into account. The explosion needs to be calculated with both the mouse position plus the camera origin.

    game.BlastX = mouse.position.x + scene.camera.origin.x
    game.BlastY = mouse.position.y + scene.camera.origin.y

Sign In or Register to comment.