Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - RetroX

271
Function Peer Review / move_towards_point + move_snap
« on: October 24, 2010, 08:23:45 PM »
Randomly found a function that was needed.

Here you go.

Code: [Select]
void move_towards_point(double x, double y, double spd)
{
  double angle = atan2(y - ((object_planar*)enigma::instance_event_iterator->inst)->y,
                       x - ((object_planar*)enigma::instance_event_iterator->inst)->x);
  ((object_planar*)enigma::instance_event_iterator->inst)->x += cos(angle) * speed;
  ((object_planar*)enigma::instance_event_iterator->inst)->y -= sin(angle) * speed;
}
void move_snap(double x, double y)
{
  ((object_planar*)enigma::instance_event_iterator->inst)->x = round(((object_planar*)enigma::instance_event_iterator->inst)->x * x) / x;
  ((object_planar*)enigma::instance_event_iterator->inst)->y = round(((object_planar*)enigma::instance_event_iterator->inst)->y * y) / y;
}

Haven't tested it, but I'm sure that it can easily be modified to work.

EDIT: And I tested it and it didn't work.  Josh, make it work.

272
Proposals / Re: Decrease Code Size?
« on: October 23, 2010, 01:24:45 PM »
edit: If I really had 100MB/s my HDD would burn (or explode) after 10 sec.
A 3 GB/s hard drive wouldn't explode with a 100 MB/s download rate.

But that makes loads more sense, now.

273
Proposals / Re: Decrease Code Size?
« on: October 22, 2010, 04:09:56 PM »
For the past 9 years or so I have had 50-100MB/s connections.
Holy fucking shit, that's amazing.

I'm sorry, but I'm lucky to get 1 MB/s on ANY server, and if you get 50, that's incredible.  Per second?  That's up to 12 seconds to download a CD ISO.

I get 8 MB/s max.  If I had FiOS, I'd get 40.  That's still not close to 100.

274
Proposals / Re: Decrease Code Size?
« on: October 21, 2010, 07:12:15 PM »
If the bandwidth is free, and the program is so small, why?
Because it's a 14MB download.

Not like that's a lot to me, but people still have slow connections nowadays.

275
Issues Help Desk / Re: enigma on windows
« on: October 21, 2010, 07:03:21 PM »
noClassDefError is Java, not Windows.

276
Proposals / Re: Decrease Code Size?
« on: October 20, 2010, 03:05:54 PM »
GCC already strips comments and spaces from the compiled version of code(obviously), so this would have no effect on game executable size.
I know that.  It still spends time going through those characters.

The headers are already pre-compiled.  On the first run, all of the headers are compiled, and after that, they aren't compiled again.

That's not as much the point as downloading them all on the initial run.

277
Proposals / Decrease Code Size?
« on: October 20, 2010, 02:33:38 PM »
Random suggestion, but you could do what jQuery, Google, and a few other sites do for code.

You can offer development and generic versions of the source codes.  The development version includes comments and spaces, whereas that is all removed from the other version, to save space, download time, and compile time.

I dunno, but it seems like it might be a good idea.  Probably doesn't make sense to do it now, though.

Spaces and tabs take up a surprising amount of space.

278
If numbers are stored as doubles, and passed as doubles, why are you using glVertex2f instead of glVertex2d?

279
General ENIGMA / Re: Marketing Enigma
« on: October 19, 2010, 08:56:52 PM »
Quote
How are main stream Game Maker users going to hear about Enigma?
Put a little ad at the start of the games made with Enigma (or GM)? (1 second screen saying who helped?). Most professional games have this, where its mandatory to watch it the first time you start the game up, but the following times it can be skipped by pressing any key.
In all honesty, this makes games look less professional, and it's not really worth the effort.  People that are willing to mention that they made their game in ENIGMA can do so, and it should be recommended that they do it in their own way.  Not in some stupid, forced way.  This will show that people really support the project.

280
General ENIGMA / Re: Marketing Enigma
« on: October 19, 2010, 05:31:17 PM »
I hate the word "marketing" because we're not selling anything.  "Advertising" seems to make more sense.

- How are main stream Game Maker users going to hear about Enigma?
How do main stream GM users hear about GM?  They google "Game Maker."  We hope to get higher on the list as far as game dev tools go.

- What information is best displayed to GM users in order to entice them into using Enigma?
It's faster, cross-platform, compatible with GM, has more features, and allows C++ to be used directly.  Not much more to say.

- Do you expect there will be any backlash from YYGs in the future over the development of Enigma?
As long as no copyrights are broken, they can't do anything besides make GM better.  Which will result in more mooching off of Mark, and as a result, GM doesn't get better.

- How are users of other game development software going to hear about Enigma?
ENIGMA users and Google and the like.

- What information is best displayed to these people?
Quote
It's faster, cross-platform, compatible with GM, has more features, and allows C++ to be used directly.  Not much more to say.

- How in general are people going to hear about Enigma?
Quote
ENIGMA users and Google and the like.

- How common will it be for people to stumble across Enimga using Google?
Hopefully very.

- What information should be displayed to these people?
Quote
It's faster, cross-platform, compatible with GM, has more features, and allows C++ to be used directly.  Not much more to say.

- Is it likely members of this community will take it upon themselves to advertise/mass spam Enigma?
Yes.

- Is this a concern for you?
No, because the people that will be doing it don't know anything.

- At what stage in Enigma's development should marketing be considered? (Advertising before Enigma is reliable/useful enough can obviously have negative affects)
I doubt that we're going to advertise ENIGMA.  It's free.  What else can be said?

- How fast do you think the community will grow?
Decently sized.

- How popular will Enigma ultimately become?
Hopefully, very.


- What kind of users will end up here?
People that want to:
- Learn C++.
- Want a faster GM.
- Want a cross-platform GM.
- Want to make games with the power of C++ and ease of GM.

- How many users do you expect will be willing to work on Enigma's development?
A very small percentage, but a decent amount.

- How is the forum/website/development going to change in order to cater for an increase in it's user base?
It will be.  You'll see. ;)

- At what point do you need to start actually thinking about all these things?
Not right now.

281
Proposals / Re: Add mobile version of site/forums
« on: October 19, 2010, 02:34:43 PM »
isn't there already one?  a2h probably screwed the theme for it

282
General ENIGMA / Re: TGMG - A word...
« on: October 19, 2010, 02:30:06 PM »
I like stripped blanks.

Just click the line, backspace, then enter.

283
Off-Topic / Re: Hey guys, thanx.
« on: October 17, 2010, 04:55:07 PM »
The problem is that u3d isn't cross-platform, but whatever.

284
Announcements / Re: What's happening now
« on: October 17, 2010, 04:51:21 PM »
I'll look into debian packages more.  I know that there's a purge configuration option in the package manager, which, when chosen, would fully remove configuration (in this case, /opt/enigma) after uninstall.  It's not done automatically with the package because you might want to uninstall and then reinstall explicitly, and that would delete your configurations without any undo.  Could you check the software center for me and see what kind of uninstallation options that there are?  I know that Synaptic has it, but I'm not sure that it can be done via the software center.

You have to realise that this is still a development version of ENIGMA.  It's not automated for Linux yet, but I'll try to do that.
It showed up under installed software only after I used the search function, here's a pick.
There's only one uninstall option, a Remove button.

BTW there's a typo in the description "EnvironmentAn"
Okay.  It's automatic now, anyways.

EnvironmentAn is bash being stupid as far as new lines go.  Let me fix that.  I'm building packages right now.

285
Announcements / Re: What's happening now
« on: October 17, 2010, 04:46:58 PM »
Quote
blank.txt, defines.txt, redirfile.txt, and searchdirs.txt are all deleted so that LGM can regenerate them.
Neither LGM nor the plugin are responsible for the generation or regeneration of any of these files. I believe you meant ENIGMA.
Also, redirfile.txt should be regenerated irregardless of its existence. It serves as a temporary active log of the output of `make game` when run from ENIGMA, which the plugin will then attempt to read and pipe to the progress console. I don't know of the nature of the other 3.
ENIGMA, whatever.  The point is that they're regenerated every single time and can be deleted after ENIGMA is removed.  In fact, I'll actually create them in the package so that they're removed automatically.