SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
I was wondering if there was a way to let the player customize their house. How I'd like it is they'd buy furniture from a shop, then when they're in their house if they go in to the menu it says 'My House' and then it will let them change the map and add the furniture they want. Is there anyway to do this?
 

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
That's pretty good, but I want the player to be able to put things anywhere in the house, where in that script it has specific places that you can put furniture.
 

Susan

Veteran
Veteran
Joined
Sep 1, 2014
Messages
2,748
Reaction score
8,347
First Language
No idea...
Primarily Uses
RMMV
Well, actually, he hasn't altered any scripts. It's all pure eventing.

You can edit the events and place them in more areas of your house.
 

SebazWorld

Veteran
Veteran
Joined
Oct 29, 2014
Messages
123
Reaction score
36
First Language
English
Primarily Uses
RMMV
Whoa. Okay, I'll give it a try.
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,006
First Language
Tagalog
Primarily Uses
RMVXA
You can use an event spawn script or item drop script on map...
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
6,079
Reaction score
5,742
First Language
English
Primarily Uses
RMVXA
That's pretty good, but I want the player to be able to put things anywhere in the house, where in that script it has specific places that you can put furniture.
You can change an event's location on the map using $game_map.events[n].x = v1 and $game_map.events[n].y = v2, where n is an Event's ID and v1/v2 are any values you please.  I think events' locations reset each time you visit the map, so you'd probably need to remember where the player wants them and set the furniture's location accordingly, then fade in the screen.

In practice this would be fairly complicated (especially if you're worried about furniture overlapping, etc.), but it's doable.

The easier way if you have specific places where you are allowed to put furniture, and can only put one piece of furniture in a single spot at a single time, is to have invisible events in that spot with all the different possible furniture that can go there, and set a variable when the player chooses to put a certain piece of furniture in spot n.  In the event that corresponds to spot n, just make a page for each possible type of furniture that can go there, and have that page require that the variable is (#) or higher.  It'll take a while to set up, but it's relatively clean and simple.
 

MisterTorgue

Explosioooooooons!
Veteran
Joined
Nov 4, 2014
Messages
324
Reaction score
49
First Language
Explosions!
Primarily Uses
You could also use (for single tile furinture) the grab script (I will try find source) so they can actively move things around.
 

Latest Threads

Latest Posts

Latest Profile Posts

SA51K_SHADER_IDLE.gifZombie is not the only thing people turned into in this town. There is also something else here. Something has many different names in history, the plague, the black oil, the purity, the filth. And now, it's called the shade.
(Maybe too much X-File reference. :kaojoy:)
Thanks, google for putting together a random pixel art Olympics game in your logo that puts everything I've ever done to shame in pretty much every aspect. ;)
Chizuru
chizuru.png


anyway, i just recovered from Covid.
Work's been delayed for a month but now i'm back drawing again.
Ah yes i learned how to make name boxes Im now profeshonal
The snowy mountains in my game are finally done... what a crazy journey.

Forum statistics

Threads
113,611
Messages
1,076,224
Members
147,624
Latest member
FireFlyFR
Top