Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Click Box

9 years ago

I've seen some members have a cool little picture in their profile, that if clicked changes the quote on top. Seems pretty advanced but can somebody help me with creating one?

Click Box

9 years ago

@BradinDvorak

Click Box

9 years ago

XD

Click Box

9 years ago

Are you sure, Mason? You're gonna have to delve into JavaScript.

Click Box

9 years ago

Nooooo! (Sigh), baby steps, Mason, baby steps.

Click Box

9 years ago
Explain to ME what JavaScript is and all that.

Its so fun to do the simple things with scripts and variables, xD
Would be great to learn more from your all mighty scripting master book that is your brain!

Click Box

9 years ago

Uh, does this JSFiddle suffice?

https://jsfiddle.net/yc67n7hb/2/

JavaScript is the programming portion of the trinity of web design languages, btw, alongside HTML (the structure), and CSS (the aesthetic). W3Schools offers a tutorial, though it's kinda better more as a reference.

Click Box

9 years ago

What are the basics of creating a click box?

Click Box

9 years ago

Lol, the fiddle is the basics.

In HTML, you make an element to contain the quotes; in JavaScript, you create an array to hold the quotes, make a function that selects a random entry from the array and inserts it into said element, and set an image to execute said function when clicked.

Click Box

9 years ago

0_0

Click Box

9 years ago
Did you expect it to be easy or something?

Click Box

9 years ago

Hell no.

Click Box

9 years ago
To be fair, "In HTML, you make an element to contain the quotes; in JavaScript, you create an array to hold the quotes, make a function that selects a random entry from the array and inserts it into said element, and set an image to execute said function when clicked."
Is a pretty good explanation. Even if some of the terminology is stuff I am not familiar with. xD

So here's my take on it.
- Element = what you see
- Array = what you might see
- Function = Script! Takes random array and puts into element.

Then there is an image you click that triggers function.

What I don't understand is where I insert these things, or what I actually insert.
I should follow that link...

Also, does Java/HTML/etc all work in storygames?

P.S.Edit. Can I put this on my profile, named "The Dragons Secret"?

Click Box

9 years ago

Yeah; HTML, JavaScript, and CSS are all fair game in the storygame editor.

P.S. Lol sure.

Click Box

9 years ago
Woo!

EDIT - How to activate the Trinity Editor?

And in your expert opinion, is it possible to (with heaps and heaps of work)
recreate actual video games in the storygame editor? xD

Cause it looks like it would be, to me anyway.

Click Box

9 years ago

Possible, but not at all practical.