Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 24
1  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-10-20 19:31:31
Heart attack incoming Grin

Drew a dark planet today for a background using this great tutorial for paint.net.
2  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [Box2D] Dynamic body floating over static bodies on: 2014-10-17 18:32:49
@Grunnt So I would use my main camera's matrix? The debug camera does not render the world, it is there solely for rendering the Box2D debug renderer.

You should use a scaled version of the main camera matrix. I'm not sure what your debugcamera does and how it is initialized, but maybe there is the problem. This is what I do, and it works fine (and accurate) for me:

In update:
1  
debugMatrix.set(worldView.getCamera().combined).scale(Constants.BOX2D_TO_SCREEN, Constants.BOX2D_TO_SCREEN,1f);


In render:
1  
debugRenderer.render(world, debugMatrix);
3  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [Box2D] Dynamic body floating over static bodies on: 2014-10-17 08:28:40
My guess would be that the debugrenderer does not show the Box2D shapes in the correct size. The issue may be this line:
1  
debugRenderer.render(world, getMain().getDebugCamera().combined.cpy().scale(Game.BOX_TO_WORLD, Game.BOX_TO_WORLD, 1));


Normally you would use a matrix for debug rendering that is a scaled version of the game world camera combined matrix. Do you use the debugCamera for rendering the game world, or is it a scaled version of the game world camera already?
4  Discussions / Business and Project Management Discussions / Re: Looking for pixel artists and level designers on: 2014-10-12 08:53:26
Now we're talking, looks great! Good luck finding help.
5  Discussions / Business and Project Management Discussions / Re: Looking for pixel artists and level designers on: 2014-10-10 19:56:40
Some random thoughts: there doesn't seem to be any information about the game on your site. No screenshots, no feature list, no deacription. Just a lot of pictures of big-eyed manga girls. Also, the website is sloooooowwww, takes 5 seconds minimum to load a page. Place the link between [ url ] address [ /url ] tags, it will turn it into a hyperlink.

Anyways, good luck with this.

6  Discussions / General Discussions / Re: New feature: registration and login through Facebook, Google, etc on: 2014-10-10 19:51:10
I normally use a password manager (KeePass) so I don't have to remember passwords, and I'm able to use random passwords with 180bit entropy. It's nice if you want to beef up your personal data security a bit.
7  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > GREENLIT + FUNDED!!!! WOooOOOoooOooOoo! < on: 2014-10-10 19:48:39
ZOMG is the game still not finished???

Just kidding. Great to hear you got to your funding goal already! Let's hope you'll reach some stretch goals as well.
8  Game Development / Game Mechanics / Re: Moddius - A simple Modloader compatible with ANY Java game! (20+ Downloads!) on: 2014-10-10 10:56:11
Ok, I give up...
9  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > GREENLIT! WOooOOOoooOooOoo! < on: 2014-10-10 07:00:13
Great job, and well deserved  Wink
10  Discussions / General Discussions / Re: New feature: registration and login through Facebook, Google, etc on: 2014-10-09 17:02:11
Ok, works fine for me. Some things I noticed: I entered a wrong password, second attempt worked but sent me to Facebook site instead of JGO. Second try logging in at JGO worked just fine, after several screens (one FB, one JGO) flickered by.
11  Discussions / General Discussions / Re: Worried on: 2014-10-09 15:55:17
Learning more programming languages is:
1  
1+1=3


Also, using c++ in combination with Java is very well possible (although usually not necessary to make a game or application). For example, LibGDX is essentially a combination of c/c++ (a native interface to the OS) and Java (which you talk to in your Java applications). Take a look at the Java Native Interface, it may be a nice thing to learn as well if you know both languages.
12  Game Development / Newbie & Debugging Questions / Re: How to learn about build systems. (Gradle, LibGDX) on: 2014-10-09 15:51:38
You may be confusing several different things:
- a build scripting system (e.g. Ant, Gradle, ...)
- a code repository (e.g. a SVN or GIT repository such as BitBucket or GitHub)
- a compile environment (e.g. JDK)

The building is done by the compiler, such as the JDK, for example by calling javac.exe. Building means that the java files are compiled to class files and perhaps placed in a jar file.

To automate the building, typically build scripting systems such as Gradle are used. A build script describes what to compile and build. A build script could for example call javac on your java files and then place them in a runnable jar.

And finally you can store your source code, along with the build scripts, in a code repository. Typically you upload ("commit") only the source files and the build script, and not the built class and jar files generated by the build script, but that is up to you.

So if you want to learn about build systems, for example Gradle in combination with LibGDX:
- read more about how java applications are compiled
- read the Gradle tutorials and docs
- make a simple java project (for example a couple of classes with no libraries or natives) which you try to compile using a gradle build script you wrote yourself from scratch
- take a close look at the libgdx gradle script, and try to see if you can figure out what it does (this may be a bit hard, though)
13  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-10-09 15:42:02
Vodka is horrid, tastless stuff. You might as well drink turpentine (don't do that though). Blegh.

Also, drinking half a bottle of vodka may kill you if you drink it in one gulp. Do not do it.
14  Game Development / Game Mechanics / Re: Moddius - A simple Modloader compatible with ANY Java game! (20+ Downloads!) on: 2014-10-08 08:49:09
@lvivtotoro: I think most people on this thread sincerely try to understand what you are trying to do here, but fail to do so. Yelling at them will not improve their understanding.

Maybe you could post the source code to your library? That might help.
15  Discussions / General Discussions / Re: What is wrong with reinventing the wheel? on: 2014-10-08 07:24:51
You decide what to do with your time so no, ofcourse there is nothing wrong with inventing the wheel.

IF you want to learn more about how the wheel works:
 reinventing the wheel is excellent

IF you want to make a cart:
 consider using someone else's wheels

I'm not stamping silicon wafers for chips or programming in assembly, but I'm also not using game maker (which I think may be a wheel with too few possibilities for me). Each their own level of reinventing. Just do your reinventing consciously; it would be a shame if you would never finish a game due to continuous reinventing of wheels (assuming you want to finish a game).
16  Discussions / General Discussions / Re: Why are people jerks? on: 2014-10-07 11:16:12
Just be nice.  Pointing

  Wink
17  Discussions / General Discussions / Re: Why are people jerks? on: 2014-10-06 18:52:57
Just saw this listed on HackerNews, a worthy read on this topic:
   "Open Source is awful in many ways, and people should be aware of this"
https://plus.google.com/app/basic/stream/z13rdjryqyn1xlt3522sxpugoz3gujbhh04
18  Games Center / WIP games, tools & toy projects / Re: Army Men - a 3do fangame! on: 2014-10-06 09:09:44
Looks great :-) Reminds me a bit of a tower defense game I loved: http://www.signalstudios.net/games/toy-soldiers-complete
19  Discussions / Miscellaneous Topics / Re: [news] Windows 10 (9) on: 2014-10-05 16:12:33
Yeah well, as far as I know no Apple product ever offered a really "new" feature, yet they sell like crazy. Who cares if something is technically new. Microsoft, for a long time now, has been making an operating system that Just Works.

You don't need to compile a kernel to get your peripherals working, and you can quite decently use Microsoft windows with devices and software from pretty much all manufacturers. It works very well with the best office suite and it's the best gaming OS. Its also (still) in use by something like 90% of computer users.

There's simply nothing like Windows, even though I would not mind having a serious alternative.
20  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-10-02 12:47:03
Yeah, beautifully detailed and expressive. I love it.
21  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-10-01 18:44:39
Wrote a little blog post on inspiration for game development coming from the Homeworld series. Great games, those.
22  Discussions / General Discussions / Re: How do you come up with ideas for games? on: 2014-10-01 17:49:27
My inspiration usually comes from - surprise - playing games. I find a game I really like, then see another game I really like and then something clicks inside my head and concepts from one game combine with concepts from another game and presto: an "original" game idea.

Really, how to get ideas for games? Play games.
23  Discussions / Business and Project Management Discussions / Re: Starting a small dev business on: 2014-10-01 06:37:28
You could start thinking about how to split profits once you have a product you could potentially sell. This sounds like you make this into a problem much too soon.
24  Game Development / Newbie & Debugging Questions / Re: LibGDX - Screen states issue on: 2014-09-29 16:17:54
Try to put some effort into describing your problem. For example, tell us:
  • what is the error that you see? any stack trace?
  • what library do you use for your GUI? Scene2D UI or something else?
  • show us some code you think the problem may lie in (in code tags: [ code ] ... [ / code ] for readability)
25  Java Game APIs & Engines / Engines, Libraries and Tools / Re: How to install Eclipse on: 2014-09-29 16:14:58
Or:
26  Game Development / Game Mechanics / Re: Moddius - A simple Modloader compatible with ANY Java game! (15+ Downloads!) on: 2014-09-29 14:52:56
Interesting idea. However, I have a hard time understanding how this will be useful. What does it do?

I mean, it's not terribly hard to add a jar to a classpath:
1  
java -cp game.jar;mods.jar ...


How does your mod loader help with this?
27  Game Development / Game Mechanics / Re: Issues with gravity on: 2014-09-29 14:49:49
You can always "cheat" and simply place a limit on maximum speed. I believe practically all physics simulations do this to avoid problems like the one you mentioned.
28  Game Development / Newbie & Debugging Questions / Re: LibGDX - Fade In problem on: 2014-09-29 14:14:20
if(fadeIn == true) alpha = (float) (alpha + 0.02);
if(alpha == 1) alpha = 1;

There are some big errors in this code. Here's what I suppose you wanted to do:
1  
2  
3  
4  
5  
6  
if(fadeIn) {   // no need to write == true 
   alpha = (float) (alpha + 0.02 * delta);      // you need to factor in delta time since last frame or your fade will be different on faster/slower computers
}
if(alpha > 1) {  // better check for > 1 because == 1 will nearly always fail
   alpha = 1;
}


Try to copy-paste your code next time, and use code tags ([ code ] ... [ / code ]). It makes your code easier to read and helps us find the cause of the problem.

Good luck!
29  Game Development / Newbie & Debugging Questions / Re: LibGDX - Coordinate Issue with Gdx.input.istouched on: 2014-09-29 14:07:16
When I run my game on the desktop, if I click a rectangle it works.. however on the android, the rectangle is in a different position, yet the img is normal.

I don't get the question. What rectangle do you click, and how does that rectangle relate to "the" img? If you want help put some effort in explaining what the question is, because this does not make sense.
30  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-09-28 19:56:37
Well, I haven't completely figured it out yet, but so far I have in mind a cross between homeworld, tetris, FTL and Star Control. Save the galaxy in roguelike style using your spaceship built out of collected tetris-like parts. Something like that..

Anyway I gotta go to bed, work tomorrow!
Pages: [1] 2 3 ... 24
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (37 views)
2014-10-17 03:59:02

Norakomi (28 views)
2014-10-16 15:22:06

Norakomi (24 views)
2014-10-16 15:20:20

lcass (28 views)
2014-10-15 16:18:58

TehJavaDev (52 views)
2014-10-14 00:39:48

TehJavaDev (54 views)
2014-10-14 00:35:47

TehJavaDev (42 views)
2014-10-14 00:32:37

BurntPizza (64 views)
2014-10-11 23:24:42

BurntPizza (36 views)
2014-10-11 23:10:45

BurntPizza (77 views)
2014-10-11 22:30:10
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

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!