Author Topic: Spawn stuff at coordinates  (Read 911 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
Spawn stuff at coordinates
« on: April 26, 2019, 02:32:36 PM »
Actually, we can spawn stuff at spawn points, at the player or even at enemies projectiles. Do you also think will be cool to allow spawn stuff at coordinates?
For example: A projectile collides and spawns an explosion 12 pixels below.
Code: [Select]
var _x = projectile x
var _y = projectile y
var _y + 12
effect 12 spawn at = [var_x], [var _y]
Sorry because my English is not very good because I'm Spanish ;) :P

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Spawn stuff at coordinates
« Reply #1 on: April 26, 2019, 08:04:37 PM »
Good idea!