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

#1 2012-07-24 00:36:43

bullelk12
Scratcher
Registered: 2012-05-26
Posts: 100+

stickman clone

Hi, so I've made a few platformers in scratch so far (with scrolling) but I've decided that something needs to be added. I first thought of temple run, these demonic apes chase you the whole way through. So I figured that that was a good idea. Here's the problem I don't know how the character that is chasing my character will make it through the course on its own. Since this is practically impossible without some elite artificial intelligence brain I thought that having the enemy character copy the friendly characters actions would make it so it could get through the course without fail. Or if you fall down... it doesn't matter cause your dead.

Summary: a character that will copy my character's actions 2 seconds after my character has already done them. Is it possible?

Last edited by bullelk12 (2012-07-24 00:37:43)


http://mag.racked.eu/cimage/i6000/Achievement++get%21/Scratcher+love+minecraft%21/mca.png

Offline

 

#2 2012-07-24 11:59:02

Prestige
Scratcher
Registered: 2008-12-15
Posts: 100+

Re: stickman clone

It is possible indeed. You could add the information to a list, including the position and the time. Then when time = time + 2, move to the recorded position. Its difficult to give the script as I'm not aware of how your game works ( Temple run for example is 3d ).


"Don't insult someone until you've walked a mile in their shoes. That way, if they don't like what you have to say, you'll be a mile away and still have their shoes  smile  "

Offline

 

Board footer