• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[GUI]Arrow Movement System

Status
Not open for further replies.
Level 2
Joined
May 3, 2008
Messages
18
Hello everyone, i have decided to make a map that would use the left,right and up arrows for unit movement.
The units that should be controlled by this would be rotated so they seem 2D-ish:
Example:
How it will look.jpg

This is the top-down view that the players in my map will have.

I tried making this by myself but i kept facedesking.
The units will have collision, will be ground units with changed animation height.
They will have spells, attack and movement speed. All of this shouldn't be that hard to make when i implement that movement system.
If possible use regions if you are trying to help me.
If someone does make this system, i will place his name in the credits as well as +rep him.


1.The players should be able to walk over a region(on the upper side of it) using < and > arrow keys.[+++]
2.Gravity should pull them down(to the first horizontal region beneath them) after they jump or move to a higher level(by jumping).[+++] [DONE]
3.They should be blocked by some regions(set up by me).[++] [DONE]
4.The players should be able to change their direction in midair while using ^+> or ^+< [+++]. But the range moved is decreased with each passing moment. [+]

The jump would be initiated as soon as you press the ^ arrow. You could control the direction during the whole jump with decreased range crossed.
How it will look2.jpg

Note that this is not the actual trajectory i want the unit to have, its just an example for the ^+> combo.



If you have any questions, feel free to ask me.

EDIT: Done #2 and #3 myself(10th try).
 
Last edited:
Level 14
Joined
Apr 20, 2009
Messages
1,543
Why not follow this tutorial and use the testmap as a reference?

http://www.hiveworkshop.com/forums/...79/flexible-arrow-key-movement-system-164843/

Sorry to be such a dick about it, but there really are plenty of arrow key movement systems on the hive. Why not pick one and see if you like it?
Use the search function.

For example:
why not import one of these into your map?
http://www.hiveworkshop.com/forums/spells-569/advanced-arrow-key-movement-system-v1-2-0-a-103695/
http://www.hiveworkshop.com/forums/spells-569/arrow-movement-system-v1-3-updated-148367/
http://www.hiveworkshop.com/forums/spells-569/arrow-key-movement-camera-jump-system-v1-0-a-208665/
http://www.hiveworkshop.com/forums/spells-569/advanced-combat-movement-system-v-1-3-a-191033/


Also: Platform games are REALLY hard to make in wc3, I haven't seen any good platform games for wc3 so far.
Not sure if this is what you are trying to do though :p
 
Level 2
Joined
May 3, 2008
Messages
18
You could have at least tried to understand what i wanted to get before replying.
The units that should be controlled by this would be rotated so they seem 2D-ish:
This is the top-down view that the players in my map will have.
I'm pretty sure that these sentences imply that this is gonna be a platformer.

>[GUI] (from the thread name)
Advanced Arrow Key Movement System v1.2.0 (vJASS)
ARROW MOVEMENT SYSTEM v1.3 [updated] - is on Spanish or Portuguese or idk
Arrow key movement/camera/jump system v1.0 > rejected
Advanced Combat and Movement System v 1.3 (vJASS)

+I need one for an arcade-style map where multiple users will have to reach the end of the level by jumping, attacking, casting and avoiding traps while constantly being a victim of gravity. Of course none of these would do, even if they were English type of GUI triggered movements because my units do not move like normal ones would, the mouse will be disabled (for the movement part).
Note also that the unit would be able to jump to a higher walkable area and not fall through it. Preferably, i would like this done with regions in some way, in [BOLD]GUI[/BOLD].

You mentioned that you didn't play a good W3 platformer, you should try this one, and no, that isn't where my idea came from.
http://www.hiveworkshop.com/forums/maps-564/platform-escape-2-01s-107061/?prev=search%3Dplatform%2520escape%26d%3Dlist%26r%3D20
Thanks in advance for anyone considering to help me, and please, have in mind that even if i don't finish my project you will have a unique system for possible future platformer projects.
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
I apoligize, I didn't read your thread really >.>
And I'm also sorry that I do not have the time to work on this since I have my own map to work on atm.

However, if you could explain to me what you tried to create with triggers, I might be abled to help out ;)
PM me in this case with the triggers that you are currently using and I'll try to find out a way of correcting it.
I guess you did try to provoke newtons law of gravity on the y axis?
Here is a usefull calculator: Gravity Calculator

Also: you might want to set the gravity constant to a lower amount so that the unit doesn't jump "that" realistically ;)
This can be really usefull: How to Calculate Jump Height From Acceleration
 
Last edited:
Status
Not open for further replies.
Top