Yes. Do you need art help?
Offline
Maybe if you put limitations on where it can move, and those limitations change with the player moving, it would do it.
Offline
Make a new sprite that is the limiter for where they can be walking.
Offline
You got it working?
Offline
Oh, okay then. I'll look at the project and we can figure something out in the morning.
Offline
Only thing is though, I've thought bout this all day, although we can program it to only wander in one area, when the player moves, for then the camera also move, the NPC will move with the camera because scratch wasn't made to be able to understand these types of games... For the sprite that limits the NPC, create a thin border,
Limits: NPC:
When clicked when clicked
set ghost effect to 100% Forever
Forever [If touching Limit NPC 1
[Set X to Scroll-x + 480*1 [[point in direction (180- direction)
[[turn {clockwise} (pick random -20 to 20) deg.
For the NPC's turning script I jut used my basic pong script
Offline
Pop-star games? Link?
Offline
Okay.
Offline
What will this be called? GTA (city), I mean.
Offline
GTA New York City!
Offline
Good ideas but I want to make a website on webs and put a downloadable version so I think we couldn't call it GTA,
Murpho: I have made the border a full terain size but the NPC still looks funny, I don't know if it can be done...
Offline
What should the name be then?
Offline
Thomas96 wrote:
Bump?
![]()
Bump.
Thomas96 wrote:
Only thing is though, I've thought bout this all day, although we can program it to only wander in one area, when the player moves, for then the camera also move, the NPC will move with the camera because scratch wasn't made to be able to understand these types of games... For the sprite that limits the NPC, create a thin border,
Limits: NPC:
When clicked when clicked
set ghost effect to 100% Forever
Forever [If touching Limit NPC 1
[Set X to Scroll-x + 480*1 [[point in direction (180- direction)
[[turn {clockwise} (pick random -20 to 20) deg.
For the NPC's turning script I jut used my basic pong script
Was this the same problem as the one for the RPG that I fixed, or is this different?
Offline