Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

detectMapAreaCollision()

Purpose

Used to tell if a sprite is colliding with marked collision areas in map data

Description

Receives a sprite handle and an area name and returns a true or false value

Syntax

collide = detectMapAreaCollision( areaName, sprite )

Arguments

collide Boolean value (true or false) to indicate if a collision has occured with the supplied area

areaName String name of the marked area to collide with

sprite Handle of the sprite being collided

Example

Associated Commands

drawMap(), drawMapLayer(), getMapArea(), getMapAreaNames(), getMapLocation(), getMapLocationNames(), loadMap(), unloadMap(), updateMap()

logo

©2019 FUZE Technologies Ltd. FUZE is a registered trademark of FUZE Technologies Ltd. All rights reserved.

Useful links

  • Fuze Main Site
  • Fuze Arena on Twitter
  • Fuze Arena on Youtube
  • Download Buyer

Contact Information

  • FUZE Technologies Ltd
    15 Clearfields Farm
    Wotton Underwood
    Aylesbury, Buckinghamshire
    ​England, HP18 0RS

  • +44 (0) 1844 239 432

  • contact@fuze.co.uk

© Copyright FUZE Technologies Ltd. All rights reserved.