Hezkore

Forum Replies Created

Viewing 15 posts - 301 through 315 (of 367 total)
  • Author
    Posts
  • in reply to: Ted2Go IDE #7785

    Hezkore
    Participant

    I’ve added a way to override the fonts used by the theme from inside the IDE.
    You do it via File > Preferences… > Font
    First enter the name of the font file, for example “MyFont.ttf”, then the size of the font.
    You can also leave the fields empty to revert back to the standard font used by the theme.

    Here the Roboto font at 16px is used.

    prefs.monkey2

    prefsdialog.monkey2

    codedocument.monkey2, specifically the UpdateThemeColors() part

    in reply to: Ted2Go IDE #7747

    Hezkore
    Participant

    @nerobot
    I noticed my “Smooth” theme still isn’t updated in the newer releases.
    I’d recommend you use the new version I posted long ago over at: http://monkey2.monkey-x.com/forums/topic/ted2go-fork/page/12/#post-7209

    in reply to: New videos for the upcoming 3d engine #7746

    Hezkore
    Participant

    I’m a bit confused as to why these videos and screenshots aren’t on the main homepage.
    It’s stuff like this I wish were on the “Blog” section.
    Those videos and tiny updates is the only reason I check Twitter.

    in reply to: Function variable pointer #7353

    Hezkore
    Participant

    Well that’s kinda how I expected images to work.
    But I figured that there might be some way to change that, either by passing it as Ptr and accessing it via [0] or something, but that just throws an error.
    I ended up passing the loaded image from inside the function as a return value and via some lambda functions I managed to get it working.

    in reply to: Ted2Go IDE #7327

    Hezkore
    Participant

    If you don’t mind me being pedantic, one thing that bugs me about the GUI system is when you click on a window menu title (eg. File) and move the mouse over the next menu title, the next menu should become the one displayed.

    That’s really a MojoX thing rather than a Ted2Go thing though.
    But yeah, that has bugged me in the past heh.

    in reply to: Ted2Go IDE #7290

    Hezkore
    Participant

    Ted2Go has read the command-line parameters for quite some time now though.
    You can absolutely associate .monkey2 files with Ted2Go. (I’m doing that right now)
    http://monkey2.monkey-x.com/forums/topic/ted2go-fork/page/6/#post-5313

    “Feature – open docs from args, so we can create file association for .monkey2 files with ted2…”

    And with “docs” he means the Monkey 2 files and not the help documents heh.

    If the IDE is your biggest problem, you could always use something like Atom.
    http://monkey2.monkey-x.com/forums/topic/atom-package-for-monkey2/

    in reply to: Run process problem #7285

    Hezkore
    Participant

    I’ve tried a lot of things…
    Print AppDir()+”wget.exe” spits out “G:/Projects/Monkey 2/gw2map2/main.products/Windows/wget.exe” which is correct.
    But even if I start the process via AppDir()+”wget.exe” I get the error.

    in reply to: MumbleLink (Memory Shared File) #7277

    Hezkore
    Participant

    I’ve managed to get Mumble working, and this should work with any Mumble supported game.
    You’ll need this mumble.h file:

    And here’s the Monkey 2 wrapper for it:

    You use it by first calling InitMumble()
    Then call UpdateMumble() as you want new information. (every frame)
    You then use the Global link variable to check your avatars/cameras position, rotation, name etc.

    in reply to: Guild Wars 2 Map Viewer #7276

    Hezkore
    Participant

    Thanks! 🙂
    I’m so glad you think the download speed is fine.
    I made the same thing in BlitzMax using the cURL module and it’s a bit faster.
    But that might just be cause I don’t write the files to disk first.

    By default it allows for a maximum of 8 simultaneous downloads, you can change this by changing MAX_DLS.
    It also uses the 4 DNS servers Guild Wars 2 provides, I’m not sure that actually does anything though heh.
    You can change that with MAX_DNS, but don’t go any higher than 4 since there’s no 5th DNS server for the tile service.

    This example is a bit wasteful when it comes to actually rendering the map since it renders every zoom step ontop of each other.
    So even if you’re at zoom level 4, it will render zoom 0, 1, 2, 3.
    I do this because otherwise when you zoomed in there would be no images at all to display at that zoom level.

    in reply to: Function variable pointer #7270

    Hezkore
    Participant

    Your example doesn’t show

    .”…and load an image…”

    Which is the problem. 🙁

    Here’s an example showing that it just doesn’t work.
    https://dl.dropboxusercontent.com/u/2842751/image_test.zip

    in reply to: Node based path-finding #7269

    Hezkore
    Participant

    Here’s a translated example.
    Click to place a few nodes, then drag a line between the nodes.
    Hover over a node and press S to place the path start.
    Do the same but press G to place the path goal.
    Press Enter to calculate the path.

    Original code: http://www.monkey-x.com/Community/posts.php?topic=2155

    in reply to: Help with GUI #7268

    Hezkore
    Participant

    I’ve managed to get images from a theme using “skins”.
    They’re automatically loaded once the theme is applied.

    In the theme file you’ll have to add something like:

    Don’t forget that it needs to go under “styles”:{ in the theme file and the image has to be in the “themes” folder!

    in reply to: Ted2Go IDE #7256

    Hezkore
    Participant

    I’ll try to do overriding font from IDE next time.

    And will update smooth theme, I miss it.

    Great! 😀

    It doesn’t detect local at all yet! But I plan to do that one time.

    That explains a lot! heh

    On a similar topic…
    I just noticed that when I start to type “Mouse” I no longer see the standard “Mouse” class in the auto-complete list.
    Same with “JsonObject” it seems, and “WindowFlags”  and “Keyboard” etc.
    Did something change, is this intended? (I don’t often update Ted2Go)
    I think that if I were new to Monkey 2 I’d be pretty confused about it. (even more so!)

    Also, an idea I had!
    You can hide the console with the Escape key, which I often do.
    When you run your app the console comes back and shows you print messages and such, which is fine.
    But I’d really like if the console hid itself again after the app closes, so I don’t have to press Escape every time.
    A minor thing, not very important.

    in reply to: Ted2Go IDE #7244

    Hezkore
    Participant

    Yes! I understand a Theme being able to “suggest” a font, but the user should be able to override it.

    Yeah exactly. 🙂
    And especially without having to edit the theme itself, which will be overwritten each update anyways.

    Every time Ted2Go is updated, I go through the code and change the keyboard shortcuts to the “normal” shortcuts.
    I put the project view on the left.
    And I edit the themes to use the Robot font.

    in reply to: Ted2Go IDE #7242

    Hezkore
    Participant

    “hezkore:  Ctrl/Cmd+W is a typical way to close windows on non-Windows systems, but in Windows the typical shortcut is Ctrl+F4  🙂

    @nobuyuki I said close “tabs” not windows 😉
    Most apps in Windows (and Mac etc.) uses Ctrl+W to close tabs, even web browsers use it.

     

    @hezkore  Tell me how the dot completion to interfere you. I can move it into options. And notify me if you complete icons pack. 🙂

    @nerobot The auto-complete is not always correct, sometimes it doesn’t detect my Locals.
    So when I for example want to access the fields in my Local called “proc”, Ted2Go instead auto-corrects it to “Property” whenever I type “proc.”, which gets annoying.

     

    “I started with Hezcore’s theme, but ended up extending Default Ted because I wanted the monospaced fonts.”
    @Ethernutt Yeah about that hehe…

    When I made the Smooth theme, the monospaced font was bugged (not drawn correctly, overlapping text etc.).
    That seems to have been fixed a bit, and did I update the theme to use the default monospaced font, but it seems like Mark never updated it.
    I’ve posted the updated Smooth theme in this thread too: http://monkey2.monkey-x.com/forums/topic/ted2go-fork/page/12/#post-7209
    I hope nerobot adds it.

    The theme font wouldn’t even be an issue if the font could be selected from within the IDE.

Viewing 15 posts - 301 through 315 (of 367 total)