Omnimaga
General Discussion => Introduce Yourself! => Topic started 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? :))
-
Welcome on Omnimaga!
!peanuts
-
Ooh, Java is a fun language :P
Welcome to omni~
Peanuts for you :D! !peanuts
-
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...
-
Welcome to omni.. Have fun and i hope we can help you... :D any current projects?
Also: !peanuts
-
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
-
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
-
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 :)
-
Well, i didn't include SQL as it is not a programming language.
So isn't HTML ;)
-
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.
-
Ooh, Java is a fun language :P
Yes but can it run Crysis?
Joking aside, welcome here Elandlord :)
-
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
-
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)
-
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
-
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.
-
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.
-
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?
-
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).
-
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.
-
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
-
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