Author Topic: Suggestion: Proper Scripting Engine  (Read 5547 times)

ThePaSch

  • Doctor
  • ***
  • Posts: 79
  • I do programming, video compositing and music.
    • View Profile
Suggestion: Proper Scripting Engine
« on: September 16, 2011, 12:25:38 am »
Hi there,
the level editor feature in VVVVVV is, no doubt, really great. However, there's one thing that has been annoying me for quite some while now, and it's the current way of implementing scripts into a level.
To be honest; it's a mess. While, momentarily, it's easily enough to pull some fun tricks with the editor, I can't stop to think about how a "proper" scripting engine would improve both usability and flexibility of scripting.
Take Amnesia: The Dark Descent for an example. They use the AngelScript library for level scripting, and it's darn mighty. You can basically pull everything off in a custom story what the main developers pulled off in the main game, and even more. There's a fair deal of predefined functions which you can use, and combining them to try stuff out is pretty fun.

But of course I'm not suggesting to switch to AngelScript. The current VVVVVV scripting would also be just fine, if we were able to use loops, conditional statements (if-then-else), switches and variables. That would add a huge load of flexibility and functionality to scripting and experienced scripters would be able to do so much more while "regular" scripters could still choose to use the old syntax - it's a win-win situation. It would also turn creating one-time-scripts into a trivial task.

I don't know what's planned for the future regarding scripting, but just these changes I mentioned would make me the most happy level creator in the uniVVVVVVerse.  ;D

EDIT: Oh, and instead of having to place special entities to create a script, a simple button to do so would save the hassle of creating such an entity, filling the script with commands, then deleting it again. It'd also be nice to have an "OnStart" function predefined so we can make stuff happen the moment the level starts without having to place a script area around the player spawn.
« Last Edit: September 16, 2011, 12:33:16 am by ThePaSch »

Terry

  • Administrator
  • Captain
  • *****
  • Posts: 608
    • View Profile
    • distractionware
Re: Suggestion: Proper Scripting Engine
« Reply #1 on: September 16, 2011, 12:41:25 am »
I actually want to do something like this. No promises, though, and it might not be for a while...

ThePaSch

  • Doctor
  • ***
  • Posts: 79
  • I do programming, video compositing and music.
    • View Profile
Re: Suggestion: Proper Scripting Engine
« Reply #2 on: September 16, 2011, 12:47:16 am »
Well, that sounds decent!

But may I suggest something smaller: A checkbox/method you can check/call to automatically make a script run once only. It's a hassle having to create two scripts each time I want something to happen without linking it to a terminal. It would also remove the 99 flag limitation.

Terry

  • Administrator
  • Captain
  • *****
  • Posts: 608
    • View Profile
    • distractionware
Re: Suggestion: Proper Scripting Engine
« Reply #3 on: September 16, 2011, 12:53:33 am »
Yep, one shot scripts are also on my list for 2.2 :)

xTwoTails

  • Professor
  • ****
  • Posts: 134
  • Furry eSper
    • View Profile
Re: Suggestion: Proper Scripting Engine
« Reply #4 on: September 16, 2011, 01:05:21 am »
Easy Scripting for 2.2?
AWESOME!

PJBottomz

  • Captain
  • *****
  • Posts: 700
  • Chibi Toast. It kicks your ass for miles.
    • View Profile
    • PJBottomz First Homepage
Re: Suggestion: Proper Scripting Engine
« Reply #5 on: September 16, 2011, 01:09:35 am »
Let's not forget the important stuff - properly alligned gravity lines, colored text boxes, crew mood changing, lazers, custom enemies, etc.

xTwoTails

  • Professor
  • ****
  • Posts: 134
  • Furry eSper
    • View Profile
Re: Suggestion: Proper Scripting Engine
« Reply #6 on: September 16, 2011, 02:44:26 am »
M-maybe.... play as other crew members? owo

" The Chronicles of V: Green Verdigris "

I know... I'm asking too much... :<

ThePaSch

  • Doctor
  • ***
  • Posts: 79
  • I do programming, video compositing and music.
    • View Profile
Re: Suggestion: Proper Scripting Engine
« Reply #7 on: September 16, 2011, 06:28:12 am »
Let's not forget the important stuff - properly alligned gravity lines, colored text boxes, crew mood changing, lazers, custom enemies, etc.

That has been suggested more than enough times already. There's no need to mention that again and again.

PJBottomz

  • Captain
  • *****
  • Posts: 700
  • Chibi Toast. It kicks your ass for miles.
    • View Profile
    • PJBottomz First Homepage
Re: Suggestion: Proper Scripting Engine
« Reply #8 on: September 16, 2011, 08:18:47 pm »
I feel it deserves mentioning. :( I sowwy.

CUTE PUPPY EYES, ATTACK!

ThePaSch

  • Doctor
  • ***
  • Posts: 79
  • I do programming, video compositing and music.
    • View Profile
Re: Suggestion: Proper Scripting Engine
« Reply #9 on: September 16, 2011, 08:56:02 pm »
I feel it deserves mentioning. :( I sowwy.
CUTE PUPPY EYES, ATTACK!

No... pu... ppy... eyes... can... not... re... sist...
WAAAAAH I'M SORRY I DIDN'T MEAN TO OHMYGODOHMYGOD.

PJBottomz

  • Captain
  • *****
  • Posts: 700
  • Chibi Toast. It kicks your ass for miles.
    • View Profile
    • PJBottomz First Homepage
Re: Suggestion: Proper Scripting Engine
« Reply #10 on: September 16, 2011, 09:10:46 pm »
It's okay, you're forgiven. XD

NOW ATTACK AGAIN, PUPPY EYES!

robloxfan1999

  • Doctor
  • ***
  • Posts: 97
  • Distractionware, Y U NO allow signatures?
    • View Profile
    • Youtube
Re: Suggestion: Proper Scripting Engine
« Reply #11 on: September 16, 2011, 10:14:59 pm »
Can't anyone help but notice that Terry has (ERROR 404) Posts there?

PJBottomz

  • Captain
  • *****
  • Posts: 700
  • Chibi Toast. It kicks your ass for miles.
    • View Profile
    • PJBottomz First Homepage
Re: Suggestion: Proper Scripting Engine
« Reply #12 on: September 16, 2011, 11:59:08 pm »
Wat? :o