Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Krazplay

1
Posts
1
Topics
A member registered Jun 15, 2020

Recent community posts

Hi,
I'm playing with dragonruby and I don't know if it's only me, but I've an annoying bug when trying to display a part of a string:

@abc = "Hello world, 01234567890123456789"
args.outputs.labels << [10,120, @abc[0,23]]
args.outputs.labels << [10, 90, @abc[0,24]]

First output works fine, showing 23 characters: "Hello world, 01234567890"
But the second output will always show ALL the characters, as soon as you try to return 24 characters or more the whole string is returned. You can try with a range @abc[0...24] the result is the same.

Can someone try this to check if it's only on my side ?
I was doing a window showing a message letter by letter, but when my index reach 24 the whole line is displayed at once :(