Pages: 1 2
Author Topic: Stuph  (118,921 Views)
Offline (Unknown gender) skarik

Member
Joined: Jul 2008
Posts: 46
View profile WWW
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.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
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++.
Offline (Unknown gender) luiscubal

Member
Joined: Jun 2009
Posts: 452
View profile
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)
Offline (Unknown gender) skarik

Member
Joined: Jul 2008
Posts: 46
View profile WWW
Reply #3 Posted on: July 29, 2011, 03:04:30 AM
please

EVENT.


FREAKING.



USER.


ಠ_ಠ


Offline (Unknown gender) daz

Contributor
Joined: Jul 2010
Posts: 167
View profile
Reply #4 Posted on: July 29, 2011, 05:20:37 AM
Quote from: skarik on July 29, 2011, 03:04:30 AM
please

EVENT.


FREAKING.



USER.

_  _
סּ_סּ


ಠ_ಠ

Use the right eyes.

Also josh, fix all of my broken stuff thnx.

(also lol first post)
Offline (Unknown gender) skarik

Member
Joined: Jul 2008
Posts: 46
View profile WWW
Reply #5 Posted on: July 29, 2011, 06:14:13 AM
Ahh, thanks, they didn't copy over from Word correctly, I'll edit that now.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
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.
Offline (Unknown gender) daz

Contributor
Joined: Jul 2010
Posts: 167
View profile
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.
Offline (Unknown gender) RetroX

Master of all things Linux
Contributor
Joined: Apr 2008
Posts: 1,055
View profile
Reply #9 Posted on: July 31, 2011, 04:56:49 PM
event_user is very useful.  It should be implemented. :P
Offline (Unknown gender) skarik

Member
Joined: Jul 2008
Posts: 46
View profile WWW
Reply #10 Posted on: August 02, 2011, 03:02:59 AM
I concur with the above post.
Post made August 02, 2011, 11:34:06 AM was deleted at the author's request.
Offline (Unknown gender) Iron_M

Member
Joined: Aug 2011
Posts: 3
View profile
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.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
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.
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
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?
Pages: 1 2