Dragon Warrior Radiance Spell Effect

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
Because you first have to save the Player's Screen X/Y into variables.

Control Variables -> Game-Data -> Character: Player -> Screen X/Screen Y

Then you can use these variables in the move picture command.
Oh ok awesome, didn't even know you could do that, thanks(I'm gonna so find a use for that, that's awesome) :)
 

cybrim

Tinker of the Nether
Veteran
Joined
Sep 1, 2013
Messages
97
Reaction score
16
First Language
English
Eh? It's just 1 event page with only 4 event commands... how is that "NOT SIMPLE"?

That's actually the method to do that... I've already helped somebody else on another thread about that... in case it doesn't center right away, you can always adjust the variables after getting the Screen X/Y... You might need to reduce the Y by half of the height of the picture...

You can always move the picture every frame if you're using a parallel process event... unless you forgot about it...

+ I even just tried it out a few moments ago btw...

Parallel process Event

Set variable 1 = Player's screen X

Set variable 2 = Player's screen Y

Set variable 2 = Variable 2 - 16 (since this pic that I used was only 32x32)

Move picture (of course you should have some other event that used Show Picture)

--Origin = Center

--X = variable 1

--Y = Variable 2

--Do not wait

--Set time to 1 frame
Now tell me which of those 4 event commands is not simple...
I will try this when I get home. I tried to set player x & Y to one variable each, where the origin was supposedly located where the player was with x&Y but that did not happen, I've tried player and screen x&y at different times, so do I need to use batches of variables to do this instead?

Edit- could I upload the picture for you guys to test out? Also I need this image to disappear when I have a battle which needs to happen in the areas that this will effect.
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
You will set them right after each other in a single event... if you do it exactly like I posted (plus modify the Y adjustment depending on your image size), it should work just fine


you can upload a picture somewhere then use the image tags to show it here

Oh ok awesome, didn't even know you could do that, thanks(I'm gonna so find a use for that, that's awesome) :)
you should really probably READ Andar's tutorial... over and over again, then practice using switches and variables... Also, it shows you didn't read my whole post... I already posted the actual method which includes a SET VARIABLE = Player's Screen X/Y, so why are you still looking for it on the move picture command??? You should read everything first...
 
Last edited by a moderator:

cybrim

Tinker of the Nether
Veteran
Joined
Sep 1, 2013
Messages
97
Reaction score
16
First Language
English
Huh???

You can set a variable to be equal to Screen X and another one to Screen Y using the Change Variables event command (->Game Data -> Player/Character -> Screen X/Y)... then use move picture command using those variables

and poof, it's done... no scripts needed in any form...
I am doing this, I can see the top edge of my 640x480 picture and the picture pans with me but not where the center is, maybe if I make a perfectly square picture it might work?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Set picture's origin to Center... you probably set it to top left... Also, you would need to make the black space to be larger than that... while retaining the "light" area as the middle of the picture


since if your image is simply 640x480, and assuming the game window is 640x480 too, then once the picture's center is not on the screen center, the picture will be "cut-off" meaning some parts that are supposedly affect by the black part will not be affected anymore... the other one which done that same method used a picture that is sized twice the size of the game window...


Also read my edits, you also need to adjust the Y value...
 
Last edited by a moderator:

cybrim

Tinker of the Nether
Veteran
Joined
Sep 1, 2013
Messages
97
Reaction score
16
First Language
English
Here is what I have:

@>Control Variables: [0006:playerX] = Player's Map X

@>Control Variables: [0007:playerY] = Player's Map Y

@>Get Location Info: [0008], Event ID, Variable [0006][0007]

@>Show Picture: 1, 'Radiant', Center (Variable [0006][0007]), (200%,200%), 255, Normal

@>Move Picture: 1, Upper Left (Variable [0006][0007], (200%,200%), 255, Normal 1/60s, No wait

I DID try Changing up "Center" and "Upper Left" in both areas, it doesn't really effect (otherwise I wouldn't be so puzzled), so yes on lines 4&5 i have tried all 4 meathods Center/Center, Center/Upper Left, Upper Left/Center, Upper Left/Upper Left, Now I am going to try a perfectly Square Image that is slightly larger than 640*640 maybe 700*700 pixels with both centers shown. 

Edit: I have tried messing with the %s and 200 seams to do a great job... if only the rest would work.
 
Last edited by a moderator:

cybrim

Tinker of the Nether
Veteran
Joined
Sep 1, 2013
Messages
97
Reaction score
16
First Language
English
I can't even post a screenshot! *DIES*

Edit- I will update my profile picture to show what it is supposed to do, keep in mind that it doesn't affect an entire area, just an area around your character.
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
It should both be Center... also, you only need to use Show picture once... so do it outside of the loop that pans it to the player
 

cybrim

Tinker of the Nether
Veteran
Joined
Sep 1, 2013
Messages
97
Reaction score
16
First Language
English
Trying to avoid copyright issues here, Pink is player, Blue is lowest radiance or torch (1 square around), Red is maximum radiance effect, green is middle radiance effect.

Once I figure out how to do this I can easily swap out the image after status (radiance) reads radiance variable when the status "heals" after x amount of steps and I can degrade it as I go, but first I have to initiate the enclosure of the radiance.

Maybe I can create a below character event that moves the picture to the event's location that follows the character faster than you can move?
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Why do you have a Get location info, you don't need it...


Also you used MAP X/Y, I Told you to use SCREEN X/Y... those are two very different things... that is your problem... Plus you didn't do what I said on the edited postway up above, that you need to adjust the Y value depending on the height of the image...


No wonder it didn't work for you... you didn't follow all of my instructions... :)


it would really be helpful if you know how to follow the whole instructions...


I gave you a step by step on how I did it, told me it didn't work, then I discover you didn't follow it faithfully... arggg... Shana-chan is sad...


PS: I'm gonna get home, so really, just follow the instructions (ALL OF THEM) in one of my above posts and it should work...
 
Last edited by a moderator:

cybrim

Tinker of the Nether
Veteran
Joined
Sep 1, 2013
Messages
97
Reaction score
16
First Language
English
Who needs instructions... I came up with something so much easier! I created 4 events around the entrance of a cave that follow the player that each show image one and move image one on player touch to player screen, the image is 1400x1000, this is a little jerky it uses 2 variables related to player's screen x & Y, but it works at a basic level, I'm no pro, I would like to thank everyone for their help, I also disabled dashing all moving events can go through objects are below player and move at top rates!

A special thanks to my two most helpful friends: Engr. Shana and Zoltor, I love you guys! thanks for the support and dealing with my *Urg* frustration! This isn't anywhere near perfect but I am happy with it, there is still a lot more to do to it, however after this ordeal I might take a break for a day... between this and work I didn't sleep much!

P.S. to Engr. Shana, I tried everything you said, if it had worked I wouldn't have come up with this crazy idea! A lot of things work in theory then you try them and bam that is how chemical engineers have jobs... fixing my mistakes... in IT! LOL thanks again.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
It is not a theory, I do tested it, just for your info... and it works fine for me... it also worked fine for other people... so you must have really done something different if it didn't work on you
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top