skarik
 Joined: Jul 2008
Posts: 46
|
 |
Posted on: July 28, 2011, 07:05:02 PM |
|
|
|
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.
|
|
|
Josh @ Dreamland
Prince of all Goldfish
 Joined: Feb 2008
Posts: 2,950
|
 |
Reply #1 Posted on: July 28, 2011, 07:18:15 PM |
|
|
|
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++.
|
|
|
luiscubal
 Joined: Jun 2009
Posts: 452
|
 |
Reply #2 Posted on: July 28, 2011, 07:36:29 PM |
|
|
@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)
|
|
|
|
|
|
|
|
|
Josh @ Dreamland
Prince of all Goldfish
 Joined: Feb 2008
Posts: 2,950
|
 |
Reply #6 Posted on: July 29, 2011, 04:48:58 PM |
|
|
Holy shit, it's a daz! Anyway, yeah... *hides* I'm working on the code editor again.
|
|
|
daz
 Joined: Jul 2010
Posts: 167
|
 |
Reply #7 Posted on: July 29, 2011, 06:15:09 PM |
|
|
Quote from: Josh @ Dreamland on July 29, 2011, 04:48:58 PM 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.
|
|
|
|
Post made July 30, 2011, 11:20:53 AM was deleted at the author's request.
|
|
|
|
|
|
Post made August 02, 2011, 11:34:06 AM was deleted at the author's request.
|
Iron_M
 Joined: Aug 2011
Posts: 3
|
 |
Reply #12 Posted on: August 02, 2011, 01:48:29 PM |
|
|
|
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.
|
|
|
Josh @ Dreamland
Prince of all Goldfish
 Joined: Feb 2008
Posts: 2,950
|
 |
Reply #13 Posted on: August 02, 2011, 02:47:03 PM |
|
|
|
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.
|
|
|
TheExDeus
 Joined: Apr 2008
Posts: 1,860
|
 |
Reply #14 Posted on: August 02, 2011, 02:48:07 PM |
|
|
|
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?
|
|
|
|