Father Gascoigne X Vaal Hazak

Father Gascoigne X Vaal Hazak

Father Gascoigne x Vaal Hazak

More Posts from Cryptid-carrion and Others

4 years ago
Hell’s Monarch By Andres Rios
Hell’s Monarch By Andres Rios
Hell’s Monarch By Andres Rios
Hell’s Monarch By Andres Rios
Hell’s Monarch By Andres Rios

Hell’s Monarch by Andres Rios

4 years ago

Setting up Variables in Ren’Py

Hello Folks,

Today I’m going to take you through how to set up Variables in Ren’Py and what they would be used for in Interactive Fiction or Visual Novel games.

What is a variable?

A variable is basically just a way to store information or value as it is called in coding.

Some examples of that are Player Names, Pronouns, Stats, Health, Inventory. Honestly the list is endless and is only limited by your imagination.

You want a counter for every time you player sees a puppy. You can do that haha.

There are 3 main types of Variables I’ve found that come up the most in coding IF games. 

Boolean Values

Number Values

String Values

Setting Up Variables In Ren’Py

Things that are super important to remember. Variables have to be unique. This is because if you use the same variable name twice it will overwrite the input data to the new data. This works great if you want to add increases in Stat’s or decreases in health as it updates it but not for things like the Player Name for example. Steps

1. Create the Variable

You can set this up at the top of you main script.rpy Page or a separate variables.rpy 

My IF Template will come with a varaibales.rpy included for you to edit. 

Formula for True/False (Boolean) variable_name = False

Word Variables (String) You can set up Word Variables as None if you prefer it’s up to you. I always do false simply to save time when I writing a bunch of new variables some people prefer None so they can tell the difference between the 2 variables at a glance. variable_name = None or variable_name = False

Formula for Number Variables variable_name = 0

image

This is because Ren’Py will give you an error when it tries to run if it can’t find a variable. So it must be created first. You don’t have to type in init python: if you are listing the variables in the main script file as it already has it at the top. But if you create a new file for variables (like I have in the template) you need to type this at the top so Ren’Py can recognise it. 

2. Make the menu for the variable

If you want to see how to make a menu in Ren’Py please take a look at my Coding Choice Examples Post. I will be looking at doing a more in-depth post on Ren’Py in the future as well as having a few example menus in the template.

image

3. Set the variable in the menu. This is done by writing $ variable_name = “value”

image

And that’s it Voila! Your Variable is created and set, when the player chooses this menu choice it will set the string_name variable to words.

Want to display your variable? Simply type

[variable_name] 

So if we wrote

“Tell me the [string_name].”

The player would see the 

Tell me the words. I will show you different ways to display your variable soon.

Wait whats the difference between the Variables?

I will be going into more detail in a future post about variables but at the moment you can take a quick look at the top picture for a brief explanation. 

Variables are super important to Interactive Fiction so it’s great that Ren’Py makes it so easy to code. 

Hopefully this post made sense and gave you a basic idea about Setting Up Variables in Ren’Py. If you are an IF Dev and have been inspired to use Ren’Py for you IF Game let me know. I’m trying to put together some examples of games so people can see how versatile Ren’Py is. Thanks for reading till the end. :) 

4 years ago
More Concept Art For Blasphemous. A Vicious Enemy Type. 

More concept art for Blasphemous. A vicious enemy type. 

These two are inseparable. 

4 years ago
El Silbón (The Whistler)

El Silbón (The Whistler)

Originating from Columbia and Venezuela, El Silbón is the spirit of a young boy who murdered his father for abusing his wife. The boys grandfather, angered over the death of his son, ordered that the youth be tied to a post in the middle of the countryside and lashed until his back was destroyed. His wounds were then cleaned with alcohol and he was released with two rabid dogs set upon him. He was cursed to carry the bones of his father for all eternity.

It is said that if his whistling sounds close, there’s no danger, and the whistler is far away. but if the whistling sounds distant, it means he is nearby.

3 years ago

Listen my dudes Ancient Egypt existed for a really fuckass long time. Literally just Pharaonic civilization lasted 3,000 years. That’s not even including predynastic civilization and Roman rule. If you lump that in you’re looking at more like… 5,000 years. Like. If you want a comparison of how long that is: THE YEAR IS CURRENTLY 2018. TWO THOUSAND. TWO-THIRDS OF ANCIENT EGYPTIAN PHARAONIC CIVILIZATION HAVE HAPPENED SINCE THE ‘BIRTH OF JESUS CHRIST’ We comparatively just entered the Third Intermediate Period. The Greeks will not take over for another 700~ years. Cleopatra will not be born until the year 2931.

It’s a really long time guys.

3 years ago

in the book of ezekiel, angels are described as eyes on their wings. sound familiar?

In The Book Of Ezekiel, Angels Are Described As Eyes On Their Wings. Sound Familiar?
In The Book Of Ezekiel, Angels Are Described As Eyes On Their Wings. Sound Familiar?

so what i want to know is what the hell type of predator was preying on biblical angels to make them evolve eyespots

4 years ago

thinking about werewolves and the concept of becoming a monster and discovering that something savage and uncontrollable exists within you and the potential that has to be a liberating narrative about growth and change and courage rather than a story about controlling and concealing it

4 years ago
Save Yourself From Hell.
Save Yourself From Hell.
Save Yourself From Hell.
Save Yourself From Hell.
Save Yourself From Hell.
Save Yourself From Hell.
Save Yourself From Hell.

Save yourself from hell.

Event Horizon (1997) dir. Paul W.S. Anderson

4 years ago

how can him go inside but me not

  • rathlelhound
    rathlelhound reblogged this · 1 year ago
  • rathlelhound
    rathlelhound liked this · 1 year ago
  • whataduck
    whataduck reblogged this · 1 year ago
  • klugpuuo
    klugpuuo reblogged this · 1 year ago
  • klugpuuo
    klugpuuo reblogged this · 1 year ago
  • comrade-slugcat
    comrade-slugcat reblogged this · 1 year ago
  • cyberroses
    cyberroses reblogged this · 2 years ago
  • dailycreature
    dailycreature reblogged this · 2 years ago
  • cyberroses
    cyberroses liked this · 2 years ago
  • jtown141
    jtown141 liked this · 3 years ago
  • cainite-bite
    cainite-bite liked this · 3 years ago
  • thebrasspope
    thebrasspope liked this · 3 years ago
  • valverasofia
    valverasofia liked this · 4 years ago
  • ghoul-things
    ghoul-things liked this · 4 years ago
  • srlunar
    srlunar liked this · 4 years ago
  • xkoifishteax
    xkoifishteax reblogged this · 4 years ago
  • mr-crix
    mr-crix liked this · 4 years ago
  • roseredsun
    roseredsun liked this · 4 years ago
  • comixqueen
    comixqueen liked this · 4 years ago
  • suuplex
    suuplex liked this · 4 years ago
  • destructorblog
    destructorblog reblogged this · 4 years ago
  • destructorblog
    destructorblog liked this · 4 years ago
  • guiltless-studios
    guiltless-studios liked this · 4 years ago
  • wingedknightrose
    wingedknightrose reblogged this · 4 years ago
  • mariaubiquitous
    mariaubiquitous liked this · 4 years ago
  • insane-buffoon
    insane-buffoon reblogged this · 4 years ago
  • the-cat-atonic
    the-cat-atonic liked this · 4 years ago
  • tristisinece
    tristisinece liked this · 4 years ago
  • timelostcarrion
    timelostcarrion liked this · 4 years ago
  • social-awkward-breadstick
    social-awkward-breadstick liked this · 4 years ago
  • osatanelaya
    osatanelaya liked this · 4 years ago
  • cryptid-carrion
    cryptid-carrion reblogged this · 4 years ago
  • lucien-lachance
    lucien-lachance reblogged this · 4 years ago
  • kazamafuma
    kazamafuma liked this · 4 years ago
  • forgot-thepie
    forgot-thepie reblogged this · 4 years ago
  • forgot-thepie
    forgot-thepie liked this · 4 years ago
  • chancecroc
    chancecroc liked this · 4 years ago
  • crookeddeputyempathtrash
    crookeddeputyempathtrash liked this · 4 years ago
  • bigbeejyboi
    bigbeejyboi liked this · 4 years ago
  • reversalsun
    reversalsun liked this · 4 years ago
  • blo0dletter
    blo0dletter reblogged this · 4 years ago
  • blo0dletter
    blo0dletter liked this · 4 years ago
  • peach-tiger
    peach-tiger liked this · 4 years ago
  • vigorless
    vigorless liked this · 4 years ago
  • crow-la-lama-immortale
    crow-la-lama-immortale liked this · 4 years ago
  • stillhumanareyou
    stillhumanareyou liked this · 4 years ago
  • gh-0-sti-3
    gh-0-sti-3 liked this · 4 years ago
  • chiaroart
    chiaroart liked this · 4 years ago
  • aramis-dagaz
    aramis-dagaz liked this · 4 years ago
  • jhobson01
    jhobson01 liked this · 4 years ago
cryptid-carrion - Spooky shit I like
Spooky shit I like

209 posts

Explore Tumblr Blog
Search Through Tumblr Tags