FIFE forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

FIFE 0.4.0 has been released on 15th of January, 2017!

Author Topic: Advanced blocking  (Read 3707 times)

AKIRA_SAN

  • Newbie
  • Posts: 24
    • View Profile
Advanced blocking
« on: December 02, 2007, 05:00:04 pm »

Advanced blocking allow the user to create the block(box) with different
type of size, rotation and number on a single image.

Advanced blocking have the following parameters(tags):
AD_number="1"   -You can have multiple blocks on one img object.
AD_name=""   -The name could be useful for triggers.
Size_X="" Size_Y=""   -the size X-Y on the block.
Offset_X="" Offset_Y=""   -the offset is useful for positioning the block
on the location of the image, where you want.
Rotation=""   -the rotation value will make the block rotate itself.
Useful for tiles and etc..

Example:

Code: [Select]
<object id="Cave:cave_1">
<advancedblocking number="1" name="" Size_X="" Size_Y=""
Offset_X="" Offset_Y="" Rotation="">
<advancedblocking number="2">
<image source="kontechdemo/gfx/cave/cave_1.png" />
</object>



2 AD blocks working for the Arc :)

the rotation value is useful with the mixed tiles :)

what do you think?
Logged

jasoka

  • Developer
  • Jr. Member
  • *
  • Posts: 51
    • View Profile
Re: Advanced blocking
« Reply #1 on: December 03, 2007, 07:29:25 am »

Perhaps something like this could be implemented in the future. At first phase (I would say at least for the duration of techdemo) we probably have only tile based blocking. Just the need to get basics done right at first ;)
Logged

AKIRA_SAN

  • Newbie
  • Posts: 24
    • View Profile
Re: Advanced blocking
« Reply #2 on: December 03, 2007, 09:41:16 am »

I see. Thx :)
Logged