Darthatron
巨大なトロール。
- 1,152
- Posts
- 19
- Years
- Age 33
- Melbourne, Australia
- Seen Feb 3, 2015
Basically, I'm coding a new script editor for the 3rd Gen, and I want to get some ideas on what people will be expecting syntax wise. I've got two ideas...
PokéScript style:
C-style:
You may also have also noticed the "in-line" strings and movements. These will basically allow you to have small movements/text in the same line, which would stop the need to scroll a lot. I think this would make life a little easier in long scripts. Plus, I think it looks nicer as well.
Also, are the colors pretty?
Opinions? Ideas for the editor? Or to better improve the syntax? Thanks.
Regards, Darthatron.
PokéScript style:
Spoiler:
#org @Main
Lock
FacePlayer
ApplyMovement MOVE_PLAYER {(0x10 0x10 0xFF)} //This is an in-line movement.
WaitMovement #0
MsgBox {"This is an in-line string!"} #6
ApplyMovement MOVE_PLAYER @Movement
WaitMovement #0
MsgBox @String #6
Release
End
#text @String
= This is a pointed string.
#raw @Movement //This is a pointed movement.
0x11 0x11 0xFF
Lock
FacePlayer
ApplyMovement MOVE_PLAYER {(0x10 0x10 0xFF)} //This is an in-line movement.
WaitMovement #0
MsgBox {"This is an in-line string!"} #6
ApplyMovement MOVE_PLAYER @Movement
WaitMovement #0
MsgBox @String #6
Release
End
#text @String
= This is a pointed string.
#raw @Movement //This is a pointed movement.
0x11 0x11 0xFF
C-style:
Spoiler:
#org @Main
Lock; FacePlayer;
ApplyMovement(MOVE_PLAYER, {(0x10 0x10 0xFF)}); //This is an in-line movement.
WaitMovement();
MsgBox({"This is an in-line string!"}, #6);
ApplyMovement(MOVE_PLAYER, @Movement);
WaitMovement();
MsgBox(@String, #6);
Release; End;
#text @String
= This is a pointed string.
#raw @Movement //This is a pointed movement.
0x11 0x11 0xFF
Lock; FacePlayer;
ApplyMovement(MOVE_PLAYER, {(0x10 0x10 0xFF)}); //This is an in-line movement.
WaitMovement();
MsgBox({"This is an in-line string!"}, #6);
ApplyMovement(MOVE_PLAYER, @Movement);
WaitMovement();
MsgBox(@String, #6);
Release; End;
#text @String
= This is a pointed string.
#raw @Movement //This is a pointed movement.
0x11 0x11 0xFF
You may also have also noticed the "in-line" strings and movements. These will basically allow you to have small movements/text in the same line, which would stop the need to scroll a lot. I think this would make life a little easier in long scripts. Plus, I think it looks nicer as well.
Also, are the colors pretty?
Opinions? Ideas for the editor? Or to better improve the syntax? Thanks.
Regards, Darthatron.