Actor help

Game Editor comments and discussion.

Actor help

Postby SuperLarryo » Wed May 31, 2006 6:22 pm

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.
SuperLarryo
 
Posts: 6
Joined: Tue May 30, 2006 9:51 pm
Score: 0 Give a positive score

Postby pavel329 » Wed May 31, 2006 6:50 pm

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.
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby pavel329 » Wed May 31, 2006 6:52 pm

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.
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby Diana Kennedy » Wed May 31, 2006 6:57 pm

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.
User avatar
Diana Kennedy
 
Posts: 257
Joined: Wed Dec 07, 2005 12:34 am
Location: France, where Presidents who got shot in Texas do exile ;-)
Score: 0 Give a positive score

Postby pavel329 » Wed May 31, 2006 6:59 pm

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.
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby pavel329 » Wed May 31, 2006 6:59 pm

i was never trying to sound rude or unfair.that question noone seems to know.not even makslane.
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby pavel329 » Wed May 31, 2006 7:01 pm

i guess mario was neve meant to get bigger.... :cry:
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby pavel329 » Wed May 31, 2006 7:03 pm

btw not all people have as much patience as you.lol.whenever i post a question i check it about every 5 seconds. :lol:
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby pavel329 » Wed May 31, 2006 7:10 pm

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
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby duracel92 » Wed May 31, 2006 7:13 pm

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.
duracel92
 
Posts: 132
Joined: Sat Jan 21, 2006 10:45 pm
Location: UK
Score: 0 Give a positive score

Postby pavel329 » Wed May 31, 2006 7:14 pm

huh?
Drugs r bad.
Mgaay?

Image
User avatar
pavel329
 
Posts: 269
Joined: Thu May 25, 2006 2:05 pm
Location: Behind you
Score: 5 Give a positive score

Postby duracel92 » Wed May 31, 2006 8:40 pm

duracel92 wrote:You probably wont understand this... neither will i :p.
duracel92
 
Posts: 132
Joined: Sat Jan 21, 2006 10:45 pm
Location: UK
Score: 0 Give a positive score

Postby Novice » Wed May 31, 2006 9:04 pm

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.
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score

Postby CrimsonX » Wed May 31, 2006 9:25 pm

Thanks for the info i was gonna ask the same question.
CrimsonX
 
Posts: 28
Joined: Wed May 24, 2006 2:38 am
Score: 0 Give a positive score

Postby Novice » Wed May 31, 2006 9:40 pm

To make the view folow big mario add this with the rest of the code
Code: Select all
ChangeParent("view", "BigMario");
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score

Next

Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest