Jump to content

noemen

Members
  • Posts

    113
  • Joined

  • Last visited

Everything posted by noemen

  1. @Scott Burns I accept lol
  2. I was unmotivated at the time, as I didn't have much support. Pure ignorance of mine, that is, I did not know how to deal with the lack of motivation.
  3. I've been using Torque3D for many years and what kept me working on it was the ease of creating a game. But when I entered the site for the first time, I didn't feel comfortable ... but what made me move on: Life is Feudal and BeamNG Driver was created there. I believe that attracting more developers will make Torque3D grow. The site is the face of Torque3D, if nobody likes the face, how can they risk knowing it from the inside? I say that, because it took me a long time to know that Torque3D is incredible. And another ... I already created a project to improve the look of the site, but I was prevented ... I see the potential of this community and I love you because it was here that I was able to escape my daily life.
  4. I want to share my new workspace. If you're like me (have a weak pc lol) and use the Windows Classic theme: this is the theme I use "https://github.com/tpenguinltg/windows-solarized" In notepad ++ I use the solarize theme along with this syntax I created: Save this script to an XML file named TorqueScript-syntax-solarized-color. <NotepadPlus> <UserLang name="TorqueScript" ext="cs gui mis" udlVersion="2.1"> <Settings> <Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" /> <Prefix Keywords1="yes" Keywords2="yes" Keywords3="yes" Keywords4="yes" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" /> </Settings> <KeywordLists> <Keywords name="Comments">00// 01 02 03/* 04*/</Keywords> <Keywords name="Numbers, prefix1"></Keywords> <Keywords name="Numbers, prefix2"></Keywords> <Keywords name="Numbers, extras1"></Keywords> <Keywords name="Numbers, extras2"></Keywords> <Keywords name="Numbers, suffix1">;</Keywords> <Keywords name="Numbers, suffix2"></Keywords> <Keywords name="Numbers, range"></Keywords> <Keywords name="Operators1">-!& ()*,?[ \ ] |+<=>~</Keywords> <Keywords name="Operators2">op= </Keywords> <Keywords name="Folders in code1, open">{</Keywords> <Keywords name="Folders in code1, middle"></Keywords> <Keywords name="Folders in code1, close">} };</Keywords> <Keywords name="Folders in code2, open"></Keywords> <Keywords name="Folders in code2, middle"></Keywords> <Keywords name="Folders in code2, close"></Keywords> <Keywords name="Folders in comment, open"></Keywords> <Keywords name="Folders in comment, middle"></Keywords> <Keywords name="Folders in comment, close"></Keywords> <Keywords name="Keywords1">datablock function package new if else for while switch$ switch : case singleton default: %this true false --> return</Keywords> <Keywords name="Keywords2">SPC @ NL TAB</Keywords> <Keywords name="Keywords3">$</Keywords> <Keywords name="Keywords4">%</Keywords> <Keywords name="Keywords5"></Keywords> <Keywords name="Keywords6"></Keywords> <Keywords name="Keywords7"></Keywords> <Keywords name="Keywords8"></Keywords> <Keywords name="Delimiters">00" 01 02" 03' 04 05' 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords> </KeywordLists> <Styles> <WordsStyle name="DEFAULT" fgColor="839496" bgColor="1E1E1E" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="COMMENTS" fgColor="586E75" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="LINE COMMENTS" fgColor="586E75" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="NUMBERS" fgColor="B5CEA8" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS1" fgColor="859900" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS2" fgColor="DC322F" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS3" fgColor="CB4B16" bgColor="1E1E1E" fontName="earchEditBox" fontStyle="1" nesting="0" /> <WordsStyle name="KEYWORDS4" fgColor="B58900" bgColor="1E1E1E" fontName="ecent Pages" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="OPERATORS" fgColor="839496" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="FOLDER IN CODE1" fgColor="839496" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS1" fgColor="268BD2" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="1" /> <WordsStyle name="DELIMITERS2" fgColor="268BD2" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="1" /> <WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" /> </Styles> </UserLang> </NotepadPlus> To install, go to Language> User Defined Language> Defined your Language> Import: TorqueScript-syntax-solarized-color.xml Obs: When changing the theme of notepad ++ I recommend leaving it the same as mine:
  5. @bsisko Thank you very much. Whenever possible I will share some resource.
  6. Copy the code below, paste it into a text file and then save that file with the extension ".xml". Example: TorqueScript-notepad-pp.xml Then open NotePad++ and Language -> User Defined Language -> Open the User Defined Language folder ... select the XML you created. The theme used is DansLeRuSH-Dark. Suggestions and improvements are welcome. <NotepadPlus> <UserLang name="TorqueScript" ext="cs gui mis" udlVersion="2.1"> <Settings> <Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" /> <Prefix Keywords1="yes" Keywords2="yes" Keywords3="yes" Keywords4="yes" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" /> </Settings> <KeywordLists> <Keywords name="Comments">00// 01 02 03/* 04*/</Keywords> <Keywords name="Numbers, prefix1"></Keywords> <Keywords name="Numbers, prefix2"></Keywords> <Keywords name="Numbers, extras1"></Keywords> <Keywords name="Numbers, extras2"></Keywords> <Keywords name="Numbers, suffix1">;</Keywords> <Keywords name="Numbers, suffix2"></Keywords> <Keywords name="Numbers, range"></Keywords> <Keywords name="Operators1">- ! & ( ) * , ? [ \ ] | + < = >~</Keywords> <Keywords name="Operators2">op=</Keywords> <Keywords name="Folders in code1, open">{</Keywords> <Keywords name="Folders in code1, middle"></Keywords> <Keywords name="Folders in code1, close">} };</Keywords> <Keywords name="Folders in code2, open"></Keywords> <Keywords name="Folders in code2, middle"></Keywords> <Keywords name="Folders in code2, close"></Keywords> <Keywords name="Folders in comment, open"></Keywords> <Keywords name="Folders in comment, middle"></Keywords> <Keywords name="Folders in comment, close"></Keywords> <Keywords name="Keywords1">datablock function package new = if else for while switch$ switch : case singleton default: %this true false</Keywords> <Keywords name="Keywords2">SPC @ NL TAB</Keywords> <Keywords name="Keywords3">$</Keywords> <Keywords name="Keywords4">% </Keywords> <Keywords name="Keywords5"></Keywords> <Keywords name="Keywords6"></Keywords> <Keywords name="Keywords7"></Keywords> <Keywords name="Keywords8"></Keywords> <Keywords name="Delimiters">00" 01 02" 03' 04 05' 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords> </KeywordLists> <Styles> <WordsStyle name="DEFAULT" fgColor="C8C8C8" bgColor="1E1E1E" fontStyle="0" nesting="0" /> <WordsStyle name="COMMENTS" fgColor="608B4E" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="LINE COMMENTS" fgColor="727272" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="NUMBERS" fgColor="B5CEA8" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS1" fgColor="569CD6" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS2" fgColor="FFE9D2" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS3" fgColor="BD63C5" bgColor="1E1E1E" fontName="Source Code Pro" fontStyle="1" fontSize="10" nesting="0" /> <WordsStyle name="KEYWORDS4" fgColor="86CE71" bgColor="1E1E1E" fontName="Consolas" fontStyle="0" fontSize="10" nesting="0" /> <WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="OPERATORS" fgColor="B4B4B4" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="FOLDER IN CODE1" fgColor="FFFFFF" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS1" fgColor="D69D7A" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> <WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" /> </Styles> </UserLang> </NotepadPlus>
  7. Yes yes ... The PostFX manager configuration works (I save the preset). The problem is that when I left the level and try to enter again, the preset that was saved is not loaded (since I applied it previously). Even if the preset is renamed correctly ... when entering the level, the preset is not loaded.
  8. How is LevelName.postfxpreset.cs loaded? Because I made some changes in my game ... The levels are no longer in the "levels /" folder, but in "models / levels". After the change everything worked fine, but now when entering the level the postfxpreset is not loaded automatically. Any light?
  9. Thank you my brother. Thank you very much man. After I finished this system, I felt tremendous sastifaction. I believe that every programmer feels when solving an almost "impossible" problem. I am very happy to work with the torque3D HUD and UI. I have other projects that I have already completed, in the future I will share with you. Thank you very much man. I am very impressed with your work. You have a talent for creating beautiful scenarios (with incredible graphics). Invest in your talented guy ... One day, we will work together (as partners).
  10. Forgive me for being late, I was offline for a long time. I took the time to create some things with TorqueScript ... I share with you a simple Compass system that I created using few lines of code and a lot of math. lol The compass Px2sUQDVBcQ
  11. I looked right here and decided to simplify everything ... Because the prototype was not pleasant. But I believe that the doubt of this topic can help other people. And whoever can answer, will be helping those who need help. As I decided not to go deeper, but I believe that this can be solved as follows: You would take the camera rotation with getRotation () and try to modify the control according to the camera. @Duion Thank you very much for helping me, I ended up having other ideas.
  12. @Duion Thank you very much. I will do some tests. I was taking a look at the documentation and saw that it has getRotation (). I will see if I can capture the rotation of the camera and change the movement of the ball according to the camera.
  13. I'm doing some tests with RigidShape. I created a ball to be controlled instead of the Player. I managed to create a control, where the ball follows according to the keyboard (w, s, a and d) and placed an Orbit Camera on the object. So far so good, but the problem is that the object does not move in the direction where the camera is looking. Example: If the camera is looking at the X axis and pressing the W keyboard, I wanted the object (ball) to move to the X axis where the camera is looking. As well as if the object is stopped, the camera can rotate freely without moving the object (ball). A great example is the game Marble Blast, I want the ball to have the same mechanics as Marble (in relation to the camera, because the movement is already ok).
  14. @DuionI know that ... I liked it because it talks a little more about the Drag and Drop system. Regarding the problem, I managed to solve it. It was a simple syntax problem ... I ended up forgetting to implement Canvas at startup. lol Thank you all.
  15. the PDF version ... the year 2013. Page 128 to 138. When I can't solve a problem, I end up taking a break. I believe that I will find the solution.
  16. I was reading the Torque3d CookBook and went to implement the Inventory and Paper Doll system. But when I went to test: when I click and drag the bitmap, it disappears and the console sends the message "GuiDragAndDropControl::startDragging - GuiDragAndDropControl wasn't added to the gui before the drag started." ... I tried some forms of correction, but I can't solve it. I went to give a research and I did not find anything related .... Has anyone tried to implement this system?
  17. noemen

    font border

    It didn't work when I went to Chat ... Then I had an idea: I hid the dark background of Chat, and it is only visible if I call or if I hit PageUp (or PageDown). It was much more elegant. But in principle, the idea of ​​placing two fonts (one being the border) might work very well on other occasions; in buttons, texts and etc. When I'm on the notebook, I'll share it with you.
  18. noemen

    font border

    @bsisko and @marauder2k9m Thanks a lot for the help. I think this post will also help other people.
  19. noemen

    font border

    Got it now ... I'm learning a lot. I will work now with Torque3D, if I get a good result ... I will share here.
  20. noemen

    font border

    @marauder2k9 Got it ... I want to use this bordered font, just game chat. In this case, with each dictation text would I have its replica sent as well (the border and text)?
  21. noemen

    font border

    Thanks ... I'll try and then post here.
  22. noemen

    font border

    I'm working a lot with the Torque3D GUI ... I noticed that it works with fonts that are installed on the pc. My question is: Can I put borders on these fonts? A white font with a black border ... I see that some games use custom fonts in a png file and they come colored and bordered. I thought of putting one text on top of the other, with the back text being larger than the front and dark in color (this would be the border). But I realized it's the absurd idea lol
×
×
  • Create New...