Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: jj1546 on August 14, 2008, 05:53:02 PM
-
before i get started, yes im back deal with it. anyhoo ive had problems with pictures (ingame) in the past but now its important i use them you see im using a picture that makes it look like the hero is using a lamp by blacking out a border around the hero. my question is How do i get the picture to centre on the hero and follow him.
EDIT: im using rm2k3
-
I'm pretty sure you just uncheck the box that says 'moves with map' or something like that.
-
Have you made sure that there is enough "dead space" outside the actuall map so the hero can be in the middle of the screen?
That's the problem I made in the past, the picture will stick in the middle of the screen if you walk all the way to the right/left of the map.
So leave some space around the actuall walking tiles for the picture.
-
...Who are you and why is you being back required to be dealt with?
-
He was that dude who made a post in the (dead) SEER board that was all like "Hey who is this Grandragora guy, is he just some nerd, or what?"
-
You'll need one parallel process event and two variables.
In the parallel process event set one variable to Hero Screen X, set the second to Hero Screen Y. Next, have the picture be shown using those two variables, putting Hero Screen X in the X slot and Hero Screen Y in the Y slot.
Start a loop. In the loop, copy and paste the two variable setting. Then, use Move Picture with a wait time of 0.0 to move to those varibles. Make sure to check the box that says "Halt movement while waiting" or something.
The event should look like this:
Set Variable Screen X
Set Variable Screen Y
Show Picture
Loop
Set Variable Screen X
Set Variable Screen Y
Move Picture (with wait)
End Loop
This event will move the black circle to be centered on your hero at all times, and will cause no lag at all unless your picture is HUGE.
-
ok meiscool ty il try that and yes theres enough space around the screen. now to the subject of me (even though its irelavent to the post) almost 2 years ago i briefly posted here and aparently pissed a few people of therefor thoose people need to just deal with it. despite the fact i came here as a complete noob and newb i guess im now alot better with rm2k3 and i wont be repeating some of the actions that i carried out in the past....ahh glad to get that of my chest =3
-
Accepting is the first step thowards redemption. You did well.
And i doubt people here are angry at you for something that happened 2 years ago. This is the internet anyway.