Author Topic: Simplified Scripting vs Internal Scripting?  (Read 1105 times)

Redroboguy

  • Crewmate
  • *
  • Posts: 2
    • View Profile
Simplified Scripting vs Internal Scripting?
« on: December 21, 2017, 12:57:40 PM »
 :viridian: :victoria: :vermillion: :vitellary: :verdigris: :violet:

Can anybody please explain the difference between simplified scripting and internal scripting and provide some basic examples of each?

I'm working on a level that ha terminals!

-Redroboguy

AllyTally ♡

  • Captain
  • *****
  • Posts: 1388
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Simplified Scripting vs Internal Scripting?
« Reply #1 on: December 21, 2017, 01:33:20 PM »
Simplified scripting:
say(blue)
hello
reply(1)
oh hey

There's really nothing you can actually do in it.

Internal scripting is actually the main game's scripting, and we can use it due to a bug.
It lets you do almost anything the main game can do.

Xdroid19

  • Crewmate
  • *
  • Posts: 14
  • I am a gumball in the jaws of death
    • View Profile
Re: Simplified Scripting vs Internal Scripting?
« Reply #2 on: December 22, 2017, 02:09:31 PM »
 :victoria: :victoria: :victoria: :victoria:

Peridot

  • Doctor
  • ***
  • Posts: 57
    • View Profile
topkek
« Reply #3 on: December 22, 2017, 03:54:46 PM »
Quote
:victoria: :victoria: :victoria: :victoria:

More random than Pattoo's threads. 10/10

:viridian: :viridian: :viridian: :viridian: :viridian: :viridian: :viridian: :viridian:

Xdroid19

  • Crewmate
  • *
  • Posts: 14
  • I am a gumball in the jaws of death
    • View Profile
Re: Simplified Scripting vs Internal Scripting?
« Reply #4 on: December 23, 2017, 08:26:39 AM »
...what?

Duckman50001

  • Doctor
  • ***
  • Posts: 41
  • Personal Text
    • View Profile
Re: Simplified Scripting vs Internal Scripting?
« Reply #5 on: January 06, 2018, 04:33:16 AM »
Simplified:

Pros
-Easy to learn
-Great for beginners

Cons
-Can do nothing compared to Internal

Internal:

Pros
-Can do everything that simplified can do + more
-Most commands have more customization than the ones in SS

Cons
-Hard to learn
-Prone to Bugs
-Easy to forget commands

I will use the "flash" command as an example

SS:
flash --Flash the screen for 5 frames, shake the screen for 5 frames & play sound effect 9

IS:
(Completely customizable)

flash(x) --Flash for x frames
shake(x) --Shake for x frames
playef(x) --Play sound effect x

here is a replica of the SS one:
flash(5)
shake(20)
playef(9)

I still use IS since there is SO much more that you can do than in SS

(And yes, I'm back)
« Last Edit: January 06, 2018, 04:34:53 AM by Duckman50001 »

SteveGamer68

  • Professor
  • ****
  • Posts: 182
  • Locked and Loaded.
    • View Profile
    • The open level project 2 forum
Re: Simplified Scripting vs Internal Scripting?
« Reply #6 on: January 06, 2018, 05:48:28 AM »
Internal is better but recommended Simplified for beginners.
Simplified version:
reply
Hi!
Internal version:
squeak(cyan)
text(1,x,y,cyan)
Hi!
speak_active
...
And not including the other parts required.So that means the full code is longer:
script1:
iftrinkets(0,internalscript)
internalscript:
say(4) (5) in some cases
squeak(cyan)
text(1,x,y,cyan)
position(center)
Hi!
speak_active
text(1,0,0,4)
say(2)
endtext
loadscript(stop)
text(1,0,0,4)

It's more complex and sometimes, it may not work!
For the position(center), it can be omitted as long as the x,y in text(1,x,y,cyan) is at the right position.

AllyTally ♡

  • Captain
  • *****
  • Posts: 1388
  • Hiii!~ <3
    • View Profile
    • Invision
Re: Simplified Scripting vs Internal Scripting?
« Reply #7 on: January 06, 2018, 06:30:05 AM »
It's more complex and sometimes, it may not work!
That's exactly like saying

say(Hello! I'm Viridian!!)

"Huh, why isn't my script working?"
"Must be a bug in the game!"

Internal scripting doesn't make the mistake, you do.

TheMediocreToOkayGatsby

  • Crewmate
  • **
  • Posts: 26
    • View Profile
Re: Simplified Scripting vs Internal Scripting?
« Reply #8 on: January 07, 2018, 09:09:15 AM »
"Internal scripting doesn't make the mistake, you do."
I love that quote. I really, really love that quote.