Search found 305 matches

by EccentricDuck
Sun Jul 10, 2011 3:36 am
Forum: General/Off-Topic
Topic: Google+
Replies: 16
Views: 3432

Re: Google+

I can send out invites, but I need e-mail addresses. I haven't really played around with it much yet.
by EccentricDuck
Fri Jul 08, 2011 4:32 pm
Forum: Programming Discussion
Topic: java game programming?
Replies: 16
Views: 2138

Re: java game programming?

Android is open to C/++ now... The Android NDK has particular focus on OpenGL games. For the UI and 2D canvas rendering, you still need Java though. Still, I was so happy when I found out they'd be allowing pure C/C++ apps. Yeah, the main issue is that the NDK doesn't have access to the APIs for th...
by EccentricDuck
Sun Jul 03, 2011 4:01 am
Forum: Programming Discussion
Topic: java game programming?
Replies: 16
Views: 2138

Re: java game programming?

One of the great things about env3d is that it's dead simple to create an applet with it if you use the BlueJ IDE.
by EccentricDuck
Sat Jul 02, 2011 8:53 pm
Forum: Programming Discussion
Topic: java game programming?
Replies: 16
Views: 2138

Re: java game programming?

Depends. What do you want to create or work towards? Java is somewhat simpler than C++ to learn, and there has been a lot of really cool work done in more recent years in Java (like Minecraft), but it's not the raw powerhouse that C++ is. If you've never programmed before then I'd recommend this: ht...
by EccentricDuck
Sun Jun 26, 2011 7:14 pm
Forum: Programming Discussion
Topic: Artificial Stupidity
Replies: 25
Views: 3026

Re: Artificial Stupidity

I don't think you're understandng my problem. Just as an example, imagine that the AI's x and y both start at 0 and the gem's x and y are 201 and 448.The AI would start increasing it's x by 2 because it is less than the gem's x. Once the AI got to 200, 0, it would increase it's x to 2, but then on ...
by EccentricDuck
Sun Jun 26, 2011 3:22 am
Forum: Programming Discussion
Topic: Artificial Stupidity
Replies: 25
Views: 3026

Re: Artificial Stupidity

Awesome, sounds good. With the way you're doing it, it means your movement always has to be tied to the collision distance of an object on screen. It adds complexity to every AI routine you might develop rather than to your collision system. That's not necessarily a bad thing, but it is a choice. Th...
by EccentricDuck
Sat Jun 25, 2011 2:12 pm
Forum: General/Off-Topic
Topic: So... guess who is a software engineer?
Replies: 39
Views: 7323

Re: So... guess who is a software engineer?

Ginto8 wrote:
EccentricDuck wrote:stuff
learn2sarcasm ;) :lol:

Although JIT-type programs could run faster... if the interpretation gets done in hardware. Honestly, that's the only possibility that would make the speed comparable, much less faster.
Lol, my bad. :lol:
by EccentricDuck
Sat Jun 25, 2011 1:54 pm
Forum: Programming Discussion
Topic: Artificial Stupidity
Replies: 25
Views: 3026

Re: Artificial Stupidity

It has nothing to do with the AI being stupid. It's a simple AI that does what it's designed to do. The issue is that the collision, as you also pointed out, isn't being calculated because of the precision of detection relative to the step size of the AI. It keeps stepping over the object and collis...
by EccentricDuck
Thu Jun 23, 2011 10:02 pm
Forum: General/Off-Topic
Topic: So... guess who is a software engineer?
Replies: 39
Views: 7323

Re: So... guess who is a software engineer?

But everyone knows that Java/JIT is faster than C/C++ anyway! Especially in the embedded world. ;) Lol, nah, Java will never be faster. The theoretical concept that JIT can optimize on the fly is good and all, and it may win out on the occasional operation, but I'm not naive enough to think it's ac...
by EccentricDuck
Thu Jun 23, 2011 12:20 pm
Forum: General/Off-Topic
Topic: So... guess who is a software engineer?
Replies: 39
Views: 7323

Re: So... guess who is a software engineer?

Computer Engineers are schooled in half electrical engineering, half computer science. We specialize in embedded platforms, architecture, operating systems, and that small little niche area where hardware and software meet. Unfortunately the job market is just so software-oriented these days, that ...
by EccentricDuck
Thu Jun 23, 2011 7:25 am
Forum: Programming Discussion
Topic: Artificial Stupidity
Replies: 25
Views: 3026

Re: Artificial Stupidity

My problem (at least in my mind) has nothing to do with collision. I'm simple trying to get the AI's x and y to the gem's x and y. The issue is that, so long as you increment more than one base unit every update call there's a chance of overstepping your target (throw floating point values into the...
by EccentricDuck
Wed Jun 22, 2011 7:44 am
Forum: General/Off-Topic
Topic: So... guess who is a software engineer?
Replies: 39
Views: 7323

Re: So... guess who is a software engineer?

Nice one, Im amazed that you havent been hired by a big corporation yet. That's exactly where I DON'T want to work. I interviewed with several. You've always striked me as somewhat entrepreneurial - would that be accurate? I ask partially because finding work environments that support an entreprene...
by EccentricDuck
Tue Jun 21, 2011 8:35 pm
Forum: Programming Discussion
Topic: Artificial Stupidity
Replies: 25
Views: 3026

Re: Artificial Stupidity

I just had another thought - what's your collision distance with the gem? If you don't do any fancy checks along the movement vector to detect collisions every frame it should be, at the very minimum, half of the minimum movement distance per frame so that you don't skip over the object. X - AI O - ...
by EccentricDuck
Tue Jun 21, 2011 6:24 am
Forum: General/Off-Topic
Topic: I think Falco was wrong... grievously wrong...
Replies: 21
Views: 6093

Re: I think Falco was wrong... grievously wrong...

@Van-B
That looks very cool. 2D sounds like a really good fit for what isn't yet out there (since Unity seems to cover 3D pretty well for cross-platform game development).
by EccentricDuck
Tue Jun 21, 2011 4:48 am
Forum: Programming Discussion
Topic: Artificial Stupidity
Replies: 25
Views: 3026

Re: Artificial Stupidity

Alright, I've fixed it so that the AI no longer walks past the gem. However, it now gets stuck when the AI is to the left of the gem. What was the fix to the initial problem? My suggestion would be to print the value of player2Pos.x and gemPos.x side by side so you can see if the values are as they...