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 - Josh @ Dreamland

Issues Help Desk / Re: Help me run ENIGMA on Ubuntu
« on: September 28, 2012, 03:49:04 PM »
Okay, now I need to figure out what you and nbeerbower have in common. No one else has been able to reproduce this.

It's clearly something about your computer or the way you configure all of your operating systems.

I doubt it's international settings; nbeer lives in Pennsylvania. We've established it's not architecture, because it works fine on my 32-bit computer. What does that leave?

Issues Help Desk / Re: Help me run ENIGMA on Ubuntu
« on: September 26, 2012, 11:53:40 AM »
I have shelled in to a 32-bit box of mine running an old version of Ubuntu. I still can not reproduce this issue.

I need someone who actually has this problem to show up on the ENIGMA IRC channel and work with me to resolve this.

Issues Help Desk / Re: Help me run ENIGMA on Ubuntu
« on: September 25, 2012, 01:21:30 PM »
Interesting. Are you on 32-bit as well, vuvk?

Also, is your working copy entirely up to date?

I have fixed everything I could find on 64bit; at present I just do not have a 32-bit system available. I will try to get one booted in a VM, as this is becoming a pandemic.

Issues Help Desk / Re: Seg Fault once LGM opens ENIGMA
« on: September 22, 2012, 02:51:31 PM »
I have committed a fix to JDI which remedies a couple memory issues (the only two I could detect in parsing every header I could think of).

If it still has a problem, I'm not sure what to try next.

Proposals / Re: Arrays
« on: September 16, 2012, 09:08:58 AM »
If we allow arbitrary element access by using an array as an array subscript, and we let 1..5 be the same as [1, 2, 3, 4, 5] (and maybe let 1..2..9 be [1,3,5,7,9]), then that will work.

Proposals / Re: Arrays
« on: September 15, 2012, 02:45:55 PM »
Unfortunately, GML ambiguates [1,2]. It means the same as [1][2]. Otherwise we could do all sorts of neat array tricks.

Perhaps array[[1,2]] could work.

Proposals / Re: Arrays
« on: September 15, 2012, 11:34:44 AM »
Agreed with HaRRi, again. Zero seems like an elegant solution.

I'd just make them use array subscripts, except it may not always be the case that the function returns an array of only two elements. It may return five, and the user needs only four.

Proposals / Re: Arrays
« on: September 14, 2012, 09:02:06 AM »
I was just going on about how that'd be fine. All I really need is to make sure JDI includes the & in variable types it coerces, then I can ask JDI for the type of ENIGMA's AST.

Proposals / Re: Arrays
« on: September 13, 2012, 11:38:06 PM »
I don't want to use ?, since ? is ternary. (boolean_expression ? x : y) = 10; is already valid EDL. It will remain so in the arrays, I imagine. I do like your ... to denote that the array may be larger. However, I like HaRRi's 0 idea better than __unused.

Perhaps as a prefix, ? could denote optionality.
[0, x, y, ?z] = get_wxyz();

Proposals / Re: Static Sprites
« on: September 13, 2012, 04:33:04 PM »
Right. For that reason, the tile system and static sprite system would remain separate; I was just suggesting we lump them together in the UI for simplicity's sake.

I would calculate the max view dimensions, W and H, and divide the tiles into W×H blocks as GL lists/VBOs (VBOs in the new GL system). This way, you draw at most four at a time.

Proposals / Re: Sprite sheets
« on: September 13, 2012, 04:30:56 PM »
Duly noted. The autopacker is coded and done with; we'll just reuse the one used to pack font glyphs.

Another benefit to a resource that I did not list earlier: An option can be given to separate sprite images by M pixels and dilate sprite edges by N pixels. (In addition to other benefits which may stem from having the map in front of you in a UI)

Proposals / Re: Sprite sheets
« on: September 13, 2012, 04:08:06 PM »
The major points to having a resource for it would be
1) To allow the user to have a say in the placement within the texture map
2) To allow the user to fetch the texID of the texture map
3) To solidify the concept to something more precise than a page number
4) To demonstrate to the user how much space is wasted

Proposals / Re: Arrays
« on: September 13, 2012, 04:04:34 PM »
y = get_some_coordinates()[2].
But I see the point you're trying to make. I guess we can allow using zero or maybe the null keyword to indicate that you don't want the field; otherwise, you'd do something like this:
Code: (EDL) [Select]
int discard;
[discard,y] = get_some_coordinates();

Proposals / Re: Arrays
« on: September 13, 2012, 03:55:20 PM »
No, that would throw a syntax error to the tune of "Assignment array elements must be variables."

Proposals / Re: Sprite sheets
« on: September 13, 2012, 03:53:12 PM »
What appears in the dropdown list?