Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Goombert

Off-Topic / Re: Windows XP's demise will help linux ?
« on: April 12, 2014, 02:25:46 PM »
For the record, this interface isn't really a mobile interface either, it's a shit interface, it's so god damn complicated to open file explorers and shit now, I am pretty sure people would have been happier buying a Surface or some shit if it just worked like regular Windows, because this shit is retarded.

Off-Topic / Re: Windows XP's demise will help linux ?
« on: April 12, 2014, 12:23:22 PM »
Yeah but TKG, the great thing about Windows 7, if you didn't like Glass, you could turn it off. In Windows 8, you don't only not have an option to turn it off the taskbar or on for windows, you're straight up fucked.

Off-Topic / Re: Windows XP's demise will help linux ?
« on: April 12, 2014, 02:28:06 AM »
I don't mind Windows 8.1 really, they just yeah, clearly fucked up. I mainly miss glass (for some odd reason they kept it only for the taskbar) and the classic start menu which is rumored to come back anyway, other than that I will be satisfied. I like the more simplistic look of the common controls, but they are just wayyyy tooo simplistic, it's damn near impossible to tell when I've clicked on the "Show Desktop" next to the clock. Buttons and shit definitely look better, but scrollbars, omfg scrollbars have gotten 1000x worse I can't even see the fuckers half the time.

Off-Topic / Re: Outcast Reboot HD
« on: April 11, 2014, 07:37:30 PM »
But Harri, they said it's the original guys that made it working on it. They also mention voxels in the one question/answer.

What exactly do you mean by 'Reboot HD'?
Quote from: Outcast Team
The shapes of the worlds will be greatly enhanced too as can be seen in the screenshot above as we don’t have the same voxels convexity constraint anymore. However we will need to preserve most of the ground terrain features to maintain some of the data for enemy covers and the like.

General ENIGMA / Re: Unicode Fonts
« on: April 11, 2014, 07:21:42 PM »

As you can see in the above screenshot I have now got the UTF-8 text rendering working perfectly.

The commit link is below.
The change was committed to pull request #623

As the commit message also states, the only thing left is to add the multiple character ranges to the engine, compiler, and plugin.

Quote from: TheExDeus
But LGM's code editor's encoding has nothing to do with C++ std::string or it's capabilities. I don't see how std::string suddenly supports UTF-8.
I don't know, Josh didn't explain it thoroughly to me, ask him, all I know is that it does.

Quote from: TKG
If the infinity symbol is still out of range I'm going to be pissed.
Yes of course you will be able to use that symbol.

Off-Topic / Re: Outcast Reboot HD
« on: April 11, 2014, 11:53:42 AM »
Wow holy shit, you should put up a different image in your post. Their new voxel terrain rastering looks amazing.

1080p @60fps

General ENIGMA / Re: Unicode Fonts
« on: April 11, 2014, 11:50:40 AM »
Quote from: TheExDeus
I also remembered a bug I keep forgetting. It should be relatively trivial to fix. When you load a sprite and want to set the offset with the mouse, the offset is set relative to top-left of the window, not the sprite. So when you press on the sprite you always get bottom-right (because that is what it is limited to). Basically the sprite preview window doesn't take the centered drawing into account and so you cannot effectively use the mouse to set the offset.

I actually just fixed that one. The problem was I switched the image previews for Background and Sprite to center aligned because I thought that looked nicer, but didn't account for it in the mouse coordinates.
This commit followed the former.

Quote from: TheExDeus
And for a suggestion: Can you make so that when you type in the font dialog box it filters out the fonts? I am sure the Java's widget already has an option like that, but it must somehow be enabled.
Yes I wanted that too, I'll try to get it added.

Quote from: TheExDeus
It's there. :) As Robert mentioned Java supports 16bit Unicode and so it supports a lot of characters, but not the whole set. But it does depend on the font as well. For example, I cannot draw Japanese or Chinese characters with Arial font, while I can with some others.
Now as for the fonts, I need to recant. Our code editors are UTF-8 encoded, IsmAvatar did this a long time ago Josh said. I put the label there saying UTF-8 a little bit ago and I actually had no idea, but anyway, most code editors are UTF-8 encoded, I assume GM's to be as well because their file functions support no higher than UTF-8 as well.

So anyway, all of our strings including literals are already UTF-8 encoded, we just need to fix draw_text with the new LGM, and then we add multiple character ranges in a map to replace glyphstart glyphcount.

General ENIGMA / Re: Unicode Fonts
« on: April 10, 2014, 11:46:38 AM »
Here is the download for the soon to be released new plugin and LateralGM.

NOTE: There was a bug with the recent files menu and spaces, basically LGM was delimiting the recent file paths with spaces which would obviously make file paths with spaces incompatible and I switched it to tab delimited, you may need to clear that menu and then close and reload LGM as this version addresses that issue.

General ENIGMA / Unicode Fonts
« on: April 09, 2014, 08:31:44 PM »
Well, as Harri pointed out to me, GM's Unicode font support is limited. How you ask? They use Windows only fonts such Arial Baltic because their IDE is written in Delphi and only for Windows, this is true even for Studio.

As many of you may have already noticed, LGM does not have these fonts available. Why? Well that's simple, again, GM's IDE relies on native Windows shit for fonts. Java applications and all non-Windows software, provide full Unicode support.

LGM and ENIGMA are capable of getting around this limitation imposed by GM and allowing you full access to all 2,147,483,647 (arbitrary limit imposed by Java int max value) characters supported by the Java/Unicode standard as depicted in the above screenshot. You will however be limited to no more than 1000 characters per sequence, meaning if you want 10,000 sequential unicode characters you will need at minimum 10 character ranges to achieve it with LateralGM, this is to stop the font editor from lagging with excessive ranges. This will require that you set the character ranges yourself, you can do this simply by entering the translated text and hitting preview which will auotmagically calculate the character ranges you have used.

The reason I am posting this topic is both to be informative and to ask everyones opinion. First of all, what do you think of this solution? It is more powerful than GM that limits you to 255 characters. They will also most likely remove the 255 character limit and go this route as well in the future when they do their new IDE. Thoughts, feedback, criticism is again always welcome I would appreciate feedback.

Edit: Studio v1.3 does in fact make this change, but does not yet remove Arial Baltic and such fonts!

Programming Help / Re: Find the Memory Leak
« on: April 06, 2014, 11:37:11 AM »
Ok, well I changed obj_monster_basic collision event to a collision with obj_wall1 instead of obj_wall_basic, and that also stopped the memory leak. Now I went further and made a test case that shows the bug also occurs without inheritance, just with collisions between objects.
By simply setting obj_monster1's sprite to <no sprite> the memory leak will also disappear, give it back it's sprite, and the memory leak comes back.

As for the instantiation of obj_monster_basic, I know that is not happening because a show_message call in the create event yields nothing. And I do not see them in the room instance list either, obj_wall_basic as well.

Now, I know there are 367 instances of objects that inherit obj_wall_basic, and 50 instances of objects that inherit obj_monster basic, because of the following code in the Room Create code.
Code: (EDL) [Select]
Which I also tried the following variation.
Code: (EDL) [Select]
Which yielded the same results.

Quote from: JoshDreamland
I'd like the exact EDL for both events, ideally
There's only 1 event, and I have provided the code for it. obj_monster_basic has a collision event with obj_wall_basic, obj_monster1 has no collision code and automatically inherits the collision event with obj_wall_basic

I have created the following minimal test cases that reproduce the bug.
WARNING! Run with caution, they leak 4mb's per second for me.

This is with inheritance.
This is one that has no inheritance, just a collision event between one object and another, the memory leak still occurs.

Developing ENIGMA / Game End Return Value
« on: April 05, 2014, 11:51:37 PM »
Just curious, why did game_end() never get a parameter? In most programming languages, ie. Java has System.Exit(return);

We should overload it to accept variant or some shit for ENIGMA.

Issues Help Desk / Re: Compile Errors on WinXP
« on: April 04, 2014, 10:30:39 PM »
DaveDude, open settings.ini, and change the following line.
Code: (INI) [Select]
idecommand="java -jar -Xms256m -Xmx1000m"Change it to the following.
Code: (INI) [Select]
idecommand="java -jar"
I changed the default Portable ZIP to launch LGM allowing it to have a larger heap size by default, since I figured most computers should have a minimum 256mb.

Programming Help / Re: Find the Memory Leak
« on: April 04, 2014, 12:15:43 PM »
Josh, I removed all GML code in the event, which is the following.
Code: (EDL) [Select]
  x = xprevious;
  y = yprevious;
  if (abs(hspeed) >= abs(vspeed) && not place_meeting(x+hspeed,y,obj_wall_basic))
    { x += hspeed; exit;}
  if not place_meeting(x,y+vspeed,obj_wall_basic)
    { y += vspeed; exit;}
  if not place_meeting(x+hspeed,y,obj_wall_basic)
    { x += hspeed; exit;}
I then replaced it with the following.
Code: (EDL) [Select]
// do nothing
And the leak still occurs, it only goes away if you delete the event from the parent object. Read Harri's report, you'll have a better understanding.

Edit: Upon further investigating Harri's claims which I have found to be true. I discovered exactly where and when the error occurs, this was tested with the BBox system. Simply removing line 100, the following code, fixes the memory leak.
Code: (C) [Select]
        if (left1 <= right2 && left2 <= right1 && top1 <= bottom2 && top2 <= bottom1)
            return inst2;

The question now is why this occurs with parenting and not without parenting. It could be related to the object index which is passed up to the parent in the constructor which is further passed to the object_locals base class. The current system does not allow iterating children of a parent object using the parent object index, I do not know if that is possible in GM or not.

Announcements / Re: Project Mario
« on: April 03, 2014, 11:38:40 PM »

Announcements / Re: Project Mario
« on: April 03, 2014, 05:10:55 PM »
I agree more with what Harri told me the one other time, that GM provided a basic abstraction framework that allowed more advanced things to be done through extensions. GM served as a good windowing and basic platform that could be easily extended. That I found to be a good argument, sadly it's no longer true about GM.