Pages: [1]
  Print  
Author Topic: Object Inheritance Implemented  (Read 3932 times)
Offline (Male) Goombert
Posted on: October 23, 2013, 07:58:02 PM

Contributor
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2988

View Profile

Because of inheritance I was able to get the following Studio tutorial working, with a slight modification to two for statements because none of them know how to program.

That is right I have implemented full object inheritance and polymorphism to the compiler, even the event_inherited() function and the corresponding drag and drop tile. There is a setting now added to Build->Settings where you can completely disable inheritance if you, for instance, like cheeseboy, you only want inheritance for collisions and nothing else.


You can also see settings there for my angular unit and scalar types, the options don't do anything quite yet they are implemented in the engine the setting is just hidden away I have to do something else first before I make the options work.

Compatibility should improve a lot now. You must update LateralGM and the plugin if you update from git or vice versa because a modification was made to allow the YAML settings layout to parse checkboxes. At any rate, enjoy!
« Last Edit: May 25, 2014, 04:18:41 AM by Robert B Colton » Logged
Welcome to ENIGMO, the game engine built by fucking aliens.

Offline (Unknown gender) egofree
Reply #1 Posted on: October 24, 2013, 03:36:04 AM
Contributor
Joined: Jun 2013
Posts: 604

View Profile Email
Excellent ! You've kept your promise. I don't have enough time right now to test the new enigma, but  i will definitely test it in the future. Thanks again Robert and all people working on this project for all your efforts.  (Y)
Logged
Offline (Male) Goombert
Reply #2 Posted on: October 24, 2013, 03:39:42 AM

Contributor
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2988

View Profile
I'll do timelines when I finish this GMX writer so you can save.
Logged
Welcome to ENIGMO, the game engine built by fucking aliens.

Offline (Unknown gender) egofree
Reply #3 Posted on: October 24, 2013, 04:03:48 AM
Contributor
Joined: Jun 2013
Posts: 604

View Profile Email
By the way, is the new compiler finished ?
Logged
Offline (Unknown gender) TheExDeus
Reply #4 Posted on: October 24, 2013, 06:18:29 AM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
The new compiler is vaporware or as we call it New Compiler: Forever. It's always about 1 month off in the future. For the past 6 months or so. But I guess some progress is made.
Logged
Offline (Unknown gender) Ideka
Reply #5 Posted on: October 24, 2013, 10:01:13 AM

Member
Joined: Apr 2011
Posts: 86

View Profile
Well, you know Hofstadater's Law:
"It always takes longer than you expect, even when you take into account Hofstadter's Law."
Logged
Offline (Male) Goombert
Reply #6 Posted on: October 24, 2013, 01:53:17 PM

Contributor
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2988

View Profile
As for the new compiler it is going to get done you guys, and Harri, yes Josh has mostly been done with it but he is just trying to finish school, but we definitely need it for mobile ports and stuff, when he is free of school it will most surely be done. I get just as irritated with him being so slow, but then again I don't have anything else to do so that equates to my large amount of contributions all the time.
Logged
Welcome to ENIGMO, the game engine built by fucking aliens.

Offline (Male) time-killer-games
Reply #7 Posted on: October 25, 2013, 06:27:35 PM

Member
Location: Virginia Beach
Joined: Jan 2013
Posts: 1067

View Profile WWW Email
At long last! Thanks! This is great! All we need now is persistent rooms and objects, stretchable video embedding (both full client area and specific window coordinates), and a fixed Mac OS X update, once these three small things happen, my life will be complete, and I will die happy. Keep up the great work Josh, Robert and everyone else who contributed. You guys are the best! :-)
Logged
Offline (Male) Goombert
Reply #8 Posted on: October 28, 2013, 02:53:48 AM

Contributor
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2988

View Profile
TKG, I have another surprise coming in maybe a week or so for you. Also, yes persistent is already implemented, but a couple of noticed it's broke, I will fix it when I get the chance, I am working on things to get Project Mario working too.

Edit: Just to update everyone on this there was a bug causing objects to have their parent object_index. I have fixed it in the following pull request.
https://github.com/enigma-dev/enigma-dev/pull/474/files

Now I believe object inheritance is pretty solid, I am going to fix with constructs next.

Also, I'd put up the source to that game but for copyright reasons I can not.
« Last Edit: October 28, 2013, 03:04:24 AM by Robert B Colton » Logged
Welcome to ENIGMO, the game engine built by fucking aliens.

Offline (Male) Josh @ Dreamland
Reply #9 Posted on: October 28, 2013, 09:15:50 AM

Prince of all Goldfish
Developer
Location: Ohio, United States
Joined: Feb 2008
Posts: 2934

View Profile Email
That is because the new compiler is always one month of work into the future, and I have not had a break that long in a year and a half.

I am graduating in six weeks, five days. After that, I'm getting a job. A job will run 2.5x as many hours as my class, with the important differences being the following:
  • There is no structured set of homework assignments due over the weekend. This means that except where I choose to take work home (which is likely to happen; I'm weird when given interesting problems), my life is free outside the hours I have sold to my place of employment.
  • Meetings for projects will happen inside work hours rather than absolutely whenever. This means that the hassle of corresponding with uninterested individuals on a project that no one cares about is over. I will instead be collaborating inside those previously mentioned hours with people who are actually interested in the success of the project. I don't have to pick up anyone's slack (At least, not to the degree I have been at my university).
  • My workload will be managed by one company, rather than by 3-5 professors who each assume they can pile any amount of work on us at any time. This is how I end up stuck with two group projects, three individual projects, and three homework assignments, right now.
  • I won't have an awkward, university-sponsored job to attend in addition to my primary focus. I spend about 1/4 the amount of time traveling to my tutoring job as I do actually participating in it.
  • I'll actually get a lunch break and won't have to go hungry between the hours of 10:50 and 7:00. This doesn't help with ENIGMA so much, but is another reason I am looking forward to the event.

In between my graduation and my first day on the job, I will have to move. I don't know how messy a process this will be, or how much time it will leave for ENIGMA.

And also, the new compiler is, by definition, not vaporware. If any of you decided to get a clue what was going on in it, you could check out the JDI branch of ENIGMA and the new templates branch of JDI and work on it. As it stands, everyone would rather whine at me that I said it would take about a month of work, and six months later, nothing is finished.
« Last Edit: October 28, 2013, 09:20:57 AM 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 (Male) Goombert
Reply #10 Posted on: October 28, 2013, 09:33:01 AM

Contributor
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2988

View Profile
Quote
f any of you decided to get a clue what was going on in it, you could check out the JDI branch of ENIGMA and the new templates branch of JDI and work on it.
I would, but it is the only thing you've not taking the time to explain to me, you should write a tutorial, preferably on the Wiki.
Logged
Welcome to ENIGMO, the game engine built by fucking aliens.

Pages: [1]
  Print