Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (581)
Games in Android Showcase (162)
games submitted by our members
Games in WIP (632)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 5 6 [7] 8 9 10
 61 
 on: 2015-05-22 05:01:47 
Started by matanui159 - Last post by Ecumene
I haven't been on a lot lately (mainly because no-one really liked my game engine).
- I don't actually want to be a full on games developer. I just like programming and this is a program.

Code to Learn don't Learn to Code.

So really just code all the time and you'll be fine... persecutioncomplex

 62 
 on: 2015-05-22 04:56:20 
Started by BurntPizza - Last post by Ecumene
Canada Wide Science Fair was a bust, didn't win anything, It was fun though! I've been learning and programming neural networks for about 2 weeks now. Somehow a local summer science camp for teaching kids found me and shot me an interview. So on Saturday I will be going to my first job interview, for teaching PreK to Grade 6 how to program in Java, manage web-servers, and make robots with EV3 / NI-RoboIO platforms.

 63 
 on: 2015-05-22 04:46:43 
Started by Palocles - Last post by Palocles
Sorry it was late when i posted and couldn't find code tags.  Fixed now.

So, i can changed this:
1  
        InputStream in = this.getClass().getResourceAsStream(imsFNm);

to this:
1  
        InputStream in = this.getClass().getClassLoader().getResourceAsStream(imsFNm);

and it throws these errors:
Exception in thread "main" java.lang.IllegalArgumentException: input == null!
   at javax.imageio.ImageIO.read(ImageIO.java:1388)
   at barbarplatform.ImagesLoader.loadImage(ImagesLoader.java:290)
   at barbarplatform.ImagesLoader.loadSingleImage(ImagesLoader.java:119)
   at barbarplatform.ImagesLoader.getFileNameImage(ImagesLoader.java:96)
   at barbarplatform.ImagesLoader.loadImagesFile(ImagesLoader.java:65)
   at barbarplatform.ImagesLoader.<init>(ImagesLoader.java:35)
   at barbarplatform.GamePanel.<init>(GamePanel.java:90)
   at barbarplatform.BarbarPlatform.main(BarbarPlatform.java:29)
Java Result: 1

As did the other way but changing "images/" to "/images/" has worked.

Thank you KaiHH.

 64 
 on: 2015-05-22 03:54:48 
Started by scanevaro - Last post by craftm
The game is funny, good job!

The desktop version is working properly, but the web is slow, bad performance.

 65 
 on: 2015-05-22 02:52:15 
Started by BurntPizza - Last post by Ashedragon
Finally got my cable that'll allow me to record guitars (as opposed to the vsts that just don't sound as great without spending as much as an actual guitar costs). Played with that for an hour and a half. I need better amps, but I overall really enjoy the sound of it.

I also made this: https://soundcloud.com/literature-corner/the-beach
The levels and balance hasn't been messed with too much, so it's a bit off, but eh.

 66 
 on: 2015-05-22 02:37:52 
Started by BurntPizza - Last post by Slyth2727
Made some progress on my OS. Added a GDT and IDT almost successfully. Still some bugs to work out...
But I've got a working cross compiler, vga text, pretty good libc, and some other features Smiley all in a week. Feeling good about this new project. I like OS development me thinks.

 67 
 on: 2015-05-22 00:56:39 
Started by dan01941 - Last post by Some1epic123
Other than the intro text changing too fast (unless you're using some sort of input to do that), it looks
pretty cool for your first project. May I ask which libraries you used to make it?

 68 
 on: 2015-05-22 00:50:30 
Started by revers - Last post by thedanisaur
Yeah seriously, I've been watching this project since before I joined. I'm gonna have to d/l now.

 69 
 on: 2015-05-22 00:41:52 
Started by Computerology - Last post by Jesse
I recently needed a method that...well, the title says it all. This method takes the x, y, width and height values of a rectangle, and the two endpoints of a line, and returns true if the line intersects the rectangle range at all.

Apologies if I'm missing something or misinterpreting your code, but it seems there are a couple potential issues there. First, this:

1  
double m = (ly2-ly1)/(lx2-lx1);

May fail if the line is vertical or nearly vertical. For this reason, the slope form for lines is hardly every used in collision detection code. In general, representations that are invariant under rotation should be preferred.

Also, I think there may be some cases for which the function may not return the correct result, but I'd have to look at it a bit more carefully to be sure.

In any case, if you just need a boolean result, you don't need to do quite that much work. The separating axis test for a line segment and a box is simple and robust, and will handle all cases correctly. (Your code starts out as the SAT, but then instead of testing the axis parallel to the line normal, performs edge intersection tests instead.)

 70 
 on: 2015-05-22 00:20:19 
Started by Computerology - Last post by BurntPizza
Well yeah, it's not too bad but relative to other simple intersection tests it requires a fair bit of code.

Pages: 1 ... 5 6 [7] 8 9 10
 
Waterwolf (22 views)
2015-05-20 15:01:45

chrislo27 (26 views)
2015-05-20 03:42:21

BurntPizza (60 views)
2015-05-10 15:53:18

FrozenShade (46 views)
2015-05-07 09:11:21

TheLopais (209 views)
2015-05-06 13:36:48

TheLopais (193 views)
2015-05-06 13:35:14

TheLopais (200 views)
2015-05-06 13:33:39

TheLopais (217 views)
2015-05-06 13:32:48

TheLopais (215 views)
2015-05-06 13:31:28

ClaasJG (237 views)
2015-04-30 20:33:25
List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!