じ☆ve冰风 发表于 2026-7-6 20:33:24

Remaining Lives Event (Super Mario like)

Remaining Lives Event V1.1
by Nik0405​

EVERYTHING HAS BEEN TRANSFERED TO THIS SITE: Nik0405's Events

My second event tutorial

 


Introduction:

Allows you to give the player an specific amount of "lives". Like in arcade games.

When the amount of lives change to 0 the player will get an GameOver screen.

And when he dies while he still has lives left the current amount of lives will be displayed and than he will respawn at the last "Savepoint".

Features:

-player has now and specific amount of lives

-when the player dies there will be no GameOver.

 Instead he will respawn at the last savepoint

-the amount of lives can easely be changed (Items, Events)

-Save and quit feature: for the ones who like to ragequit after dying

 The game can be resumed after that. (Took quite a long time to get that working)

Online Demo:
click me!
Hope it helps.

Let's begin eventing:

1.Names

SpoilerWe need:
         3   Common Events
         1   Switch
         2   Variables
Now we have to name all of them.

1. Common Events

001
eath
002:MusicAfterDeath
003:LastSavepoint



2. Switches

Spoiler001:MusicAfterDeath



3. Variables

Spoiler001
eath-Counter
002:LastSavepoint




2.Common Events

SpoilerPlease look at them in the editor. You can download the Demo below.



How to use:

Before start:

SpoilerBefore the game starts you have to set the amount of lives the player have.Just change the variable: Death-Counter



Savepoints:

SpoilerIf you want to make an savepoint you just have to change the variable: LastSavepointMake sure to set the destination where the safepoint is in the commonEvent:LastSavepoint



Enemies:

SpoilerIf you want to call the Event when the player dies in battle just make the battle loosable and
 then under if loose call the common event: Death



Costum Death:



If you have another way the player can die just call the common event: Death

Download:

  English V1.0:
                Demo
(Extract it before using! By the way. You may noticed by now that my english is not the best. Im sorry)

Installation:
Copy all Events, Variables and switches and then may change them.

Changelog:

V1.1: (04.11.15) renamed to "Remaining Lives Event (Super Mario like)"

V1.0: (02.11.15) First public version

Terms of use:
-You can do what you want, aslong its recognisable that its made by me
 
Sry for my bad english



本贴来自国际rpgmaker官方论坛作者:Nik0405处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/remaining-lives-event-super-mario-like.49043/
页: [1]
查看完整版本: Remaining Lives Event (Super Mario like)