Search found 1110 matches
- Tue Nov 10, 2015 11:52 pm
- Forum: Q&A Discussion
- Topic: How to make a new arrowkey press trump an old one...?
- Replies: 17
- Views: 4292
- Tue Nov 10, 2015 10:09 pm
- Forum: Q&A Discussion
- Topic: How to make a new arrowkey press trump an old one...?
- Replies: 17
- Views: 4292
A quick way to test would be to change the order of your if(keyval tests, and see if that changes which directions get priority Looking at the script you just posted, it looks like the priority would be given to the check that appears last, so Down should currently be trumping Up, which is trumping...
- Tue Nov 10, 2015 9:21 pm
- Forum: Q&A Discussion
- Topic: How to make a new arrowkey press trump an old one...?
- Replies: 17
- Views: 4292
I think I understand what you are saying. You want the most recently pressed arrow key to take priority, but right now it is giving priority to arrow keys based on the order that your if(keyval(... commands appear in the script, right? Yes what I want is the most recently pressed arrow key to take ...
- Tue Nov 10, 2015 8:56 pm
- Forum: Q&A Discussion
- Topic: How to make a new arrowkey press trump an old one...?
- Replies: 17
- Views: 4292
Okay so I tried a bunch of stuff and still can't get things working how I'd like. For the sake of clarity I'm going to re-state my question in more detail. By default the arrow keys seem to work like this in a normal game: -when you hold the arrow in a given direction your character moves in that di...
- Tue Nov 10, 2015 3:45 pm
- Forum: Q&A Discussion
- Topic: How to make a new arrowkey press trump an old one...?
- Replies: 17
- Views: 4292
- Tue Nov 10, 2015 3:43 pm
- Forum: Q&A Discussion
- Topic: How to make hero strafe (move side to side)?
- Replies: 8
- Views: 1785
Alright that's good to know. I guess I'll stick with timers since I seem to be most familiar with that. I just hope I don't run in to any situations where it slows down the game a whole lot. I suppose all my cutscenes will be done with wait commands of displaying backdrops on a tick-by-tick basis, s...
- Tue Nov 10, 2015 5:05 am
- Forum: Q&A Discussion
- Topic: How to make hero strafe (move side to side)?
- Replies: 8
- Views: 1785
Ahhw man you make it look so simple. Well I guess my script is similar but I just have a condition to suspend and resume movement as I figured the normal arrow key functionality would conflict with my script. I think I kind of got the other stuff working as well. Just trying to fix a bit of weirdnes...
- Tue Nov 10, 2015 3:00 am
- Forum: Q&A Discussion
- Topic: Why does the Q & A have only 3 pages?
- Replies: 3
- Views: 1223
- Tue Nov 10, 2015 12:07 am
- Forum: Q&A Discussion
- Topic: Why does the Q & A have only 3 pages?
- Replies: 3
- Views: 1223
Why does the Q & A have only 3 pages?
I just noticed that the Q & A section seems to have only 3 pages of threads. Are the old ones archived? I say this cause I often look back at old questions to get inspiration and often bookmark them.
- Mon Nov 09, 2015 11:19 pm
- Forum: Q&A Discussion
- Topic: How to make a new arrowkey press trump an old one...?
- Replies: 17
- Views: 4292
How to make a new arrowkey press trump an old one...?
This question is specifically aimed at Bob since we were talking about something similar earlier but anyone can answer. I have a keypress script which temporarily overrides the normal arrow key movement allowing the hero to turn to face a direction before proceeding to walk in that direction. This c...
- Mon Nov 09, 2015 8:32 pm
- Forum: Q&A Discussion
- Topic: How to make hero strafe (move side to side)?
- Replies: 8
- Views: 1785
Thanks! Unfortunately my script already has a bunch of player suspend and resumes for other tasks so I didn't want to go that route. I did however use your suggestion to make a script that does normal movement if you are currently facing the correct direction, else suspend the player and change thei...
- Mon Nov 09, 2015 7:49 pm
- Forum: Q&A Discussion
- Topic: How to make hero strafe (move side to side)?
- Replies: 8
- Views: 1785
Yeah I struggled with it. I ended up doing kind of a workaround where I drew up 4 new character sprite sets. One where all the frames are of the character walking right, one walking left, walking up, and then walking down. By switching the character to these sprite sets it appears that they are faci...
- Mon Nov 09, 2015 6:25 pm
- Forum: Game Discussion
- Topic: Show off your graphics!
- Replies: 1625
- Views: 335751
- Mon Nov 09, 2015 6:20 pm
- Forum: Q&A Discussion
- Topic: Diagonal Stairs
- Replies: 15
- Views: 5088
Ahh nice! I really dig the style. I can see how it's similar to some of my art but even so it holds a uniqueness of it's own. I think I could learn a thing or two from it actually, I especially like the way you incorporated some grey in to the outlines/highlights on the characters. This diagonal sta...
- Sun Nov 08, 2015 7:18 pm
- Forum: Q&A Discussion
- Topic: How to make hero strafe (move side to side)?
- Replies: 8
- Views: 1785
How to make hero strafe (move side to side)?
EDIT: I no longer require assistance, I spent the day working it out and think I've got it figured out. I'd share my solution but I think since I have a lot of interference from other scripts the solution would only be applicable to my own game. I'm sure doing something like this is normally a lot ...