[thyme/scripting] we need this!

Suggest changes and improvements to Algodoo.

[thyme/scripting] we need this!

Postby pixartist » Sun Sep 06, 2009 11:44 pm

since images can only be 512 px wide i had to make a thumbnail -.-
anyway, heres the link to the real image:

http://www.n00bie.de/pics/algodooscrips.jpg

Image
Image
pixartist
 
Posts: 65
Joined: Wed Sep 02, 2009 5:30 pm

Re: [thyme/scripting] we need this!

Postby Chronos » Sun Sep 06, 2009 11:47 pm

i agree :D
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: [thyme/scripting] we need this!

Postby Versieon » Sun Sep 06, 2009 11:49 pm

Totaly, and a scroll bar on both so you don't run out of room.
User avatar
Versieon
 
Posts: 375
Joined: Tue Sep 01, 2009 4:45 pm

Re: [thyme/scripting] we need this!

Postby Frank » Mon Sep 07, 2009 12:14 am

This has been suggested before on the old forum, and I wholly supported it there. As community members continually gain skill at scripting and objects gain more and more variables, more and more often we are running out of room in the various script boxes. That second window idea would probably be a quick fix, but it really needs a scroll bar.
Made some cool stuff a long time ago
User avatar
Frank
[Best Tutorial Maker 2010]
 
Posts: 193
Joined: Mon Aug 31, 2009 6:37 pm
Location: the dark side of the moon

Re: [thyme/scripting] we need this!

Postby RicH » Mon Sep 07, 2009 4:20 am

So, why didn't you just cut out the portion of the image where it shows your suggestion? And don't answer with "I am lazy" or anything like that.
Millions of voices suddenly cried out in terror, and were suddenly silenced. Something terrible has happened.
User avatar
RicH
[Funniest Person 2010]
 
Posts: 2043
Joined: Tue Sep 01, 2009 9:01 am

Re: [thyme/scripting] we need this!

Postby gradyfitz » Mon Sep 07, 2009 12:15 pm

I think that I wouldn't use this, I think it's better to just use a program like notepad :D, if you need to use comments, place them in the description of the code :D.

Though, it could be useful in some situations :D, I think this is just convenience, and not really important :).

Also, why are only the functions editable, I frequently make dynamic variables that are far larger than any collision argument taking functions. :D.
Mechanisms: 18 Mechanisms.
Thyme: Tutorial - Variables/Commands List.
Thymechanic
gradyfitz
 
Posts: 174
Joined: Tue Sep 01, 2009 8:33 am
Location: Victoria, Australia

Re: [thyme/scripting] we need this!

Postby pixartist » Mon Sep 07, 2009 12:30 pm

gradyfitz wrote:I think that I wouldn't use this, I think it's better to just use a program like notepad :D, if you need to use comments, place them in the description of the code :D.

Though, it could be useful in some situations :D, I think this is just convenience, and not really important :).

Also, why are only the functions editable, I frequently make dynamic variables that are far larger than any collision argument taking functions. :D.


there are no user-created static variables in thyme. I also did not rule out a window for custom variables did I? Also you are contradicting yourself by first stating that you'd rather use notpad (which is itself ridiculous - why use notpad when you have a perfectly fine editor ingame?) and in the next line you demand an ingame-editor for your variables...

why disagree with my suggestion when you can't even name 1 argument? :roll:

edit: also @ RicH ... I did exactly that. If you look closely, I replaced the old scripting lines with edit buttons..
Image
pixartist
 
Posts: 65
Joined: Wed Sep 02, 2009 5:30 pm

Re: [thyme/scripting] we need this!

Postby gradyfitz » Mon Sep 07, 2009 1:54 pm

pixartist wrote:
gradyfitz wrote:I think that I wouldn't use this, I think it's better to just use a program like notepad :D, if you need to use comments, place them in the description of the code :D.

Though, it could be useful in some situations :D, I think this is just convenience, and not really important :).

Also, why are only the functions editable, I frequently make dynamic variables that are far larger than any collision argument taking functions. :D.


there are no user-created static variables in thyme. I also did not rule out a window for custom variables did I? Also you are contradicting yourself by first stating that you'd rather use notpad (which is itself ridiculous - why use notpad when you have a perfectly fine editor ingame?) and in the next line you demand an ingame-editor for your variables...

Ok, sorry if I wasn't clear in my post, in the picture, it doesn't have "Edit" for all the variables, so I assumed those didn't have the same settings as the rest of the local variables. Also, dynamic variables are variables that change according to other variables :D.

My intention wasn't to demand it, I was just stating what I thought may have been good about the suggestion (there are VERY, VERY few situations where there is a purely one sided view, like for example, say we want to upgrade the roads, because 1 person was hurt a bit, but the road will cost hundreds of billions of dollars, and the road is used by about 10 people a year, then there are benefits, and also cons, and the majority of people would choose to not upgrade the road, but, this would be very very close to one sided, but, there is still a benefit to using the system, this suggestion isn't too bad, I just don't think we need it).

I still think that using notepad or something like that is much better, and easier, it's what I do (and I write codes that are tens of thousands of characters long (27,319 characters for a Work in Progress :)), so, I have a bit of a knowledge of what works for me :)).


pixartist wrote:why disagree with my suggestion when you can't even name 1 argument? :roll:

Ok, I'll give a few points:

Against:
  • You wouldn't be able to see the values just by looking at the script menu.
  • Clutters up the script menu.
  • Thyme isn't a top priority :).
  • Doesn't fit in with the rest of the GUI.
  • Notepad works perfectly.
  • Too many levels isn't necessarily good for layout.
  • Comments wont be kept in a save (comments are ignored in the current model of thyme).
  • May make a lot of difficulties in working out the syntax so that the code isn't ruined when saved.

For:
  • Possibly more convenient than opening notepad.
  • Multi-line (though, this doesn't necessarily require this suggestion).

Notepad takes me a few seconds to open, so, it could be even quicker to open notepad than to open the script menu then open the edit menu.

Overall, I don't think we need this :D.
Mechanisms: 18 Mechanisms.
Thyme: Tutorial - Variables/Commands List.
Thymechanic
gradyfitz
 
Posts: 174
Joined: Tue Sep 01, 2009 8:33 am
Location: Victoria, Australia

Re: [thyme/scripting] we need this!

Postby pixartist » Mon Sep 07, 2009 6:22 pm

how would you add multiline support without a new window ? put a 3 line mini-textedit in there and let it have a little scrollbar? come on....

also... if you're actually a professional programmer writing thousands of lines of code... and manage all that in microsofts wordpad - then i wouldn't wanna have you as an employee, your productivity has to be pretty poor
Image
pixartist
 
Posts: 65
Joined: Wed Sep 02, 2009 5:30 pm

Re: [thyme/scripting] we need this!

Postby totodog » Mon Sep 07, 2009 6:37 pm

Why not. I'd love to see something like this.
Image
Image
totodog
 
Posts: 12
Joined: Sat Sep 05, 2009 8:05 pm

Re: [thyme/scripting] we need this!

Postby electronicboy » Tue Sep 08, 2009 9:05 am

i would to like this adding.
it is better that the box in the script menu and can allow having one piece of code on one line and another bit on the next will make it easier for debugging!
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: [thyme/scripting] we need this!

Postby Mystery » Tue Sep 08, 2009 10:19 am

*epic support*
This is the best suggestion ever!
This is so convenient i can't see why any one wouldn't want this.

Having users actually have to use an external program to the simplest of tasks isn't very professional it would be like MS word making you have to re-size pictures with MS paint.
User avatar
Mystery
 
Posts: 2802
Joined: Thu Sep 03, 2009 1:16 pm
Location: Southern Australia

Re: [thyme/scripting] we need this!

Postby gradyfitz » Tue Sep 08, 2009 11:16 am

pixartist wrote:how would you add multiline support without a new window ? put a 3 line mini-textedit in there and let it have a little scrollbar? come on....

I meant for copy & paste :D.

pixartist wrote:also... if you're actually a professional programmer writing thousands of lines of code... and manage all that in microsofts wordpad - then i wouldn't wanna have you as an employee, your productivity has to be pretty poor

How does not using a program like notepad (not wordpad :D, it's much quicker to open notepad), benefit the speed you work (when compared with another input that doesn't automatically contribute code)? I wrote those codes in about half an hour :D, I think my productivity is pretty good. I actually use Notepad++ (though, the main difference is a faster file load time and tabbed file loading, not much of the other features I use). What program would you suggest would increase productivity?

Also, an in-game modification window would be affected by scenes which use hundreds of dynamic textures (like movies), which would slow me down...
Mechanisms: 18 Mechanisms.
Thyme: Tutorial - Variables/Commands List.
Thymechanic
gradyfitz
 
Posts: 174
Joined: Tue Sep 01, 2009 8:33 am
Location: Victoria, Australia

Re: [thyme/scripting] we need this!

Postby pixartist » Tue Sep 08, 2009 1:13 pm

gradyfitz wrote:
pixartist wrote:how would you add multiline support without a new window ? put a 3 line mini-textedit in there and let it have a little scrollbar? come on....

I meant for copy & paste :D.

pixartist wrote:also... if you're actually a professional programmer writing thousands of lines of code... and manage all that in microsofts wordpad - then i wouldn't wanna have you as an employee, your productivity has to be pretty poor

How does not using a program like notepad (not wordpad :D, it's much quicker to open notepad), benefit the speed you work (when compared with another input that doesn't automatically contribute code)? I wrote those codes in about half an hour :D, I think my productivity is pretty good. I actually use Notepad++ (though, the main difference is a faster file load time and tabbed file loading, not much of the other features I use). What program would you suggest would increase productivity?

Also, an in-game modification window would be affected by scenes which use hundreds of dynamic textures (like movies), which would slow me down...


you are talking about thyme code? you tell me you are writing thousands of lines of THYME? Oo

i thought you were talkin about another language, which would make using notepad .. well ... not that useful, since most languages have better IDE's or at least language files for scite etc.
Writing with a good IDE is of course several times more productive than notepad because of debugging, code completion, file management etc.
Image
pixartist
 
Posts: 65
Joined: Wed Sep 02, 2009 5:30 pm

Re: [thyme/scripting] we need this!

Postby gradyfitz » Tue Sep 08, 2009 2:46 pm

pixartist wrote:
gradyfitz wrote:
pixartist wrote:how would you add multiline support without a new window ? put a 3 line mini-textedit in there and let it have a little scrollbar? come on....

I meant for copy & paste :D.

pixartist wrote:also... if you're actually a professional programmer writing thousands of lines of code... and manage all that in microsofts wordpad - then i wouldn't wanna have you as an employee, your productivity has to be pretty poor

How does not using a program like notepad (not wordpad :D, it's much quicker to open notepad), benefit the speed you work (when compared with another input that doesn't automatically contribute code)? I wrote those codes in about half an hour :D, I think my productivity is pretty good. I actually use Notepad++ (though, the main difference is a faster file load time and tabbed file loading, not much of the other features I use). What program would you suggest would increase productivity?

Also, an in-game modification window would be affected by scenes which use hundreds of dynamic textures (like movies), which would slow me down...


you are talking about thyme code? you tell me you are writing thousands of lines of THYME? Oo

i thought you were talkin about another language, which would make using notepad .. well ... not that useful, since most languages have better IDE's or at least language files for scite etc.
Writing with a good IDE is of course several times more productive than notepad because of debugging, code completion, file management etc.


Ah ok, fair enough.

I said tens of thousands of characters, not lines (just so you know) :D, my biggest number of lines was only 963 lines (though, if I finished the code, I'd probably be able to get up to a couple of tens of thousands of lines :D(though, that's for beta 5+, I had a 7428 line code with 311k characters in beta 4)).

I write a lot of codes, and I combine mechanics and thyme most days (I think 'thymechanics' are something I use quite a lot) :D, which is why people frequently rely on me for thyme systems that lie outside the normal situations (or lie within the more complicated area).
Mechanisms: 18 Mechanisms.
Thyme: Tutorial - Variables/Commands List.
Thymechanic
gradyfitz
 
Posts: 174
Joined: Tue Sep 01, 2009 8:33 am
Location: Victoria, Australia

Re: [thyme/scripting] we need this!

Postby KarateBrot » Sat Sep 12, 2009 10:22 am

oh yeah i support it, too
it's an awesome idea!
Image
User avatar
KarateBrot
 
Posts: 825
Joined: Mon Aug 31, 2009 7:32 pm
Location: Germany

Re: [thyme/scripting] we need this!

Postby probber » Wed Sep 16, 2009 2:19 pm

yep great! *haben will*
probber
 
Posts: 5
Joined: Tue Sep 15, 2009 9:12 pm
Location: Germany

Re: [thyme/scripting] we need this!

Postby Jelmerholland » Sun Sep 20, 2009 11:05 am

I just wanted to make this suggestion, but then i read your thing. I completely agree, i hate it that you can't oversee your scripts. :(

This would be awesome.

If they aren't gonna make this, someone has to make a mod for this. :clap:
User avatar
Jelmerholland
 
Posts: 61
Joined: Mon Aug 31, 2009 7:51 pm
Location: NL

Re: [thyme/scripting] we need this!

Postby Rhett97 » Mon Sep 21, 2009 4:04 pm

i think this is so far the best thyme related suggestion.
Chronos wrote:There's nothing wrong with swearing. They're just words. People just think they have a bad meaning. What's the difference between shit and poo? Nothing. They're the same.
User avatar
Rhett97
 
Posts: 522
Joined: Mon Aug 31, 2009 10:32 pm

Re: [thyme/scripting] we need this!

Postby probber » Fri Jan 08, 2010 4:36 pm

so whats about this nice thingy script-box-window......wanna have it :clap:
probber
 
Posts: 5
Joined: Tue Sep 15, 2009 9:12 pm
Location: Germany

Re: [thyme/scripting] we need this!

Postby blahblah200 » Sat Jan 09, 2010 3:40 pm

How about instead of there just being an edit button in the spaces, but how about the edit button to the side of it so you can preview the code the normal way, but have the option to do it Pixartist's way if you have a lot of code to write.
E.g. this - Image

Full-size image here

Btw - I SUPPORT!!!
Image<-- Made with GIMP
User avatar
blahblah200
 
Posts: 61
Joined: Tue Sep 01, 2009 11:33 am
Location: Somewhere over the rainbow...

Re: [thyme/scripting] we need this!

Postby izacque » Sat Jan 16, 2010 8:04 pm

Support :thumbup:
[/post]
Paradigm 29 wrote:I've been trying to figure out why people even buy hummers ever since I found out that they don't have machine guns.
User avatar
izacque
 
Posts: 483
Joined: Mon Sep 14, 2009 11:14 am

Re: [thyme/scripting] we need this!

Postby Rideg » Sun Jan 17, 2010 2:13 pm

Supporting to the MAX! It's really frustrating with spawning Polygons with all the surface info, and not have enough room. And make a scroll bar! Couldn't get better! I'm in this 110% :thumbup: :clap:
Image
make sure to check out my work.
User avatar
Rideg
 
Posts: 948
Joined: Tue Dec 15, 2009 5:17 pm
Location: Östersund, Sweden

Re: [thyme/scripting] we need this!

Postby Rideg » Fri Jan 22, 2010 7:26 pm

to save room, How a about a "wrapping method"?

You may have encountered this in visual studio

For you guys that don't know about the wrapping method,it works something like this: Lets say you have a script
Code: Select all
OnCollide = (e)=>{
Scene.addBox ({
color := [0.39, 0.383, 0.0, 1.0];   opaqueBorders := false;   drawBorder := false;
entityID := 26195;   zDepth := 23.0;   geomID := 8623917;   angle := e.normal;
body := 8662457;   pos:=scene.my.apos2;    size := [0.03125, 0.21875]})}
and you want it "wrapped in a package" you put something like
Code: Select all
(e)=>{ (wrap) Scene.addBox ({
color := [0.39, 0.383, 0.0, 1.0];   opaqueBorders := false;   drawBorder := false;
entityID := 26195;   zDepth := 23.0;   geomID := 8623917;   angle := e.normal;
body := 8662457;   pos:=scene.my.apos2;    size := [0.03125, 0.21875]}); (wrap) = NameOfYourWrap}
It would look something like this
Code: Select all
OnCollide = (e)=>{(NameOfYourWrap)}
so when you click on the wrap name, it will unwrap itself and reveal the script code. :lol:
Image
make sure to check out my work.
User avatar
Rideg
 
Posts: 948
Joined: Tue Dec 15, 2009 5:17 pm
Location: Östersund, Sweden

Re: [thyme/scripting] we need this!

Postby RA2lover » Sat Jan 23, 2010 9:40 am

you can still do it using scene.my variables...
Jrv wrote:
TC42 wrote:Quite honestly, I didn't think anyone on 4chan has that good a use of grammar, spelling, usage, mechanics, ect.
But I've never been there, so I may be wrong.


GTFO newfgt
User avatar
RA2lover
 
Posts: 607
Joined: Mon Aug 31, 2009 8:43 pm
Location: Brazil

Next

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 2 guests