How would I get inside a building I made?

Talk about making games.

How would I get inside a building I made?

Postby lilmuleman214 » Wed Aug 01, 2007 10:03 pm

In my RPG, I want to be able to go into a building I made. How would I do that?

Oh, and how do I make it so my character in my game doesnt go over on top of the buldings, and make it so instead he cant?
Life is to good to waste
Go To http://www.Game-junkiez.us
to play/download my games.
User avatar
lilmuleman214
 
Posts: 102
Joined: Wed Jul 25, 2007 6:42 pm
Score: 5 Give a positive score

Postby d-soldier » Wed Aug 01, 2007 10:11 pm

Physical Response set to a collision event would do the trick, as for entering buildings, you could have the roof be a separate actor, which becomes transparent when you collide with/within it.
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score

Postby Troodon » Wed Aug 01, 2007 10:41 pm

Can you show us how what's the view angle of your actor and the house?
The transparent roof is good when the view is straight from up.
In some RPGs the houses are bigger than they "really" are in the game. I mean that some game makers need more space inside the house but less outside. So they make the houses as one actor and then when you touch the door, you transport to another place where you can see only the inside of the house and walls. This is handy if you want to have nice small houses which have many things inside.
:D
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby lilmuleman214 » Wed Aug 01, 2007 10:44 pm

From what you guys told me I should be able to figure it out, but Tekdino how do you do that? (when you go to the door, and it sends you somewhere else?) can you please tell me how you do that? I know it has something to do with regions, but I've never used a region thing in a game.

Also Now have so my character cant go threw the building, but he pushes it. i dont want him to be able to push it. Does anybody know how to get rid of that?
Life is to good to waste
Go To http://www.Game-junkiez.us
to play/download my games.
User avatar
lilmuleman214
 
Posts: 102
Joined: Wed Jul 25, 2007 6:42 pm
Score: 5 Give a positive score

Postby Troodon » Wed Aug 01, 2007 11:05 pm

To change the place of one actor you need only script editor. In the transport event write:
x = the x coordinate;
y = the y coordinate;
Both coordinates are compared to game center and can be seen in the mouse position numbers in the upper window.
--
You have a problem with the physical collision. Change it so that only the correct actor moves. If the event is in the house, it's "move collide actor". If it's in the character, it's "move event actor".
:)
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby lilmuleman214 » Wed Aug 01, 2007 11:55 pm

ok, I'll try doing what you said. Thanks
Life is to good to waste
Go To http://www.Game-junkiez.us
to play/download my games.
User avatar
lilmuleman214
 
Posts: 102
Joined: Wed Jul 25, 2007 6:42 pm
Score: 5 Give a positive score

Postby Troodon » Thu Aug 02, 2007 7:25 am

You're welcome :D
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby Freddy » Thu Aug 09, 2007 2:15 pm

Wow, I really needed that! Thanks tekdino! :D
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron