This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-09-15 04:09:05

guamsna
New Scratcher
Registered: 2010-08-29
Posts: 4

Need help on my Maplestory Turn-based rpg.

I recently made a Maplestory Turn-based RPG based on scripts from http://wiki.scratch.mit.edu/wiki/Turn-Based_RPG, but i have a problem.

Due to my character animations, the
[blocks][/blocks]<forever> scripts seem to just show the animation then to move on to finish the sequence. If you have any solutions, please post them here or on comments in
http://scratch.mit.edu/users/guamsna
or
http://scratch.mit.edu/projects/guamsna/1299654

Thanks for all your help!

Offline

 

#2 2010-09-15 04:34:17

helltank
Scratcher
Registered: 2010-05-21
Posts: 1000+

Re: Need help on my Maplestory Turn-based rpg.

Hmm... It's very hard to create a RPG in general, let alone a turn-based one. Unless you're a former programmer at Microsoft or something, I suggest you stick to platformers.

If you really want a turn-based RPG, then try asking Archmage or Newareagle. They should be able to help. (In fact, I think that article you mentioned on the Scratch Wiki was created by Archmage.)


Error:Signature could not load. Please wait for an indefinite amount of time, until you realize you're gullible and go off to look for another potentially interesting signature to stare at.

Offline

 

#3 2010-09-15 04:39:52

cheddargirl
Scratch Team
Registered: 2008-09-15
Posts: 1000+

Re: Need help on my Maplestory Turn-based rpg.

helltank wrote:

Hmm... It's very hard to create a RPG in general, let alone a turn-based one. Unless you're a former programmer at Microsoft or something, I suggest you stick to platformers.

Let's not discourage guamsna now, he/she is just looking for some help while designing the game.

Last edited by cheddargirl (2010-09-15 04:54:15)


http://i.imgur.com/8QRYx.png
Everything is better when you add a little cheddar, because when you have cheese your life is at ease  smile

Offline

 

#4 2010-09-15 05:38:27

guamsna
New Scratcher
Registered: 2010-08-29
Posts: 4

Re: Need help on my Maplestory Turn-based rpg.

I know it is difficult. But all i need is how to keep my character animations while making the command sequence still working, not skipping it.

I have a hunch it has something to do with the
[block][/block]<forever>

Offline

 

#5 2010-09-15 06:34:33

helltank
Scratcher
Registered: 2010-05-21
Posts: 1000+

Re: Need help on my Maplestory Turn-based rpg.

Oh, I see! Well, maybe the forever block is playing the character animations and for some reason deactivating the attacks?


Error:Signature could not load. Please wait for an indefinite amount of time, until you realize you're gullible and go off to look for another potentially interesting signature to stare at.

Offline

 

#6 2010-09-15 06:54:33

guamsna
New Scratcher
Registered: 2010-08-29
Posts: 4

Re: Need help on my Maplestory Turn-based rpg.

I know that's the problem, all i need help is I want the character animations with the command scripts too. For some reason, you can't forever the enemies stances cause, all it would do is well, stand. I just need that one script adjustment to keep all the animations with working scripts, as like, it would finish the entire script, and not just loop the animation.

PS: Could me pm mods for help?

Offline

 

#7 2010-09-15 14:26:57

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Need help on my Maplestory Turn-based rpg.

Hi there guamsna, I actually wrote the RPG tutorial article in the wiki so I think that I would be most suited to answer this question.

Your post isn't too descriptive, all that I can tell is that you are having issues with the animations? I will download the project to see what is up.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#8 2010-09-15 15:30:59

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Need help on my Maplestory Turn-based rpg.

Ok, I fixed your program

http://scratch.mit.edu/projects/archtest/1300183

I can see the issue, my original RPG did not support these kind of looping animations and they are nice to have in some cases. I solved this issue with a small fix.

The main problem was that your idle animation used forever loops which stopped the broadcasts from ending and messed up the flow of the program. My solution involves using a variable to tell the character whether to play the animation loop or not. It isn't the most elegant solutions but I think that in Scratch if it works reasonably well then work with it  tongue

Also, in your emelee broadcast, one of your broadcast calls had a variable in it instead of the name of the broadcast which prevented the enemy from doing its attack animation.

If you have other issues then your first place to turn to should be this project: http://scratch.mit.edu/projects/archmage/1235930 so that you can compare the scripts.

If you have a particular issue (like this one) that goes beyond the wiki tutorial then post in the forums or leave me a note.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#9 2010-09-17 05:59:58

guamsna
New Scratcher
Registered: 2010-08-29
Posts: 4

Re: Need help on my Maplestory Turn-based rpg.

THanks archmage!!! it really helped

Offline

 

#10 2010-09-19 05:16:31

littlebird2472
Scratcher
Registered: 2010-03-05
Posts: 42

Re: Need help on my Maplestory Turn-based rpg.

for the turns, do this:
<when green flag clicked>
<set{ turn }to(player1)

<when I receive[ battlestart ]
<set{ turn }to(player1)

<when I receive[ attack 1 used ]
<set{ turn }to(player2)
or something like that. Hope I helped!


http://dragcave.net/image/MoLDl.gif Please click and help my dragon survive!

Offline

 

Board footer