Chaos Project

RPG Maker => Tutorials => Tutorial Requests => Topic started by: darklight on March 09, 2008, 01:04:58 pm

Title: [resolved] Checking target coordinates using variables
Post by: darklight on March 09, 2008, 01:04:58 pm
I believe this is how Blizzard did this:
Spoiler: ShowHide
(http://i67.photobucket.com/albums/h316/bblizzard/Screenies/CP0101200822-13-14.png)


But I'm not 100% sure.  Basically, a picture that "follows" or is always centered on the player.

EDIT:
Blizzard made a dungeon demo which you can check out:
http://www.chaos-project.com/downloads/scripts/Slippy%20Dark.zip (http://www.chaos-project.com/downloads/scripts/Slippy%20Dark.zip)

Nortos has a simpler technique which just uses the picture, no eventing:
http://www.sendspace.com/file/yau8o1 (http://www.sendspace.com/file/yau8o1)

But with the variables method, you can center it around any event, such as an NPC:
http://forum.chaos-project.com/index.php?topic=694.msg14172#msg14172 (http://forum.chaos-project.com/index.php?topic=694.msg14172#msg14172)
Title: Re: Checking player coordinates using variables
Post by: Blizzard on March 09, 2008, 01:07:51 pm
That's true, I stored the character's variables. What do you think? I can make a you a demo within the next couple of days? It will also feature a slippy floor. :)
Title: Re: Checking player coordinates using variables
Post by: darklight on March 09, 2008, 01:17:25 pm
That'd be great! I'm much better at learning something by actually looking at how it's put together than reading instructions. :D

If you wanna throw in any other cool systems/resources in there I'd appreciate it, lol.  ::) I'm looking for dungeon puzzles to use in my own project.

Also, I like this fountain a lot:
Spoiler: ShowHide
(http://i67.photobucket.com/albums/h316/bblizzard/Screenies/CP0101200822-56-15.png)
Title: Re: Checking player coordinates using variables
Post by: Blizzard on March 09, 2008, 01:28:51 pm
I'll add it to my resources in my photobucket account right away.
Title: Re: Checking player coordinates using variables
Post by: darklight on March 09, 2008, 01:35:17 pm
*powers you up* Thanks Blizz!
Title: Re: Checking player coordinates using variables
Post by: Nortos on March 09, 2008, 09:13:47 pm
or you could just have a picture 640 x 480 that has low opacity levels in the centreand have the edges of the map where you can't walk so you're always centred around the player
Title: Re: Checking player coordinates using variables
Post by: Blizzard on March 10, 2008, 06:11:06 am
Actually you need a 1280x960, it won't work with a 640x480. ;) Here's the demo.

Download (http://downloads.chaos-project.com/scripts/other/Slippy%20Dark.zip)
Title: Re: Checking player coordinates using variables
Post by: darklight on March 10, 2008, 01:02:19 pm
*power up* Woot, thanks Blizz!
Title: Re: [resolved] Checking player coordinates using variables
Post by: Flermza on March 10, 2008, 01:09:48 pm
Great work Blizz!  :)
Title: Re: [resolved] Checking player coordinates using variables
Post by: Nortos on March 10, 2008, 04:54:24 pm
wait??? It worked for me O.o I had it just move with the player when I looked at it
EDIT: Here's a demo http://www.sendspace.com/file/yau8o1 (http://www.sendspace.com/file/yau8o1)
Title: Re: [resolved] Checking player coordinates using variables
Post by: Blizzard on March 11, 2008, 05:53:49 am
What do you think I did? There are 5 commands:

VAR[0002] = Store Player Screen X
VAR[0003] = Store Player Screen Y
VAR[0002] -= 641
VAR[0003] -= 481
Show Picture at [0002], [0003]

::)
Title: Re: [resolved] Checking player coordinates using variables
Post by: Nortos on March 11, 2008, 06:11:48 am
I prefer my way :P but doesn't work unless the map is centred around the player where as yours would
Title: Re: [resolved] Checking player coordinates using variables
Post by: Blizzard on March 11, 2008, 09:54:04 am
I know. I noticed that problem and resolved it. :P
Title: Re: [resolved] Checking player coordinates using variables
Post by: Nortos on March 11, 2008, 04:43:24 pm
I just go lazy and make my maps bigger area but that area impassable :P
Title: Re: [resolved] Checking player coordinates using variables
Post by: darklight on March 11, 2008, 08:59:33 pm
But with variables you can make it center around any event, like so:

'The Oracle is high!': ShowHide
(http://i29.tinypic.com/ri7rk5.jpg)
(http://i32.tinypic.com/2e0pq3r.jpg)
Title: Re: [resolved] Checking target coordinates using variables
Post by: Blizzard on March 12, 2008, 06:58:30 am
Yeah, you can use smaller pictures like white blending ones to create cool lighting effects.
Title: Re: [resolved] Checking target coordinates using variables
Post by: Calintz on March 13, 2008, 02:57:38 pm
Whats going on??
Title: Re: [resolved] Checking target coordinates using variables
Post by: Sally on March 14, 2008, 05:41:09 am
there talking about diffrent ways to use blizzard's simple but cool system.