Pages: 1 2 »
  Print  
Author Topic: Stuph  (Read 17912 times)
Offline (Unknown gender) skarik
Posted on: July 28, 2011, 02:05:02 pm

Member
Joined: Jul 2008
Posts: 46

View Profile WWW Email
So, now that switch statements are in, I can almost use Enigma with my Game Maker games. As in, only one game compiles.

Sooo, is event_user a bitch or something? Should I not be using event_user? Is event_user a horrible thing that should die?

Also, collision_circle. Replacing it with collison_rectangle works fine buuuuuut - actually no I just want to hear the technical reasons

And yeah. I'm going to go bother my tenants for rent now. Four days early. Thanks.



Also, unrelated, what the HELL is a callback in the context of why should I use it instead of adding a function pointer to a list or something? And yeah. That's it.

Yeah, these phone calls will be fun.
Logged
~~
Offline (Male) Josh @ Dreamland
Reply #1 Posted on: July 28, 2011, 02:18:15 pm

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

View Profile Email
Event_user isn't all that hard; it's just gone unimplemented because its use is uncommon. If you bother us about it enough, it'll get done.

Collision_circle isn't in just because it requires math that's more fun to do out on paper than to implement in a collision engine.

Anyway, aside from callbacks often being threaded or handled by some other system, I don't see a difference between them and the list you described. At least in C++.
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 #2 Posted on: July 28, 2011, 02:36:29 pm
Member
Joined: Jun 2009
Posts: 452

View Profile Email
@Josh - My simple RPG engine that I posted about a while ago also uses event_user, so I guess it would be nice to have.
(of course there are lots of other things the engine uses that ENIGMA would need but whatever)
Logged
Offline (Unknown gender) skarik
Reply #3 Posted on: July 28, 2011, 10:04:30 pm

Member
Joined: Jul 2008
Posts: 46

View Profile WWW Email
please

EVENT.


FREAKING.



USER.


ಠ_ಠ


« Last Edit: July 29, 2011, 01:14:40 am by skarik » Logged
~~
Offline (Unknown gender) daz
Reply #4 Posted on: July 29, 2011, 12:20:37 am
Contributor
Joined: Jul 2010
Posts: 167

View Profile
please

EVENT.


FREAKING.



USER.

_  _
סּ_סּ


ಠ_ಠ

Use the right eyes.

Also josh, fix all of my broken stuff thnx.

(also lol first post)
Logged
Offline (Unknown gender) skarik
Reply #5 Posted on: July 29, 2011, 01:14:13 am

Member
Joined: Jul 2008
Posts: 46

View Profile WWW Email
Ahh, thanks, they didn't copy over from Word correctly, I'll edit that now.
Logged
~~
Offline (Male) Josh @ Dreamland
Reply #6 Posted on: July 29, 2011, 11:48:58 am

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

View Profile Email
Holy shit, it's a daz!
Anyway, yeah... *hides*
I'm working on the code editor again.
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) daz
Reply #7 Posted on: July 29, 2011, 01:15:09 pm
Contributor
Joined: Jul 2010
Posts: 167

View Profile
Holy shit, it's a daz!
Anyway, yeah... *hides*
<span style=\"font-size:3px\">I'm working on the code editor again.</span>
You make me weep. Also, user events would be very handy.
Logged
Post made July 30, 2011, 06:20:53 am was deleted at the author's request.
Offline (Male) RetroX
Reply #9 Posted on: July 31, 2011, 11:56:49 am

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
event_user is very useful.  It should be implemented. :P
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) skarik
Reply #10 Posted on: August 01, 2011, 10:02:59 pm

Member
Joined: Jul 2008
Posts: 46

View Profile WWW Email
I concur with the above post.
Logged
~~
Post made August 02, 2011, 06:34:06 am was deleted at the author's request.
Offline (Unknown gender) Iron_M
Reply #12 Posted on: August 02, 2011, 08:48:29 am
Member
Joined: Aug 2011
Posts: 3

View Profile Email
I make extensive use of User Events, but I guess they could all be scripts instead. I'm using paths now for well pathfinding so hopefully that will get some love too.
Logged
Offline (Male) Josh @ Dreamland
Reply #13 Posted on: August 02, 2011, 09:47:03 am

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

View Profile Email
HaRRiKiRi is working on paths now, actually. I gave him a hand with converting GM's 0-1 path positions to a position on a segment and ultimately to coordinates. From what I've seen, they're coming along rather well.

He's probably going to hit a snag with preallocation and getting his constructor to do reallocation, but I'll help him with that if he needs.

As for user events, I didn't realize so many people actually had use for them. I will see about implementing them; there may be some additional memory overhead or it may be completely optimized out, but it should be easy enough to do.
« Last Edit: August 02, 2011, 09:48:34 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 (Unknown gender) TheExDeus
Reply #14 Posted on: August 02, 2011, 09:48:07 am

Developer
Joined: Apr 2008
Posts: 1860

View Profile
Paths are being worked on, but they cannot be finished until the extension system is done. And that's Josh's and Ism's job.

edit: What preallocation and reallocation are you talking about?
Logged
Pages: 1 2 »
  Print