(First I would like to say I will be sorry for my English but I'm Italian please...)
I would like to ask if there is any script that make possible to walk and act like old 2d beat'em up, for example final fight. I mean the possibility to constrain the directions of charachters and enemies to left and right without showing or fighting the up/down sprites. Blizz-abs is very user friendly and I've already done a half complete game with this but the inability (mine or inborn of the system...) of doing this is making me reconsider the use of the XAS, please if there is any suggestions it will be appreciated...
class Game_Player
def move_up; end
def move_down; end
end
I cannot understand the answer... Probably I'm not able to explain, I mean a script that when I press up or down the carachter still look to the right or left (according to the last direction it looks toward) and the enemies does the same and they always and act left and right. Don't you know final fight old game?
Sorry to say but what you've posted doesn't work it is just a definition for what is up and what is down...
It prevents up and down movement. Its really not the ideal way to do it, but meh. Why not just alter the sprite sheet to not have up down character graphics?
Or a simple edit to prevent turn_up and turn_down. It all has the same effect.
just edit the sheets, I did that to a project once, maybe have some RTP sprites editted, Ima have a look tomorrow
Thank for the answer, but I'll give an example:
1 - I press left and my charachter looks toward left, after I press up or down and my charachter still looks toward left and acts left (projectiles ecc.).
2 - I press left and my charachter looks toward right, after I press up or down and my charachter still looks toward right and acts right (projectiles ecc.).
And that would be for the enemies too!
I tried to prevent the turning inserting a script after blizz-abs but It did not work, I've also tried to found every turn up and down and changing left or right according to a new variable that I created to stores the direction the chara was looking for when someone press left or right. It did not work probably because I have not find them all or I miss something (i'm noob in rgss).
The result was that my charachter works almost well except when touching obstacles but my allies and enemies didn't work at all! I'm sure that you can find a solution probably in just one script, but I have tried changing so many lines off blizz-abs that I'm quite hopeless...
So I'm completely unsure if this is what was requested...
class Game_Character
def turn_up
end
def turn_down
end
end
Yay 100 posts!
It works perfectly now! I cannot believe it was so simple, I feel so stupid to have bothered you... thank you so much you saved my little project!
Quote from: IkariShinji on February 29, 2012, 11:14:31 pm
It works perfectly now! I cannot believe it was so simple, I feel so stupid to have bothered you... thank you so much you saved my little project!
I am curious to the game, it's been a long time that I ever saw a indie game like that