captainette777

Mad Scientist
Member
Joined
Jan 19, 2018
Messages
78
Reaction score
73
First Language
English
Primarily Uses
RMMV
I'm not sure whether this belongs here or on Maker Specific, so I hope I'm not bothering anybody by asking--

I have a game where you solve a murder by getting info from random people inside a room and arresting the culprit. I'm wondering if there was a way to randomize the culprit every game.I thought about using a variable that would pick one character to be the perpetrator, and that same variable would also decide what lines every other character would say that would eventually point to the villain(it could even be the player). It's a very short game with only <10 characters in it, basically made for a fun experiment. What do you think?

Btw, my main inspiration for this is a game called Sleuth for the Windows, and possibly the board game Cluedo/Clue. Hope that's good info!
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,818
Reaction score
14,979
First Language
English
Primarily Uses
RMMV
As this is a "how do I ..." and is very specific to your game, it would go into the MV Support forum.

The approach you are describing is exactly what I think you'd need to do. To make it easier to do the eventing, have as many pages on each event as you have potential culprits, and condition the pages by the randomized variable. That means everything on a single event page would be for just one scenario, and you don't have to worry about a heap of conditional branches to handle all the possible suspects.

The logic of the design is going to be the hardest part - deciding what everyone says for each potential culprit and making sure the player can figure out who it was based on the clues.
 

captainette777

Mad Scientist
Member
Joined
Jan 19, 2018
Messages
78
Reaction score
73
First Language
English
Primarily Uses
RMMV
As this is a "how do I ..." and is very specific to your game, it would go into the MV Support forum.

The approach you are describing is exactly what I think you'd need to do. To make it easier to do the eventing, have as many pages on each event as you have potential culprits, and condition the pages by the randomized variable. That means everything on a single event page would be for just one scenario, and you don't have to worry about a heap of conditional branches to handle all the possible suspects.

The logic of the design is going to be the hardest part - deciding what everyone says for each potential culprit and making sure the player can figure out who it was based on the clues.

Thanks for the quick help! I like that idea the most, it's good to not worry about having to download a plugin or something. Also, I had a feeling this is in the wrong spot. Sorry...:hswt:
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
16,075
Reaction score
8,912
First Language
English
Primarily Uses
RMMV

I've moved this thread to MV Support. Thank you.


And no worries, it happens. :)
 

Latest Threads

Latest Posts

Latest Profile Posts

My mom is finally coming home tonight! In the meantime, Wishful Wanda is back in production.
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

Forum statistics

Threads
113,616
Messages
1,076,249
Members
147,631
Latest member
pictureperfect
Top