Page 1 of 2

Actor help

PostPosted: Wed May 31, 2006 6:22 pm
by SuperLarryo
Ok, I am very new to game editor, so I started out making a simple little Mario Bros. game. However, I am curious as to how I'm going to make mario change into super mario when he hits a mushroom. Will I have to use a lot of code, or can I use the built in stuff? Also, when he does change to super mario, how will I have the view follow him instead of the little mario? This is all very confusing to me. Any help is appreciated.

PostPosted: Wed May 31, 2006 6:50 pm
by pavel329
heheheh.trust me man there is no point in asking that question.noone know.trust me i asked it.i am makin a very large mario game.i know how to make him change big.but not stay that way.its only temporary.sorry.

PostPosted: Wed May 31, 2006 6:52 pm
by pavel329
to make him change do this.(remember once you press another button its over.)use the collision action while selecting mario.make the options collide on any side of actor mushroom.then hit add action then use change animation.then select watever animation u want to use.make sure you add that animation to the actor first.

PostPosted: Wed May 31, 2006 6:57 pm
by Diana Kennedy
pavel329 wrote:heheheh.trust me man there is no point in asking that question.noone know.



I don't find this comment very fair. You asked a lot of questions here and also got a lot of answers. As I said you via PM, one must be patient. Answering a question actually takes to look into the others problem and try to imagine what he is trying to do and so on. We all have our tasks to do and nobody has full time to answer questions. People here are as helpful as they can.

It is also a good idea to study the tutorials and to search trough the forum if a similar or the same problem hasn't already been answered.

PostPosted: Wed May 31, 2006 6:59 pm
by pavel329
i know that i'm telling him the best i can wat to do with his problem.i don't want him to waste his time with this question when he could be having fun doing something else.i have sent him a pm telling him about ge.

PostPosted: Wed May 31, 2006 6:59 pm
by pavel329
i was never trying to sound rude or unfair.that question noone seems to know.not even makslane.

PostPosted: Wed May 31, 2006 7:01 pm
by pavel329
i guess mario was neve meant to get bigger.... :cry:

PostPosted: Wed May 31, 2006 7:03 pm
by pavel329
btw not all people have as much patience as you.lol.whenever i post a question i check it about every 5 seconds. :lol:

PostPosted: Wed May 31, 2006 7:10 pm
by pavel329
btw to further answer you question i think i have an idea!alright:
first:create an actor and name him bigmario.
next:make his animation big mario.
then:put him covering tiny mario and make his transparency as high as it can go.
next:select tiny mario and use the action collision.
next:make the collision options collde on any side of actor mushroom
then:select add action and choose change transparency.
finnally:make the options big mario and the transparency level lowest.

when you collide with the mushroom big mario will appear and cover little mario.like he got bigger

PostPosted: Wed May 31, 2006 7:13 pm
by duracel92
You probably wont understand this... neither will i :p.

Create 2 actors, a mushroom or whatever and your player. And add all the animations in. Then:

you could create events such as:

Key down>change-animation>shroommarioleft
" "> " " > shroommarioright

(the same with all you super mario animations. Put all of those events as disabled, yes disabled...)

then add all you normal mario animations, but not having the "disabled" thing on "yes" or whatever...

Then make an event:

Collision>mario and mushroom> enable events (the events that change the animations from the littlemario to big mario, you will need to do that a couple of times i think)

then make an event like:

Collision>mario and mushroom> Change animation> mario, to bigmario.

then:

Collision>mario and mushroom> destroy actor> mushroom.

Wow... thats practically a lifes work in typing... lol... I'm lazy.

PostPosted: Wed May 31, 2006 7:14 pm
by pavel329
huh?

PostPosted: Wed May 31, 2006 8:40 pm
by duracel92
duracel92 wrote:You probably wont understand this... neither will i :p.

PostPosted: Wed May 31, 2006 9:04 pm
by Novice
Ok,
Create actor little mario.
Create actor big mario, with option create at startup set to no.
Make all their key down events and such.
On collison with mushroom or whatever put this code in script editor (change the actor and animation names to fit yours)
Code: Select all
DestroyActor("Event Actor");
CreateActor("BigMario", "BigMarioLeftAnimation", "no parent", "no path", 0, 0, false);

Now your lttle mario will be destroyed and big mario created.

PostPosted: Wed May 31, 2006 9:25 pm
by CrimsonX
Thanks for the info i was gonna ask the same question.

PostPosted: Wed May 31, 2006 9:40 pm
by Novice
To make the view folow big mario add this with the rest of the code
Code: Select all
ChangeParent("view", "BigMario");