คืนค่าการตั้งค่าทั้งหมด
คุณแน่ใจว่าต้องการคืนค่าการตั้งค่าทั้งหมด ?
ลำดับตอนที่ #2 : How to create your own visual novel game! (12/10/59)
How to create your own game!
If you have a story or your dream is wanting to create one game in
your life, here is how to create your own game by follow these easy steps!
1. You have to have your own story or novel first! If you don’t have,
just create one. It doesn’t have to be a long story but should have some
special event for making your game more interesting. You can create every kind
of story you like, such as romance, fantasy, slice of life.
2. Secondly, you should have a picture of your characters. I’m sure
you don’t want to play games which have only text and doesn’t have a single
picture, right? So draw or find some! For background, some create themselves,
some use real pictures and edit it until they think its suit their game. But
there are some websites that give you free background, just give them a proper
credit and you can use it for free!
3. After you have a wonderful story, character’s picture, backgrounds,
it’s time to find a program! In this how to, I choose Ren’Py, a visual
novel engine, which is used by many game creators all over the world and it’s
FREE!! But the most important things is it’s easy to use and if you have a
question, many people can give you an answer because this engine is quite
popular. You can download this program in their website for free, go to www.renpy.org, click download and install program on
your computer.
4. Open Ren’Py
and you’ll see this window. Click create new project and enter your
project name and press enter. Then you choose English for project template and
continue. Choose whatever them and color you like and continue, your game will
be here! Click Launch Project to see your game. It have some example of
dialog for you to star on your own.
5. After
that we will go to the hard part, writing code! Click Script.rpy, you’ll
will see some example code.
Define e is when you want program to recognize the short name of your
characters so you don’t have to type full character name many times. I change
it to my character Goat and add new character Italy. You can
select the color of the name by put Hex Color Code, it’s like this >
#000000 (black), #FFFFFF (white), etc. After add your define name, put your
conversation here by using the short name.
define g = Character('Goat',
color="#FC7600") define I = Character('Italy',
color="#27FF00") |
And when you want to add conversation,
type it in the “…..”
define g = Character('Goat',
color="#FC7600") define I = Character('Italy',
color="#27FF00")
label start:
g "Hello, I'm Goat, nice
to meet you young lady!" I "Ciao! Today we will
teach you the easy way to create your own game!"
return |
g is Goat, if you want to add another
conversation, just do the same as previous line.
When you
finished, don’t forget to save, the easy way to save is Ctrl+S, then you
Launch Project and see what happen.
6. If you
do it correctly it won’t error and will be like this, your character are having
a conversation! So the next step is add image and background. Before writing
code, you have to put your image to the game folder, you can find it by select
your project and click game in Open Directory Section. You can also add
new folder if you want but when you type code you have to put the folder name,
for example, your music file name “ABC” and it is in “music” folder when you
type code in Ren’Py you have to type play music “music/ABC.mp3”.
play music
("music/ABC.mp3") |
Type it when you want to start the music
7. Finally,
when you put all the information you need, you save the code in script.rpy
by Ctrl+S and come back to Ren’Py Launcher, in Navigate Script, click Build
Distributions to build your game file, select options you want and click Build
then…Enjoy your little game!
To
conclude, this is just the simple way but very easy and useful to tell a story
in Visual Novel game, if you follow these 7 steps, you surely can create your
own games.
ฝึ​เียนบทวาม How to ภาษาอัฤษ วิา English I
​โย ​แพะ​​ใน​โลพิศว
ความคิดเห็น