RPG Tutorial (Part 2)

3

Index

Attached Files

The following files have been attached to this tutorial:

.capx

Stats

3,517 visits, 6,576 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 22 Nov, 2015. Last updated 19 Feb, 2019

Add new Event Sheet and name it TextMSG. In this TextMSG, also include this in your Maingame_Event sheet.

Events add code below:

Start of Layout = arr_mapMSG set value (0) "Entering Black forest grassland" all your code should look like below:

That’s our board messages done. Now we have to display our arr_mapMSG when board come in view for player. It’s not hard we can do this by our Instance variables we set for Sign Board. So our goes something like this;

Spr_Signs has LineOfSight txtMSG Visible

Spr_Signs has LineOfSight txtMSG arr_mapMSG.At(spr_Signs.sign_ID) simple

Code is below:

At the end of statement if player moves far away from sign board txtMSG to invisible. Now if you have followed this part exactly your sign ARRAY should work fine if not check it again please. Furthermore make group and insert your code in Group like this:

In part 3 we will create weapons and how to use it as well until then please take care.

God Bless

Lord Shiva

.CAPX
  • 0 Comments

Want to leave a comment? Login or Register an account!