// NSFW 18+ //

code
extends ScrollContainer

var _story = """
...
3/[INFO] Loading AI agent data...
2/[ERROR] DATA_CORRUPTION
2/[INFO] Entering debug mode...
2/[INFO] Replaying scene NULL with player NULL
1/[DEBUG] B57: 45574 | A54: TRUE
1.5/[DEBUG] X59: 0.834 | Y28: 0.349 | Z13: -0.649
0.1/[INFO] Breakpoint hit - click to continue
You're an AI in a VR sex game
...
"""
var story
var index = 0
var timer = 0

var text_dark = preload("res://text_dark.tscn")
var text_light = preload("res://text_light.tscn")

func _ready():
    story = _story.split("\n", false)
    next_line()

func _input(event):
    if timer <= 0 and event is InputEventMouseButton and event.button_index == BUTTON_LEFT and event.pressed:
        next_line()

func _process(delta):
    if timer > 0:
        timer -= delta
        if timer <= 0:
            next_line()

func next_line():
    if index >= len(story):
        return
    var line = story[index]
    index += 1
    var text
    if "/" in line:
        text = text_dark.instance()
        var parts = line.split("/")
        timer = float(parts[0])
        line = parts[1]
    else:
        text = text_light.instance()
    text.text = line
    $VBoxContainer.add_child(text)
    yield(get_tree(), "idle_frame")
    ensure_control_visible(text)
Updated 20 days ago
StatusReleased
PlatformsHTML5
Rating
Rated 4.2 out of 5 stars
(9 total ratings)
Author0x45
GenreInteractive Fiction
Made withGodot
TagsAdult, Eroge, Erotic, gender-neutral, NSFW, Open Source, Robots, second-person, Short, Text based
Code licenseMIT License
Average sessionA few minutes
LanguagesEnglish
InputsMouse, Touchscreen

Comments

Log in with itch.io to leave a comment.

(+1)

this is epic

(+1)

Pretty fascinating ngl. I really liked the way the story developed. Honestly would not mind a continuation in some way. Short but lots of food for thought

(+1)

Funny text game. I don't think I've seen it.

(+1)

the smallest nsfw-text game lol)