RMDC #2: Choice Pictures

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,553
Reaction score
3,793
First Language
English



You are a new adventurer and have been asked to visit the weapon store to receive your first weapon. When you arrive at the store and talk to the owner, she asks you what you want to use. You are then presented with a few options...but how are these options displayed?


Introduction


The RMDev Challenge is a series of articles that presents a problem for RPG Maker developers and the objective is to find a solution.


The purpose is to engage RPG Maker developers in some (possibly practical) problem-solving that will allow them to explore more of what the engine has to offer, and also to see how others implement the same solution.


Instructions


The rules are simple:

  • Your solution must run in RPG Maker
  • You may use any version of RPG Maker
  • You may do anything to solve the problem (eventing, scripting, pictures, etc)
  • The scenario provided is just a guideline. You do not have to follow it. All that matters is the requirements of the challenge.
You may present your solution however you wish (comment, blog post, video, etc) and wherever you wish, but I ask that you leave a link back to this article if you are sharing a solution on external sites. I also recommend sharing the solution on external sites and leaving a link in the comments because the comment section is too small for details.
Remember: you want to share with others your solution.


A list of submissions will be updated at the end of this post, so if you want me to include a link, leave it in the comments or send me a message.


Challenge


In RPG Maker, one of the ways to present choices is to use the "Show Choices" event command. This allows you to display a choice selection to the player that looks something like this





Depending on which option you choose, the store owner will give you a different weapon.


However, depending on how you want to present your game, having a list of options to choose from is unsuitable. Instead, you may want to display a set of choices as a collection of pictures. It might look, instead, like this





How would you provide a selection of choices to the player using a set of pictures?


Resources


Here are some pictures to get you started. You do not need to use them. Each picture is 128x128, so crop them out as needed.





Here are the original sources for the images along with their licensing details:


Stave: https://www.iconfind...steel_tool_icon


Sword:http://www.iconarchi...Sword-icon.html


Bow: http://www.clker.com...art-267011.html


Other Comments


The next challenge will build on this challenge, so if you have a working solution, consider holding on to it.


You are encouraged to discuss techniques and solutions with other developers. This thread can be used for discussion as well.


Submissions


Any submissions will be linked here.


Zetu [demo]


Ralpf v1 [demo]

Ralpf v2 [demo]


Susan [demo]


Meridianbot


(originally posted at HimeWorks)
 
Last edited by a moderator:

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,137
Reaction score
8,418
First Language
English
Primarily Uses
RMMV
Hmmm, the wheels are already turning as to how to even it. I have an idea just need to get to the computer and see how to implement it.
 

Zetu

Level 99 Stabomancer
Veteran
Joined
Apr 28, 2012
Messages
247
Reaction score
99
First Language
English
Primarily Uses
N/A
Already finished! I probably will play around with it a while for more customization options. I have plenty of time to submit after it's posted, anyways. Also, using those Icons would probably be better than what I have.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,553
Reaction score
3,793
First Language
English
That's pretty fast!


Maybe a preview of how it functions (screenshots, video, ... ) might motivate people :p
 

Zetu

Level 99 Stabomancer
Veteran
Joined
Apr 28, 2012
Messages
247
Reaction score
99
First Language
English
Primarily Uses
N/A
I need to make edits to support bigger images, since having pictures that tall go over the screen. Probably a horizontal mode. Here's what it looks like, ignoring that...

 
Last edited by a moderator:

Ralpf

Veteran
Veteran
Joined
Jun 5, 2014
Messages
590
Reaction score
152
First Language
English
Hmm, not sure how to approach this one. Gonna try to event that (since that's what I know), gonna try to give it a shot tomorrow.
 

Zetu

Level 99 Stabomancer
Veteran
Joined
Apr 28, 2012
Messages
247
Reaction score
99
First Language
English
Primarily Uses
N/A
I'm pretty sure you can't event this. This is a coding challenge, not eventing challenge. If you want to event it for your personal use, however, go for it.

Just read the op. Ignore that and gl eventing it.

I added modes to what I had. [mode=?]. Here's a screenshot of using mode H and C (horizontal and centered).

 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,553
Reaction score
3,793
First Language
English
Updated the post to look more organized.


That is pretty much the final version.
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
2,994
First Language
Tagalog
Primarily Uses
RMVXA
It's weird that the other options are images while the cancel is a word...

If I don't want to script it, I would probably use pictures and maybe a loop which waits for input... Not sure if that's really practical though
 

Zetu

Level 99 Stabomancer
Veteran
Joined
Apr 28, 2012
Messages
247
Reaction score
99
First Language
English
Primarily Uses
N/A
Here is my solution v1.02

Plus Demo v1.02

Make sure to use the latest solution. Copy the script into the demo if the versions are not the same.

I may add a few more features later. (Also, the Cancel part can be removed. I was just showing that it's possible to keep text there. I left it out in the demo.)
 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,553
Reaction score
3,793
First Language
English
Here is my solution (Plus Demo)


I may add a few more features later. (Also, the Cancel part can be removed. I was just showing that it's possible to keep text there. I left it out in the demo.)
This just feels amazing when I'm playing through the demo

And also trying to run away.
 
Last edited by a moderator:

Ralpf

Veteran
Veteran
Joined
Jun 5, 2014
Messages
590
Reaction score
152
First Language
English
It was actually fairly simple to event, took me longer than I thought to get around to it, busy weekend.

Anyway:

Two events, one for the conversation with the quartermaster (changed scenario slightly), one autorun to control pictures and variables:RMDC 2-1.jpg

There is a second page that contains different dialog when switch SecondTime is active

RMDC 2-2a.jpg

RMDC 2-2b.jpg
Gonna map out a decent looking area and submit a demo, maybe tomorrow.
 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,553
Reaction score
3,793
First Language
English
It was actually fairly simple to event, took me longer than I thought to get around to it, busy weekend.
That does look very simple. I didn't think it would be that short with events.


Wonder how it looks!
 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,553
Reaction score
3,793
First Language
English
Last edited by a moderator:

Ralpf

Veteran
Veteran
Joined
Jun 5, 2014
Messages
590
Reaction score
152
First Language
English
Sure,

Looks good :)
The input isn't as responsive sometimes, but I'm assuming that is related to how events loop.

I think it definitely has more impact than a simple list of text choices.
Mind if I take screenshots or make videos to showcase it?
Go for it, that would be cool.

The responsiveness lag is due to the waits in there I think, had issues with not being able to select the middle picture and accidentally selecting option one after ending the text. Will change that to 5 frames and see what it is like.

Edit: 5 frames is too short, the problem resurfaces, 6 frames actually works very well though. But I settled on 7 just in case someone with a less responsive keyboard (or a slower finger) looks at it. I think the responsiveness does feel better. Though the change is so subtle it's hard to be certain.

I replaced the file with the new version in dropbox, not sure the old link still works so: https://www.dropbox.com/s/sh1uk3190edum85/RMDC2%20-%20Ralpf.zip?dl=0

This method could actually be used for puzzles and stuff like that, too.
 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,553
Reaction score
3,793
First Language
English
Are you using the

Code:
Loop  Conditional Branch: Button Pressed    Exit Loop  Else    Wait x Frames  EndEnd
Pattern to wait for user input?
 
Last edited by a moderator:

Ralpf

Veteran
Veteran
Joined
Jun 5, 2014
Messages
590
Reaction score
152
First Language
English
I've never used a loop in a button press situation, just a conditional branch that activates on the button being pressed. Will see if that might help.

Edit: Can't find a place to insert a loop that either doesn't change anything, or stops the whole thing because of an unbreakable loop.

This is what that little section of the event looks like.

RMDC2.jpg
 
Last edited by a moderator:

Susan

Veteran
Veteran
Joined
Sep 1, 2014
Messages
2,748
Reaction score
8,345
First Language
No idea...
Primarily Uses
RMMV
This challenge looks really interesting! ^^

Here's my submission on addressing this challenge :

https://www.dropbox.com/s/g3n0i5yyyeswkvi/RMDC2%20-%20Susan.rar?dl=0

I used pure eventing with the provided pictures for this submission.

Screenshots:

In-game:



Event:

Event - Page 1

Event - Page 2

Event - Page 3

 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,553
Reaction score
3,793
First Language
English
Ah, that's what those extra events are for...


I think the helper events wouldn't be necessary if you could somehow lock the player in the choice event.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Playing with colour ramps. The first set is the originals, the ones only facing forward in different colour schemes are the new colours.

I present... MAGIC (in progress)

No vaccine till at least spring 2021. Have not seen our parents since Dec 2019. But at least we can phone each other. How is everyone else's situation?

Forum statistics

Threads
102,975
Messages
996,433
Members
134,442
Latest member
hyunsol1025
Top