Author Topic: Adjust to grid and operation stacks  (Read 732 times)

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Adjust to grid and operation stacks
« on: April 02, 2019, 09:23:52 AM »
I think will be awesome that we could make operation stacks (I don't know how to call them)
Like this:
Code: [Select]
//Example 1
game var money + (game var coinMultiplier)
//Example 2
game var ratings = (game var ratings + (game var gainRating * 3))

Other cool thing is, as we can do stuff with x and y in 6.5, will be great to be able to adjust something to the grid, if I put.
Code: [Select]
area var _i = [player 1 y]
area var _i + 64
block 1 y = [area var _i]
area var _i = 0
block 1 x =[player 1 x]
This place the block directly over the player, but if I want to make it snap to the grid just like any other block placed in the editor, will be awesome a command for that :)
Sorry because my English is not very good because I'm Spanish ;) :P