Pages: 1 2 3 »
  Print  
Author Topic: Tentative Todo  (Read 39233 times)
Offline (Male) Josh @ Dreamland
Posted on: June 03, 2010, 12:14:07 pm

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
This is what's going on and what will be going on before release.

Current Todo:
  • Implement instance system (Currently working on)
  • Implement new var (has already been coded)
  • Resolve, once and for all, string() vs string, using a special property of macros. (#define string(x) toString(x))
  • Make some changes to the parsers to accommodate some of these and more:
    • Implement macros in the syntax check
    • Implement C++ operators scope resolve :: and template parameter pass <...>
    • Implement GML operators not equal <> , access . , and dynamic array subscript [...] .
    • Run a check on subscript passes to global variables
    • Finish implementing special treatment for variables declared as const.

What's just been done recently includes a fix on global declarations as well as testing of all drawing functions. Only draw_ellipse doesn't work, and I will fix that "soon."
« Last Edit: June 03, 2010, 12:18:45 pm by Josh @ Dreamland » Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Female) IsmAvatar
Reply #1 Posted on: June 03, 2010, 01:38:02 pm

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
That was the drawing function I used the most >_<
Logged
Offline (Male) Josh @ Dreamland
Reply #2 Posted on: June 03, 2010, 01:58:53 pm

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
it draws -something- of an ellipse. It's actually two parabolas stuck together, because serp doesn't believe in sqrt or trig.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) RetroX
Reply #3 Posted on: June 03, 2010, 02:35:16 pm

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
But a parabolic curve isn't the same as a circular curve. :/
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) Josh @ Dreamland
Reply #4 Posted on: June 03, 2010, 02:40:51 pm

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
Painfully aware. :P
Serp recommends I rename it draw_serplipse().
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) luiscubal
Reply #5 Posted on: June 03, 2010, 03:06:32 pm
Member
Joined: Jun 2009
Posts: 452

View Profile Email
draw_elipse isn't that hard. It's just cos and sin, multiplied by a number plus another number and drawed inside a loop. In OpenGL, at least, it is pretty easy.
Sure, this doesn't use precomputed trigonometry tables, etc. etc., but unless you need some terrific efficiency, this is pretty good.
Logged
Offline (Male) RetroX
Reply #6 Posted on: June 03, 2010, 03:43:07 pm

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Also, as a completely random thought: the number of points on the circle should be settable in points per pixel, not 0-64.  Unless that's how it's already done.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Male) retep998
Reply #7 Posted on: June 03, 2010, 04:23:32 pm

Member
Location: Where else?
Joined: Jan 2010
Posts: 248
MSN Messenger - retep998@charter.net AOL Instant Messenger - retep998 Yahoo Instant Messenger - retep998
View Profile Email
Also, as a completely random thought: the number of points on the circle should be settable in points per pixel, not 0-64.  Unless that's how it's already done.
Remove the cap on 0-64 is a better idea but if you really want points per pixel...
number_of_sides = radius*points_per_pixel*2*pi;
Logged
Offline (Male) RetroX
Reply #8 Posted on: June 03, 2010, 04:53:12 pm

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
Also, as a completely random thought: the number of points on the circle should be settable in points per pixel, not 0-64.  Unless that's how it's already done.
Remove the cap on 0-64 is a better idea but if you really want points per pixel...
number_of_sides = radius*points_per_pixel*2*pi;
Yes but it's reliant on a function that I really don't want to mess with every time that I draw a circle/ellipse/roundrect.
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Unknown gender) freezway
Reply #9 Posted on: June 03, 2010, 05:30:57 pm

Member
Joined: Dec 2009
Posts: 220

View Profile
so will speed/direction work?
Logged
if you drop a cat with buttered toast strapped to its back, which side lands down?
joshdreamland: our languages are based on the idea that it's going to end up FUBAR
/kick retep998
Offline (Male) polygone
Reply #10 Posted on: June 03, 2010, 05:39:22 pm

Contributor
Location: England
Joined: Mar 2009
Posts: 794

View Profile
What about the collision system?
Logged
I honestly don't know wtf I'm talking about but hopefully I can muddle my way through.
Offline (Male) Josh @ Dreamland
Reply #11 Posted on: June 03, 2010, 07:05:04 pm

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
luis: We're going for terrific efficiency.
freezway: That's part of the new instance system, yes.
polygone: Luda doesn't seem to want to continue. I'll ask him about it again sooner or later.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Female) IsmAvatar
Reply #12 Posted on: June 03, 2010, 07:10:18 pm

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
And I'm guessing you still never got him to get it on an SVN of some sort? So for all you know, he could have been doing absolutely nothing, and just leading you on that he was making good progress?
Logged
Offline (Male) Josh @ Dreamland
Reply #13 Posted on: June 03, 2010, 09:07:28 pm

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
He never claimed that he was working on it the entire time nor that he was making good progress; just that at some point some progress was made. If he does it, it will be good, and I will use it. If he does not, I will try to run with his ideas that he forwarded to me; they were pretty good ones.

Aside from retep, who doesn't have experience in pixel perfect collisions, no one has volunteered to work on the system. I'm in no position to just start working on it; if he is going to finish it he'll have to do so before I finish that list above and do it myself.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) retep998
Reply #14 Posted on: June 03, 2010, 09:24:29 pm

Member
Location: Where else?
Joined: Jan 2010
Posts: 248
MSN Messenger - retep998@charter.net AOL Instant Messenger - retep998 Yahoo Instant Messenger - retep998
View Profile Email
I volunteer to code anything which doesn't involve working with assembly, java, or pre-existing code.
Logged
Pages: 1 2 3 »
  Print