0 votes

I know about: https://godotengine.org/qa/5624/type-character-from-ascii-code?show=5624#q5624

But I can't seem to use RawArray

The method "RawArray" isn't declared in the current class.

So I assume that's for an older version of Godot (it was answered in 2016 after all).

I'm just starting out and want to make a simple Blackjack game as an exercise. I need to input the heart, club etc.. symbols on a make shift card - dynamically because I obviously only want one Card.tscn.

I want to instance the Card (trying out extends RichTextLabel first) and pass in its value. How do you suggest I pass in the ascii or unicode value at time of new Card creation?

e.g. unicode values:
https://en.wikipedia.org/wiki/Playing_cards_in_Unicode

in Engine by (35 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.