The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Draylorn on February 04, 2006, 09:56:40 AM

Title: 8-direction movement - only one problem
Post by: Draylorn on February 04, 2006, 09:56:40 AM
Again I did this with just events: One common, and then a call common on the map as well as an event with pages that require two switches for each direction depending on which way you are facing.

It all works great except for when you try to press the two directions for diagonal movement at once. It firt moves one step in teh first direction press before moving diagonally. For example, if I press up and left at the same time, it still moves one step in whichever one was pressed first before moving up-left.

Can this be fixed easily? (Preferrably without script)
Title: 8-direction movement - only one problem
Post by: blueXx on February 04, 2006, 01:49:04 PM
dwarra linked me, i still see you as someone that CAN become good
if you'll just stop fighting me for a sec you'll see i don't hate you

anyways, i saw it as a challange
forgive me for once again ignoring anything you have done
this is what i came up with:

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg153.imageshack.us%2Fimg153%2F8875%2F8d4pe.png&hash=65606325adb8bd099d7e4581654a722b21409cf3)

i am still on my 7 days off though.

*logs out*
Title: 8-direction movement - only one problem
Post by: Draylorn on February 04, 2006, 04:50:14 PM
Quotedwarra linked me, i still see you as someone that CAN become good
if you'll just stop fighting me for a sec you'll see i don't hate you
Don't care
Quotei am still on my 7 days off though.
??? - don't care..

I didn't know you could use a conditional branch right under another one.. let me try this.

Okay, this really simplifies what I already did, although I just used "move upper left, etc. -Jump doesn't do it right on XP- (god I wish I'd knew you could use two conditional branches at once: my way was fucking complicated) BUT it doesn't fix my problem. still, when you hit the two directions at once, it still steps one in the direction that was pressed first before going diagonal.

ANOTHER PROBLEM: I just discovered that the diagonal movement makes the player ignore teleport events. THIS IS BAD. Can this also be fixed?
Title: 8-direction movement - only one problem
Post by: blueXx on February 04, 2006, 09:46:26 PM
i would lie if i'll say i didn't make my siggy just for you and your type

my way solves all the bugs, jump may not look good, but it actually is the best you can do with events unless you use animations

still got questions? check my new siggy.
Title: 8-direction movement - only one problem
Post by: Tsunokiette on February 04, 2006, 09:54:16 PM
Quote from: blueXxi would lie if i'll say i didn't make my siggy just for you and your type

my way solves all the bugs, jump may not look good, but it actually is the best you can do with events unless you use animations

still got questions? check my new siggy.

You know, instead of jumping, there's move events that actualy move you diagonally lol.

And I would have to agree with your sig.
Title: 8-direction movement - only one problem
Post by: blueXx on February 04, 2006, 10:05:33 PM
but using move down right, move down left, move up right, move up left buttons doesn't look so.. jumpy Oo

but coming to think of it..
hell how could i be so blind? -.-

that makes this topic even dumber than i thought  :O_o:
Title: 8-direction movement - only one problem
Post by: Draylorn on February 05, 2006, 06:15:32 AM
Quotei would lie if i'll say i didn't make my siggy just for you and your type
Pompous asshole. Like you're so fucking great.

Quotebut using move down right, move down left, move up right, move up left buttons doesn't look so.. jumpy Oo

but coming to think of it..
hell how could i be so blind? -.-

No shit. Now who's fucking stupid.
Maybe you should hold your tongue instead of treating people - who didn't do anything wrong- like shit. Seriously, you "helped" me once, while at the same time insulting me and I reacted. So what the hell is your problem?

Try actually solving my problem instead of talking shit. It's spamming, and it's really annoying.

Quotedwarra linked me, i still see you as someone that CAN become good
if you'll just stop fighting me for a sec you'll see i don't hate you
Given past history of conversations, I can't believe someone actually linked you to this. Must be funny to them. And your attitude once again, sucks ass and I really dont want to talk to you. You don't hate me? Of course not; you just think you're better than me in every way. Discrimination.
Title: 8-direction movement - only one problem
Post by: blueXx on February 05, 2006, 09:01:09 AM
lock this topic on account of being over spammed
dray, look at the siggy
you are right on one thing though, i learned to hate you
no one likes a person that keeps saying "shit fucking shit omg omg i pwange shit shit fuck" retard -.-
Title: 8-direction movement - only one problem
Post by: Draylorn on February 05, 2006, 09:31:47 AM
Quotelock this topic on account of being over spammed
Over-spammed. Yes. By YOU.  :evil:

What a snob. Seriously, if you had a million dollars and caviar coming out your ass, you could not be more of a pompous snobby little bitch.

Your sig has absolutely nothing to do ith me. I dont double and triple post.
So what the hell are you talking about? Being sarcastic and arrogant is only funny if you're RIGHT.

Quoteno one likes a person that keeps saying "sh*t f*cking sh*t omg omg i pwange sh*t sh*t f*ck" retard -.-
Holy crap, I SWEAR! Oh, MY!
Oh, but everyone loves a bastard who makes fun of people for no reason?.  You don't even have any motive to be talking to me like this! WTF is that?! WTF did I do?
When every post you make has you being a pompous asshole in it, THAT is spamming. I'm trying to get help here, and you come on my thread with the same damn pattern again:

QuoteStop fighting me because I am right and am better than you and you shouldnt hate me because that makes you a child!
Here is how you should do ____.
And I retaliate. Well what do you expect with that attitude?

All you do is insult, wait for a reaction, and then act like the VICTIM.
Oh, and though I know you'll say this post is spamming, so was your last post, so fuck off.

DON'T lock this thread please.. I actually need help with the above problem. If you want to lock Bluexx out though, that would be great, because he is really getting off topic and generally treating me like shit. Thank you.
Otherwise, you can go ahead and jsut delete all the off topic posts, please.
Title: 8-direction movement - only one problem
Post by: blueXx on February 05, 2006, 10:00:54 AM
if you still need help with that, despite the above posts by me and tsu, you fit perfectly to my sig
notice it got "plain noob" and "stupid" in it

spam count hitted 4 or 5 now, lock down is in place thanks to the new rules
Title: 8-direction movement - only one problem
Post by: Draylorn on February 05, 2006, 10:40:07 AM
Quoteif you still need help with that, despite the above posts by me and tsu, you fit perfectly to my sig
notice it got "plain noob" and "stupid" in it

nooB? stupid? So.. you're referring to me, right?
DO YOU EVEN KNOW WHAT YOUR SIG SAYS?!!
No. NO! EXCUSE ME, but do you even read my posts?

I said that yes, the diagonal movement works fine, but NOW it makes the player ignore teleport events. Your jumping way looks horrible. Yes, it works, but it doesn't matter because I'm not trying to make the player jump all over the place, I just want him to walk.

Like I said, if you're going to be a prick, at least be right.

Quoteif you still need help with that, despite the above posts by me and tsu, you fit perfectly to my sig
notice it got "plain noob" and "stupid" in it

If there are any moderators reading this, please take notice of this behavior.

OKAY FOLKS ANYBODY NICE WANT TO ACTUALLY HELP ME?
Title: 8-direction movement - only one problem
Post by: blueXx on February 05, 2006, 11:38:02 AM
if a mod see that, and a mod will see that, actually they probably all did already, they will know i am right

you only need the i.q of a rat to change the move event from jump to up right so on
seeing as it's simply a matter of a button inside the move event  :roll:

why didn't you think about that?
cause you don't even have the i.q of a rat

as for my siggy it says "use the search button"
if you will you will find this topic, and all the answers are already here

and then you can take a little more time and look for "noob" so you can understand better what you are

i here by crown you the dumbest person that ever walked in crank ever since blaze and emu!
Title: 8-direction movement - only one problem
Post by: Draylorn on February 05, 2006, 12:03:24 PM
Quoteyou only need the i.q of a rat to change the move event from jump to up right so on
seeing as it's simply a matter of a button inside the move event  

why didn't you think about that?
cause you don't even have the i.q of a rat

LMAO

I already did chang it from jump to the diagonals. I had it that way before you even posted that! I tried it your way just to see what it would look like, and it sucks! That's not even the problem anymore you moron I already said it twice, the diagonal movement is working FINE. But NOW it ignores my teleport events when moving diagonally THATS THE PROBLEM NOW YOU FUCKIG IDIOT.

It's amazing how you try to be witty and condecending but really you're just making an ass out of yourself. I don't know how I can be any clearer. I typed my NEW problem in, in plain, fluent english. Twice. You just aren't reading it. I pity your sorry dumb ass. Nah. Not really.

To quote you to yourself:
Quotei here by crown you the dumbest person that ever walked in crank ever since blaze and emu!
Whatever that means. Foreign people sure don't know when to shut up.
Title: 8-direction movement - only one problem
Post by: blueXx on February 05, 2006, 12:39:20 PM
lol that was so lame  :lol:

QuoteAgain I did this with just events: One common, and then a call common on the map as well as an event with pages that require two switches for each direction depending on which way you are facing.

yep king of events  :roll:

set the teleports to hero touch moron -.-

it works perfectly but i guess your low i.q was such a shock to rm that it just couldn't stop laughing and thus didn't teleport your sad ass
Title: 8-direction movement - only one problem
Post by: Draylorn on February 05, 2006, 12:47:29 PM
Now I am positive that you have no clue at all.

QuoteAgain I did this with just events: One common, and then a call common on the map as well as an event with pages that require two switches for each direction depending on which way you are facing.
Yeah, I scrapped this after you showed me that two conditional branches could be used together, which I didn't know, and I did actually THANK you for that... so don't be a prick.

Also, I am not stupid enough to not have set the teleports to "hero touch" okay? They are set to that, and what I am saying is the diagonal movement makes the player ignore the teleport events. When you walk straight into one, works fine. When you run into it on an angle, it doesn't go. Clear enough for you, genius?
Title: 8-direction movement - only one problem
Post by: blueXx on February 05, 2006, 12:53:43 PM
actually after testing it , it works fine

here is a problem i spotted for the "no use of jumps" if you don't use jumps and instead you do up-right so on and you get: (Y= walkable X=blocked)

YX
XY

you can't go from Y to Y , while jumps CAN take you from Y to Y and that might just be a good reason to use jumps
(cause otherwise there isn't much of point in a 8directions, seeing as we can all push left and up)

as for teleports, no diffrence, both get teleported perfectly, tested.
Title: 8-direction movement - only one problem
Post by: Draylorn on February 05, 2006, 12:58:57 PM
maybe in RM2K3 but not in XP.

Jumps look like shit. I'm not using jumps.

I tried doing the same thing in a new project too, still doesnt work.
Title: 8-direction movement - only one problem
Post by: blueXx on February 05, 2006, 01:04:36 PM
i am using rmxp, more challanging to make pure eventing there
works perfectly to me no matter how hard i try not to get teleported (i got to the teleporter from 4 directions, still get teleported fine)
Title: 8-direction movement - only one problem
Post by: Draylorn on February 05, 2006, 01:13:30 PM
Quotei got to the teleporter from 4 directions, still get teleported fine
did you enter the teleport diagonally? (Pressing ^ > etc. at the same time?) Because mine work when you go straight up, straight in to the right, etc. just not on an angle.

If it's really working for you I'd appreciate it if you send me an example map with the right events so I can compare to my project and see whats wrong
Title: 8-direction movement - only one problem
Post by: blueXx on February 05, 2006, 01:53:56 PM
of course .. by 4 directions i meant the "other" 4 directions -.-

though i just figured out what your problem probably is

is your teleport a sign or a blocked tile of sort? (npc, sign, cat, you name it)
the teleport tile needs to be a walkable tile for the teleport to work when you use up right up left and so on
Title: 8-direction movement - only one problem
Post by: Draylorn on February 05, 2006, 05:51:55 PM
Describe "walkable"
does that mean a tile that has something in it (NPC, cat, etc.) or an empty one?
Mine are empty and set for "player touch"

If you're saying to take blank tiles and put something in them, that doesn't fix it. Then it only stop you from moving until you let go of the directional keys. That is unnatural to the player, and I'm not doing it that way.
Title: 8-direction movement - only one problem
Post by: Jesse 015 on February 05, 2006, 10:42:24 PM
Quote from: Jesse 015and i did see a "script" on this
that might help, i wil try find it for you
Title: 8-direction movement - only one problem
Post by: Draylorn on February 05, 2006, 10:44:51 PM
Hmm. Okay, fair word of warning: You will have to be VERY specific on how to implement whatever script you find! I DO NOT know how to use those things!
Title: 8-direction movement - only one problem
Post by: Jesse 015 on February 05, 2006, 10:50:24 PM
Open the class Game_Player and go to the line #211. You should see that  

    case Input.dir4
    when 2
      move_down
    when 4
      move_left
    when 6
      move_right
    when 8
      move_up
    end
  end

 


Now, highligh all that (Should finish at line #222 0r 223 (On my RMXP version).
And copy that new code instead:

Code:

   case Input.dir8
    when 2
      move_down
    when 4
      move_left
    when 6
      move_right
    when 8
      move_up
    when 7
      move_upper_left
    when 9
      move_upper_right
    when 3
      move_lower_right
    when 1
      move_lower_left
    end
  end

 

This is done !
Title: 8-direction movement - only one problem
Post by: Draylorn on February 06, 2006, 03:27:08 AM
I knew i'd have to resort to scripting sooner or later. I'm too abmitious.
But THIS works! Thank you!

Thanks for actually helping me, instead of... well, this thread speaks for itself.
Title: 8-direction movement - only one problem
Post by: Jesse 015 on February 06, 2006, 03:29:43 AM
haha, blue does get funny, but this time he just got mean :D
Title: 8-direction movement - only one problem
Post by: blueXx on February 06, 2006, 08:37:38 AM
hopefully you realize this script does the same as the 8 lines event, it actually call the same things perfectly, note the lines
(walkable is empty or otherwise a passable tile)

i wonder- did the events fail to work because you didn't want them to or because they really didn't?  :?
because like i said, worked perfectly to me

QuoteThanks for actually helping me, instead of... well, this thread speaks for itself.

instead of helping you again and again not realizing you are a moron?

i mean really, most scripts do something that is not done in events and events will be the long , harder way to go around them, in this case events were just as easy if not easier and did the perfect same

dray, you are a moron.

lock -.-