Public key authentication

As a widely used network protocol, Secure Shell (SSH) provides several authentication approaches. However, we’ll focus on public key authentication only in this article.

Public key cryptography which is also named as asymmetric cryptography uses pairs of keys: public keys and private keys.

Simple AVG (1) Plan, Configure and Basic Syntax

The purpose of this project is to create an easy Visual Novel. In this series of blogs, I’ll share some experience in the process of building a game in Ren’Py.

Ren’Py is a AVG engine made by python. The API is python-like and easy to use. The engine based on MIT license. The main direction of Ren’Py engine is galgame which fits my goal.

My OS is Ubuntu 16.04 LTS, and I will use Atom as my editor. The Ren’Py version I use is 6.99.8. To install it in Ubuntu, just input this command in terminal:

sudo apt install renpy

The Ren’Py in Ubuntu’s repository may not be the newest, if you want to get the up-to-date version, check its official website https://www.renpy.org/.

After installing the Ren’Py, you’ll see a icon like this: RenPyIco. Then we can click the “preference” button to begin configuration. The process of configuration is easy, for beginning, we just need to set our editor and project directory. And then click the “Back” button to the main interface. To create a new game, just click “Create New Game” and set a theme you like. The basic frame is found.

The main part of your game will be found in a file named script.rpy. Ren’Py is very friendly to beginners, the comments are specific and easy to understand. In this blog I’ll show some basic syntax.

To create a background picture, we can use image syntax, in the example below, I’ll show how to declare a background picture named light:

image bg light = “light.jpg”

Now we initialise our background picture light. If we want to use the background, we can use the code below in label block to invoke it:

scene bg light

(Tips: Resources like pictures, music should be put in game folder.)

This series will be closed temporarily.

Hello World!

Hi I’m SilMOON, I hope I can learn and share interesting technologies and programming skills by building this blog.