Omnimaga

General Discussion => Introduce Yourself! => Topic started by: Elandlord on December 19, 2012, 04:57:30 pm

Title: Hello World!
Post by: Elandlord on December 19, 2012, 04:57:30 pm
Hello everyone!

I'm an IT student from the Netherlands and like the most of you I sometimes encounter difficult problems I can't solve on my own.

I've got some experience in HTML, PHP, JS, jQuery, AJAX, VB and recently I started with Java.
I will help you guys as much as my knowledge can provide.

Greetings, Elandlord
(peanuts? :))
Title: Re: Hello World!
Post by: Juju on December 19, 2012, 05:00:50 pm
Welcome on Omnimaga!

!peanuts
Title: Re: Re: Hello World!
Post by: Scipi on December 19, 2012, 06:10:33 pm
Ooh, Java is a fun language :P

Welcome to omni~

Peanuts for you :D! !peanuts
Title: Re: Hello World!
Post by: XiiDraco on December 19, 2012, 06:43:09 pm
Ooh, Java is a fun language :P

Welcome to omni~

Peanuts for you :D! peanuts

I agree, I'm trying to learn it but don't have my own computer. Its troublesome...
Title: Re: Hello World!
Post by: stevon8ter on December 19, 2012, 06:46:04 pm
Welcome to omni.. Have fun and i hope we can help you... :D any current projects?

Also: !peanuts
Title: Re: Hello World!
Post by: Sorunome on December 19, 2012, 07:15:37 pm
Here, have some peanuts!
!peanuts
And you probably do a lot of web programming if i look on what you already do? ;)
You should also look into mysql then :D
Title: Re: Hello World!
Post by: stevon8ter on December 19, 2012, 07:17:54 pm
Yes mysql is defenitly a must if you wanna go further on web developing, if you ever intend to make a login (if it's very few people, a .txt file is also possible but mysql is better for large and small) or some forum, then you'll also need mysql
Title: Re: Hello World!
Post by: Elandlord on December 19, 2012, 07:49:10 pm
Well, i didn't include SQL as it is not a programming language. I do already know how to use SQL and make Databases and such.
SQL is a fairly easy language to learn and you could use SQL workbench for creating databases. Besides that, i use the program XAMPP for simulating a server.

In my free time I like to make websites, so yes, i'm a lot into web development.  ;D

The projects i currently work on in Java are:
2D games in Eclipse
3D games in jMonkeyEngine SDK
Implementing java on a webpage
'Normal' school homework


My Java knowledge is still basic. For example, i'm still trying to figure out collision detection in 2D which i have a lot of trouble with.
If any of you have any ideas for collision detection let me know :)

Title: Re: Hello World!
Post by: Sorunome on December 19, 2012, 08:26:18 pm
Well, i didn't include SQL as it is not a programming language.
So isn't HTML ;)
Title: Re: Hello World!
Post by: Scipi on December 19, 2012, 09:44:45 pm
My Java knowledge is still basic. For example, i'm still trying to figure out collision detection in 2D which i have a lot of trouble with.
If any of you have any ideas for collision detection let me know :)

This is actually simple. Create an object called Rect for anything with collision data. Rect has an x, y, width, and length. If two rects overlap, they collide. All you have to do is check if the object you want to test collides or will collide with anything and then do (or not do) something.
Title: Re: Hello World!
Post by: DJ Omnimaga on December 19, 2012, 11:00:20 pm
Ooh, Java is a fun language :P

Yes but can it run Crysis?

Joking aside, welcome here Elandlord :)
Title: Re: Hello World!
Post by: XiiDraco on December 20, 2012, 01:27:08 am
My Java knowledge is still basic. For example, i'm still trying to figure out collision detection in 2D which i have a lot of trouble with.
If any of you have any ideas for collision detection let me know :)

This is actually simple. Create an object called Rect for anything with collision data. Rect has an x, y, width, and length. If two rects overlap, they collide. All you have to do is check if the object you want to test collides or will collide with anything and then do (or not do) something.


Surprisingly I suck at Java but this is one of the things I do know how to do XD
Oh and welcome
Title: Re: Hello World!
Post by: ElementCoder on December 20, 2012, 03:00:10 am
My Java knowledge is still basic. For example, i'm still trying to figure out collision detection in 2D which i have a lot of trouble with.
If any of you have any ideas for collision detection let me know :)
This is actually simple. Create an object called Rect for anything with collision data. Rect has an x, y, width, and length. If two rects overlap, they collide. All you have to do is check if the object you want to test collides or will collide with anything and then do (or not do) something.
But what about more complex shapes, more rects to approximate the shape?\
Also: moar peanuts :D !peanuts
[edit]Why not give you all of them (http://img.removedfromgame.com/imgs/dynamic-peanuts.gif)
Title: Re: Hello World!
Post by: Elandlord on December 20, 2012, 03:45:42 am
Well, i didn't include SQL as it is not a programming language.
So isn't HTML ;)

Indeed, my bad :')

But for me it comes closer to it than SQL
Title: Re: Hello World!
Post by: Scipi on December 20, 2012, 06:35:43 am
Quote
But what about more complex shapes, more rects to approximate the shape?\

In that case, you would have several rects to an object. It would work well to have a container of reacts in that case and test collision for each one.
Title: Re: Hello World!
Post by: Scipi on December 20, 2012, 06:35:44 am
Quote
But what about more complex shapes, more rects to approximate the shape?\

In that case, you would have several rects to an object. It would work well to have a container of reacts in that case and test collision for each one.
Title: Re: Hello World!
Post by: Elandlord on December 20, 2012, 10:19:17 am

In that case, you would have several rects to an object. It would work well to have a container of reacts in that case and test collision for each one.

Wouldn't that be a very cumbersome way of checking collision?
Title: Re: Hello World!
Post by: ElementCoder on December 20, 2012, 10:23:38 am

In that case, you would have several rects to an object. It would work well to have a container of reacts in that case and test collision for each one.

Wouldn't that be a very cumbersome way of checking collision?
I think it is the best way to approach it. As I've learned, rectangles are easy to compute and more complex shapes take up more computing time (especially round shapes).
Title: Re: Hello World!
Post by: Scipi on December 20, 2012, 10:26:09 am
Actually, never underestimate the rate at which collisions can be tested. Take this for example, a game I made last year in C++. (Sorry for my fail commentary) :P



Each bullet tests for collision with each zombie. It even does it in a more dubious way where each bullet will have several rects for where it's predicted to go the next frame (so as to avoid bullets "phasing" through enemies) and it still runs very smoothly, even with hundreds of bullets and zombies at once.
Title: Re: Hello World!
Post by: ElementCoder on December 20, 2012, 10:30:10 am
Looks pretty nice. I guess the effects won't be noticable untill you go insane and draw billions of them on screen at once :P
Title: Re: Hello World!
Post by: Scipi on December 20, 2012, 10:45:01 am
Looks pretty nice. I guess the effects won't be noticable untill you go insane and draw billions of them on screen at once :P

I think it started lagging at about the tens of thousands, and that was because each zombie was drawn even while off screen :P