Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Late night thing, but Kinda wanted the camera circles to not be so obvious, essentially appear when they're within a certain proximity.

So I basically had to write in a brand new page for camera spots, to detect where the player is in relation to the camera circle. I used a plugin with self variables to make this a lot more easier in the long run so I can just copy paste and insert stuff more casually.

◆Control Variables:#0043 Self Var CircleX = Map X of This Event
◆Control Variables:#0044 Self Var CircleY = Map Y of This Event
◆Control Variables:#0043 Self Var CircleX -= Map X of Player
◆Control Variables:#0044 Self Var CircleY -= Map Y of Player
◆Control Variables:#0043 Self Var CircleX *= Self Var CircleX
◆Control Variables:#0044 Self Var CircleY *= Self Var CircleY
◆Control Variables:#0043 Self Var CircleX += Self Var CircleY
◆Control Variables:#0045 Self Var Radius = 4
◆Control Variables:#0045 Self Var Radius *= Self Var Radius
◆If:Self Var CircleX ≤ Self Var Radius
  ◆Set Movement Route:This Event (Wait)
  :Set Movement Route:◇Image:!Flame(7)
  ◆Control Self Switch:A = ON
  ◆
:Else
  ◆Set Movement Route:This Event (Wait)
  :Set Movement Route:◇Image:None
  ◆Control Self Switch:A = OFF
  ◆
:End

And here is the result:
http://i.imgur.com/XBoPQ9x.mp4
This makes finding places where to take the pics a bit more of a scavenger hunt, hopefully it works out. I've also cleaned up a bunch of eventing so things will be much easier to implement from here on out.