skarik
|
|
Posted on: July 28, 2011, 02:05:02 pm |
|
|
Joined: Jul 2008
Posts: 46
|
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
|
~~
|
|
|
Josh @ Dreamland
|
|
Reply #1 Posted on: July 28, 2011, 02:18:15 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
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
|
|
|
luiscubal
|
|
Reply #2 Posted on: July 28, 2011, 02:36:29 pm |
|
|
Joined: Jun 2009
Posts: 452
|
@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
|
|
|
|
|
daz
|
|
Reply #4 Posted on: July 29, 2011, 12:20:37 am |
|
|
Joined: Jul 2010
Posts: 167
|
please
EVENT.
FREAKING.
USER.
_ _ סּ_סּ
ಠ_ಠUse the right eyes. Also josh, fix all of my broken stuff thnx. (also lol first post)
|
|
|
Logged
|
|
|
|
|
Josh @ Dreamland
|
|
Reply #6 Posted on: July 29, 2011, 11:48:58 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
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
|
|
|
|
Post made July 30, 2011, 06:20:53 am was deleted at the author's request.
|
|
|
Post made August 02, 2011, 06:34:06 am was deleted at the author's request.
|
|
Josh @ Dreamland
|
|
Reply #13 Posted on: August 02, 2011, 09:47:03 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
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
|
|
|
|
|