Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Type Error 'x' undefined

S-L

Villager
Xy$
0.00
So I'm trying to do some lighting and shadows for inside a house, while watching tutorials by a few different youtubers who are using the same plug-in, TDD's PictureBindToMap. It seems to work just fine for them but then I'm stuck with, Type Error, "cannot set property 'x' of undefined". Is it because of this plug-in, or am I just doing something wrong?

I also have Kaus's Ultimate Overlay, and the Parallax Smoothing plug-in (set as true).

I tried switches to connect the main event to the Parellel, (I don't really know how to use x/y coordinates with variables just yet), and I tried putting the 'show pictures' in it's own event set as Parallel with an Erase Event at the bottom. I then tried the plug-in commands to bind the separated pictures to their own layers in the game (light being above_character, and shadow being top). Wouldn't work either. So I tried using Kaus's Ultimate Overlay to put the commands in the Notes area in the Map's Event Page to see if that would work. Nope. Still won't work.

The closest I got to actually getting what I wanted was by putting the pictures in the main event, and calculated where the pictures should be by using the Direct Designation. But sadly, the pictures won't bind with the map, even with TDD's PictureBindToMap plug-in. So with probably 6 hours of trying to get it to work, I'm finally giving up and asking you kind people for some help.
 

Attachments

Top