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

#1 2010-07-01 13:18:13

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

how can I...

i really want to make an rpg to play that kinda works like some other games such as runescape but u face different people and monsters much like some of my little brothers pokemon games but is also two player and saves your progress does anyone know how to do all this? i would really appreciate it even if u can come up with the simple things. It doesnt have to come out like i descibed it. Again i would really appreciate your help.


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#2 2010-07-01 13:31:16

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: how can I...

Please explain, and try to explain without saying "like this game" and more saying "with a turn based battle" etc.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#3 2010-07-01 13:55:01

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: how can I...

i dont mean a turn based game i want to fuse the to games together so hmmm how can i explain this... ok i know. so that u can attack when ever you want and different things have different personalities such as defencive, aggresive (attacks when your x amount of steps away for example 100), team player (joins with others to attack), and so forth but for now i want to focuse on the defencive one right now and work on the others once i get a hang of giving these different types of games.


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#4 2010-07-01 15:16:08

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: how can I...

Well, that's pretty hard to do - from what I understand you want the characters to have Artificial Intelligence? Some of that stuff is pretty hard to do. Can you explain a little more what would happen with this defensive personality?

Offline

 

#5 2010-07-01 15:34:25

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: how can I...

with its defencive personality when attacked it will attack back really hard and cuz it doesnt want to be attacked soooo say would work like this (i dont know how to do the blocks so im gonna explain it)
When touching silver (the sword or weapon)
it  follows your character and attacks.
i think i know a good health script would it be
when touching Brown/bronze (enemy weapon)
health = health - 10


would that work?


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#6 2010-07-03 00:20:52

qwertypower
Scratcher
Registered: 2010-02-24
Posts: 100+

Re: how can I...

Oooo AI's That's pretty hard. You would have to make lot's of variables to configure the enemies attack based on your previous attack or your skills. I don't have much experience in that field


http://img690.imageshack.us/img690/8586/x1eo8x.png  http://img690.imageshack.us/img690/9164/logozrv.png
http://img693.imageshack.us/img693/8186/image843.png      http://img411.imageshack.us/img411/406/bobs.png      http://img535.imageshack.us/img535/2898/firegrob.png     Add zip the cybug, bob the sea urchin, and firegrob to your sig!

Offline

 

#7 2010-07-03 22:49:11

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: how can I...

ok thanks for trying


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#8 2010-07-03 23:06:05

qwertypower
Scratcher
Registered: 2010-02-24
Posts: 100+

Re: how can I...

Good luck! If I come across anymore information, I'll let you know.


http://img690.imageshack.us/img690/8586/x1eo8x.png  http://img690.imageshack.us/img690/9164/logozrv.png
http://img693.imageshack.us/img693/8186/image843.png      http://img411.imageshack.us/img411/406/bobs.png      http://img535.imageshack.us/img535/2898/firegrob.png     Add zip the cybug, bob the sea urchin, and firegrob to your sig!

Offline

 

#9 2010-07-03 23:11:17

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: how can I...

that would be great


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#10 2010-07-04 15:19:53

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: how can I...

Sorry I haven't been able to help - what you're asking to do is a little difficult to do. AI's - which is what a virtual personality is called, Artificial Intelligence - generally consist of a myriad of "if...else" blocks. So think - "What would this guy do if his health were low?" and make a block for that. Don't forget what "if...else" blocks are, in the first place - if the statement is true, the "if" block will do it's thing, otherwise, the else block will do it's thing. Knowing that, just do what makes logical sense - for instance, if the health is under 20, he might attack a little more powerfully than before, etc...

Good luck!

Offline

 

#11 2010-07-08 17:24:37

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: how can I...

soo.... can you use blocks and explain it referring to the blocks?


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#12 2010-07-08 17:27:48

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: how can I...

murpho wrote:

soo.... can you use blocks and explain it referring to the blocks?

Erm... Not really because there really isn't any set answer for this kind of question. Just put in the blocks your mind thinks of and you should be good to go!

Offline

 

#13 2010-07-09 21:16:23

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: how can I...

ok


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#14 2010-07-20 10:55:02

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: how can I...

i need A.I. Scripts people!!!


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#15 2010-07-20 10:58:34

Ralphjos
Scratcher
Registered: 2009-10-10
Posts: 100+

Re: how can I...

Didn't they just ask you to create your own? Give it a go and see what you can make. Did you make anything in the mean time? Was it successful? How'd it go? What were some errors? Lol. This at the moment is big for scratch.

Regards,
   Ralphjos


http://i33.tinypic.com/2dt3j9j.gif

Offline

 

#16 2010-07-20 11:22:58

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: how can I...

i am currently working on it as we speak i'm thinking i need a sprite and another sprite as the area that is visible to the enemy sprite so when your character head towards that sprite once it enters its area of visibility it follows you. Right now i have a feeling that this is going to be the most complicated game in scratch.I am also working on a save/load function for it. Please go try out my demo i made its pretty simple go ahead and download it and tell me some things that i should do to make it better.


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#17 2010-07-20 11:59:05

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: how can I...

I'm working on it and i ran into some thing i only needed 1 sprite but it doesnt move towards the character like i thought it would. Please help!!! This is the script:

[blocks}<when green flag clicked>
<forever>
<if><( <distance to[ character ] <=> 50 )>
<go to[ character ]
<end>
[/blocks]

This was a practice script just to see if it would go to the character if it was 50 steps away.


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#18 2010-07-20 12:36:33

murpho
Scratcher
Registered: 2010-07-01
Posts: 1000+

Re: how can I...

Ok i finally got the A.I. script to work!!! This is where it is at: http://scratch.mit.edu/projects/murpho/1202456


https://lh6.googleusercontent.com/-l-rgCPiQ9pY/Tp32n1MRUEI/AAAAAAAADoA/HNQWbO8OOaA/s510/soccerleague.gif

Offline

 

#19 2010-07-20 12:44:48

melikecheese
Scratcher
Registered: 2010-06-09
Posts: 500+

Re: how can I...

Try changing the steps the Enemy moves, to 5. It makes it less jerky.


http://i51.tinypic.com/987rb5.jpg
I am Dave! Yognaught.

Offline

 

#20 2010-07-20 20:39:23

qwertysremix
New Scratcher
Registered: 2010-07-20
Posts: 1

Re: how can I...

http://scratch.mit.edu/users/qwertysremix

I hope this helps  smile

P.S I am qwertypower's beta account.

Offline

 

Board footer