Page 1 of 1
How would I get inside a building I made?
Posted:
Wed Aug 01, 2007 10:03 pm
by lilmuleman214
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?
Posted:
Wed Aug 01, 2007 10:11 pm
by d-soldier
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.
Posted:
Wed Aug 01, 2007 10:41 pm
by Troodon
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.
Posted:
Wed Aug 01, 2007 10:44 pm
by lilmuleman214
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?
Posted:
Wed Aug 01, 2007 11:05 pm
by Troodon
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".
Posted:
Wed Aug 01, 2007 11:55 pm
by lilmuleman214
ok, I'll try doing what you said. Thanks
Posted:
Thu Aug 02, 2007 7:25 am
by Troodon
You're welcome
Posted:
Thu Aug 09, 2007 2:15 pm
by Freddy
Wow, I really needed that! Thanks tekdino!