Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (524)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (593)
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 ... 13
1  Games Center / WIP games, tools & toy projects / Re: Mercury: The Simple 2D Game Library | >> BETA coming soon << on: 2014-11-17 19:45:49
Great work, I love the FrameBuffer API : )
2  Games Center / WIP games, tools & toy projects / Re: Really a Markup Language (RML) on: 2014-11-03 18:11:02
Thinking about making a syntax change:
1  
2  
3  
4  
5  
6  
7  
8  
9  
rml(class:Main){
   func(name:$main){
      double(name:hello, value:10);
      @var(name:hello, set:30);
      print(){
         Hello World
      }
   }
}


Any suggestions?

This seems almost intentionally confusing haha
I would go with a traditional approach :
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
SomeClass {

name = "Saucy"
value = 10

main {
print "Hello World"
}

}
3  Games Center / WIP games, tools & toy projects / Re: SJGL (Simple Java Game Library) on: 2014-11-01 17:49:19
You should get the library on github Smiley
You're missing out on alot of constructive critisism from people who dont have time to download stuff
4  Discussions / Business and Project Management Discussions / Re: [Help] Looking for: Project Management Software (web) on: 2014-10-30 12:41:49
For a team of only 2 people, probably none.
For a team of 5+ people, slack is the way to go.
5  Discussions / Business and Project Management Discussions / Re: Join JumpButtonStudio! on: 2014-10-30 12:17:55
If you have to check with your parents, you need not apply. Sorry.
6  Discussions / Business and Project Management Discussions / Re: [Help] Looking for: Project Management Software (web) on: 2014-10-29 19:08:31
Slack is absolutely amazing. And free.
I wouldnt use it for planning though, its more for team communication.
7  Discussions / Business and Project Management Discussions / Re: Join JumpButtonStudio! on: 2014-10-29 18:51:59
Definitely, send an application to VanAficionado àt gmail.com Smiley
8  Discussions / Business and Project Management Discussions / Re: Mobile Advertisment/ Admob: How much do you really earn? Where to find the data? on: 2014-10-20 17:49:31
Google AdMob users are prohibited from releasing details about their earnings.
However I found this post on the pastebay that seems to have some insight on the subject :
pastebay.net/1510579
9  Game Development / Game Mechanics / Re: Moddius - A simple Modloader compatible with ANY Java game! (20+ Downloads!) on: 2014-10-09 20:52:56
Did you not read my last post?
Oops, I must not have.
I just kinda filter out messages that are all capital letters.

I'm a little confused as to what the Library does, I understand generally that it SHORTENS CODE, but a demonstration of the library would really help me understand the code-shortening capabilities of Moddius.
10  Games Center / WIP games, tools & toy projects / Re: Mercury: A Simple 2D Game Library | -> Beta coming soon <- on: 2014-10-09 17:17:18
Is this project still in development?
11  Discussions / General Discussions / Re: What is wrong with reinventing the wheel? on: 2014-10-08 19:45:33
Pride is the enemy of innovation.
Program games, not wheels.
12  Discussions / Miscellaneous Topics / Re: Name that Poker hand - Tiny Code Challenge on: 2014-10-07 22:43:35

Different algorithm - not sure how to count but this is about 40 chars fewer than the most recent one. Possibly buggy but handles the official test data so this way seems viable at least.

About 320:
1  
2  
3  
4  
5  
6  
7  
int h(char[]g) {
  int i=0,f=0,k=0,s=0,p=0,t=0,q=0,n=0;
  for(;i<17;i++){n=0;for(char x:g)if(x=="A23456789TJQKCDHS".charAt(i))n++;
  if(i<13){if(n>0&&i==12)k++;if(n==1)s++;else if(s<5)s=1;if(n==2)p++;if(n==3)t++;if(n==4)q++;}
  else if(n==5)f=1;}if(s<5)s=0;for(i=0;new int[]{f&s&k,f&s,q,t&p,f,s,t,p-1,p,1}[i]<=0;i++);
  return 99-i;
}

Cant you omit the "=0" when declaring the int "n"? n gets defined anyways at the beginning of the for loop.
13  Game Development / Game Mechanics / Re: Moddius - A simple Modloader compatible with ANY Java game! (15+ Downloads!) on: 2014-10-07 20:28:46
Does this library use the Reflections Library?
If it doesnt, it would be a great alternative to Java's native reflection API.
Here is a link :
code.google.com/p/reflections
14  Discussions / General Discussions / Re: Should i allow everyone to see my game source code? on: 2014-10-05 02:13:25
Its great to hear that RetroPixel castles is going to be open-source Smiley
Too many people irrationally fear that people are going to try to "steal" their code (Whatever that means...)
15  Games Center / WIP games, tools & toy projects / Re: [Android] Viking Dodge on: 2014-10-05 02:07:58
You should open-source VikingDodge Smiley
16  Games Center / WIP games, tools & toy projects / Re: Astrofirm on: 2014-10-05 02:05:33
Looks pretty fun Smiley
Great work.
When do you think it'll be complete?
17  Game Development / Newbie & Debugging Questions / Re: (LWJGL) A new aproach on: 2014-10-05 01:57:26
I second this challenge.
18  Game Development / Newbie & Debugging Questions / Re: Adding gravity on: 2014-09-27 13:06:43
1  
2  
3  
layer.setVerticalSpeed(layer.getVerticalSpeedSpeed() + 0.25);
layer.setX(layer.getPreciseX() + layer.getHorizontalSpeed());
layer.setY(layer.getPreciseY() + layer.getVerticalSpeedSpeed());


and when I set the speed
1  
2  
3  
4  
5  
int speed = 3 + r.nextInt(5);
int direction = r.nextInt(360);

layer.setHorizontalSpeed(Math.sin(Math.toRadians(direction)) * speed);
layer.setVerticalSpeed(Math.cos(Math.toRadians(direction)) * speed);

Why layer.getVerticalSpeedSpeed() haha?
The second speed seems redundant
You should use the term "acceleration" if you actually mean the speed at which the speed increases.
19  Games Center / WIP games, tools & toy projects / Re: Red Game 2D Engine (unfinished, feedback please) on: 2014-09-25 17:42:16
Ie
Here are some pictures:
GENERAL PICTURE:


DEBUG AND GRAPHER:


POLY FILE:


CODE SNIPET (extending and overriding Sprite class (see below)):





General Idea:
  • There is a 'World' class (static class) which is where everything goes.
  • You override the 'Sprite' class and add it to the world.
  • When an event happens (like someone joining your server), the world will use Java reflection to call a certain method (like 'netAccepted(ClientController)') on all the sprites. If the method returns an error, it will display the error. If the method doesn't exist, it won't care.
  • The good thing with using reflection is that other people can add their own events and just add the methods to all the sprites which they want to catch the event.


Fist impressions :
- Camera is a Sprite, which is confusing to me
- Reflection is not neccesary to have an events system
- Having a static world class "where everything goes" is bad because it makes decoupling different components of a game very difficult.
20  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > KICKSTARTER, GREENLIGHT AND NEW BUILD LAUNCHED < on: 2014-09-24 18:31:30
I'm amazed anyone would vote "No thanks" to this project on Greenlight.
This project has come so far in such a short amount of time, its really impressive.
Great work Smiley
21  Discussions / Miscellaneous Topics / Re: Whays the story behind your name on: 2014-09-22 03:41:59
My username is just my real name.
22  Game Development / Newbie & Debugging Questions / Re: Frame-Rate Independent Tickrate on: 2014-09-20 23:04:32
Creating a new thread in this situation is uneccesary, and will create more problems then it will solve.

That depends entirely on how many entities need to be updated and what is involved in updating entities. If there is too much involved in updating entities, then rendering framerate will suffer. If the updating requires no rendering or opengl functions and the updating takes a lot of time, then multithreading is superior. Smiley

In summary, if the updating entities takes a while and doesn't have to use opengl for anything, then properly handled multi-threading may be necessary. However, the actual determination of whether it is needed depends on more information.

CopyableCougar4
Absolutely, having worker threads that handle slow operations can be usefull in certain cases (But would not make the update rate indipentant of the FPS).
My argument was against moving the entire update loop to another thread.
23  Game Development / Newbie & Debugging Questions / Re: Frame-Rate Independent Tickrate on: 2014-09-20 22:48:29
Not a stupid question at all!

The easiest, and simplest way, is to pass a float into your update method that represents the time past since the last update (AKA : deltaTime)

Your update method would look something like this :

1  
2  
3  
public void update(float delataTime) {
exampleObject.move(speed * deltaTime);
}


Please note that this solution will cause small floating-point errors that can negitively affect networked games.

*Edit*
Creating a new thread in this situation is uneccesary, and will create more problems then it will solve.
24  Java Game APIs & Engines / Android / Re: Hello all on: 2014-09-17 18:02:39
You cannot program a game without knowing how to program.
Copying and pasting code will get you no-where.
Learn to program, then in a month, start programming your first game Smiley
25  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > Building Info! < on: 2014-09-14 20:11:11
This game looks fantastic.
26  Games Center / WIP games, tools & toy projects / Re: Gunslugs 2 - 10th week of development on: 2014-09-14 20:02:36
This game looks very well made, it'll definitely sell well Smiley
Plus it looks like alot of fun!
Who did the art?
27  Games Center / Android Showcase / Re: [Android] Chainsaw Cat (not playable until next week) on: 2014-09-14 18:26:48
This game looks hilarious!
I cant wait to try it.
When do you think a demo will be ready?
28  Games Center / WIP games, tools & toy projects / Re: Schermutseling on: 2014-09-14 13:45:46
Is there a desktop version I can play with?
29  Discussions / General Discussions / Re: great article on good coding practice on: 2014-09-11 20:55:25
"How to Hide Forbidden Globals

Since global variables are "evil", define a structure to hold all the things you'd put in globals. Call it something clever like EverythingYoullEverNeed. Make all functions take a pointer to this structure (call it handle to confuse things more). This gives the impression that you're not using global variables, you're accessing everything through a "handle". Then declare one statically so that all the code is using the same copy anyway."

Love it -^
30  Discussions / General Discussions / Re: Microsoft to buy Mojang for $2 billion? on: 2014-09-10 18:47:17
"The Wall Street Journal is reporting that Microsoft is in talks to buy Swedish game developer Mojang, best known for its block-based zombie survival building game Minecraft"
Its really not a zombie survival game at all, I'm a little disapointed in arstechnica.
Pages: [1] 2 3 ... 13
 

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

The first screenshot will be displayed as a thumbnail.

toopeicgaming1999 (19 views)
2014-11-26 15:22:04

toopeicgaming1999 (17 views)
2014-11-26 15:20:36

toopeicgaming1999 (7 views)
2014-11-26 15:20:08

SHC (24 views)
2014-11-25 12:00:59

SHC (24 views)
2014-11-25 11:53:45

Norakomi (24 views)
2014-11-25 11:26:43

Gibbo3771 (22 views)
2014-11-24 19:59:16

trollwarrior1 (36 views)
2014-11-22 12:13:56

xFryIx (74 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50
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!