Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (622)
Games in Android Showcase (176)
games submitted by our members
Games in WIP (674)
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 ... 10
1  Games Center / WIP games, tools & toy projects / Re: Suzzle on: 2015-09-29 11:22:34
I'm running Xubuntu Linux 14.04, Oracle Java 1.8.0_45 and it worked mostly fine.

When I first did the java -jar on the Suzzle.jar, it crashed with an UnsatisfiedLinkError, so me being lazy and not wanting to deal with command line voodoo magic, I used Ninja Cave's Jarsplice to pack all the resources and run it.

I really like the minimalistic art style. It's really cool  Grin

I was happily playing along and got to the level that said "Ha ha" with the jump and the spinning laser, so I jumped over the laser and the game crashed. The crash dump is here.

I have some questions though!
1. Why are you using JS and what for?
2. How did you get the screen shake when running?

I'm very impressed that it runs smoothly on my awful 2 GB Celeron laptop while having Ecipse, a million tabs in Chrome, Skype, various folders, Sublime Text and two terminals open. Well done!

1. The art style is minimalistic because I am a terrible artist.
2. The crash is normal. If the next level cannot be loaded the game just crashes. I should make it go to the mainmenu instead...
3. I redid the level loading system. JavaScript is no longer used from the next version on (I am using a simplified LISP now). Also means I will have to redo all levels.
4. Thats 'view bobbing'; though in this case its called 'DynamicCrazyBob'.
5. It runs smoothly mostly because there is barely anything drawn, and there is (pretty much) zero memory allocations.

Thanks for playtesting Suzzle. Expect a new version (hopefully) within the week.
2  Game Development / Newbie & Debugging Questions / Re: Handling a large variety of spells and/or weapons on: 2015-09-16 18:55:04
This type of spellHandling is already alot better than I am currently doing, but still is it the best?

Just chiming in here:
There is no such thing as 'the best', since different games/applications need different functionality.
You can't make a 'fit all' solution, its simply not possible.
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-09-16 15:26:36

Wow, this exact situation you are in is happening to one of my classmates too.
(That is; 'Friend' takes away girlfriend; Depression happens).

What I Did Today: Refactored my game Suzzle all the way to hell and back (twice) and subsequently reduced the packed filesize by roughly (EDIT) 2.3 megabyte while still keeping all game features intact. Ripping apart lwjgl2 is fun.
4  Games Center / WIP games, tools & toy projects / Re: Suzzle on: 2015-09-15 14:05:58
So... I downloaded LWJGL 2.9.3 and used that to build+pack a new version.
The download link in the OP got replaced, but I am gonna put it here too:
Download Suzzle from Google-Drive

Can anybody confirm that its (not?) working?

I started working on a ingame level editor (I can already select/pick objects). When I am done I can create new (and better) levels a lot faster. Right now its just terribly annoying/complicated to make new levels.
5  Games Center / WIP games, tools & toy projects / Re: Suzzle on: 2015-09-14 22:12:31
Well... I somehow managed to either pack the wrong version, or corrupted copies, of the lwjgl natives into the zip.
I will upload the correct versions tomorrow when I can use my neighbours internet connection, because right now uploading anything bigger than a few kilobytes takes forever. Also should update to lwjgl 2.9.3 while I am at it.

Here are some 'patches' you can merge into the Suzzle.jar, if you want to help debugging.

6  Games Center / WIP games, tools & toy projects / Suzzle on: 2015-09-14 20:47:18
Hi everyone!

About 3 years ago I started making a game for my little brother, then for some reason stopped working on it.
A few days ago I found the project files and decided to work on it again.

And here is the result!

Fun fact: This is also the first time I am releasing something that can be called a 'game' into the public.

Suzzle! (The name doesn't have a meaning)

This game is a simple 3D puzzle platformer were you can run, jump, press buttons, fall down and get burned to death by lasers.
There really isn't anything to explain about this game. Also, there isn't much content yet, only a few levels.

The controls are explained in game using floating text, but for no good reason here they are:
  • MOUSE, to look around.
  • W A S D, to move around.
  • SPACE, to jump.
  • SHIFT, to run.
  • LEFT MOUSE BUTTON, to click buttons.

The game uses:
  • LWJGL 2, by the lwjgl team.
  • TinySound, by kuusisto
  • Rhino, by Mozilla
  • OpenGLText, by Philip Diffenderfer

Running the game requires barely 10mb of ram, Java 1.6 (preferably 1.7), and a OpenGL 1.1 compatible graphicscard because I am using immediate mode rendering (don't ask why... just don't).

Here is the download (version 0.3):
Download from Google Drive
(Note: The download button is on a hidden taskbar at the top of the site)

Please report any bugs/errors/problems, and if you get a crashlog post it as a pastebin.

Feedback is appreciated and suggestions are welcome.

Have a nice day!

- Longor1996

IMPORTANT NOTE: The game seems to have problems starting on linux and mac due to the packed native libraries being corrupt/the wrong version. Sorry about that.
Uploaded a new version and replaced download link. Should be fixed now. Can anyone confirm?
7  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-09-13 18:17:02
What I did today... or rather the last few days!

I picked up a dead project of mine again after ignoring it for roughly a year.

Its a small 3D jump'n'run game called 'Suzzle'.
There are only 6 levels right now, but its pretty playable.

Here's a download (4.1 megabyte):

(PS: This is the first actual game I ever released, yay!)
(PPS: Not going to make a thread for it right now; Not enough content)
8  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-09-09 20:23:39
I made a logo in inkscape just for fun, and it actually looks okay for once!

9  Game Development / Newbie & Debugging Questions / Re: Patchwork style render on: 2015-09-06 21:21:04
Go and find out what values the voronoise function gives you at these 'edges', then try to 'if them out'.
10  Game Development / Newbie & Debugging Questions / Re: Patchwork style render on: 2015-09-06 09:54:39
You should take a look at this:
Non-so-efficient Java implementation (by me) here:
11  Game Development / Newbie & Debugging Questions / Re: Game has a bunch of short pauses on: 2015-08-28 15:46:47
These pauses are definitely caused by the GC doing a full scan to clear memory. Also, how/why are you creating 200kb of objects every frame? That sounds like way too many object allocations to me.
12  Java Game APIs & Engines / Tools Discussion / Re: jBullet3 on: 2015-08-28 12:30:13
Don't forget about supporting LWJGL3 (which has OpenCL too).
13  Discussions / General Discussions / Re: Excelsior JET Charity Bundles 2015 on: 2015-08-22 11:57:55
Quick question: How long does the license hold? e.g.: Is there a point at which I have to buy the full version for 1500$?
14  Game Development / Newbie & Debugging Questions / Re: JavaFX 8 - Custom events on: 2015-08-20 18:44:16
if(died() == true){
    Main.state = DIED;//where Main.class is your main class for example

if(Main.state == DIED){
    //fire event

That is a absolutely terrible idea. The moment you need more than one sprite, the system breaks down.

A much better way is to have a method in the class of your 'thing' that is called when the 'thing' dies.
This method could then fire a event, or put a message in some queue that is continously read.

EDIT: A very quick google search that should tell you what you want:
15  Java Game APIs & Engines / OpenGL Development / Re: Vulkan ETA late 2015, Android support, Apple NOT supported on: 2015-08-14 15:21:13
Okay, now that's just stupid.
16  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-05-21 11:53:05
Added stb bindings to LWJGL 3:
(will post details when the build is up)

- For what platforms will this be available?
- Is this going to be built right into LWJGL3?

Because this looks awesome!
17  Java Game APIs & Engines / OpenGL Development / Re: Precision and value range on: 2015-04-23 13:08:23
AFAIK: A single float can go up to ~1 lightyear with one unit being a single meter (e.g.: Float.MAX_VALUE roughly equals 1 lightyear).
If you do things right, you can continue to use floats without trouble.

Before drawing any body (or system of bodies) calculate the offset from the body to the camera and translate by that instead of translating the whole scene for rendering (as it is usually done). This reduces the depthbuffer-artifacts and fixes the 'jitter' you get when you get to the edge of your solar-system.

Vec3f cPos = camera.getPosition();
Vec3f bPos = object.getPosition();
Vec3f offset = subtract(bPos, cPos);

// Using OpenGL 1.1 here for demonstration

Another thing to make use of is a 'frame of reference'-system. Its quite simple: "If I am close to a stellar-body (planet/moon/asteroid/spacestation), that body will be the origin (0,0,0) of the scene for physics and rendering. Else, my ships position is given as total position".
18  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-31 19:35:34
I was bored and have a headache... so I wrote a tiny template library.
Its only 150 lines of code and does exactly what I want and nothing else.

It turns this:
Hello, %{name}! How are you? I am %{feel}.

Into this:
Hello, You! How are you? I am fine.

Within (edit)0,0003 seconds 2 ms. Not that bad for a first try!

(edit): And now you can look at the nightmare of code I created (just for fun)!
19  Game Development / Newbie & Debugging Questions / Re: Confusion with VAO/glDrawArrays and Frustum Culling on: 2015-03-31 17:46:21
Try to use a Octtree for this:

You frustum cull against the octree, only drawing the nodes of the tree with actual content that are inside the frustum.

A grid could also work, but since you said your 'objcts' can be bigger than '1' that probably means that they can overlap the cells of the grid, which might be a problem.
20  Game Development / Newbie & Debugging Questions / Re: Matrix Transformations on: 2015-03-16 20:47:19
As far as I know, the following should be correct:
ModelViewProjection = Projection * View * (Rotation * Translation * Scale)

Since you only need the model, its this:
Model = Rotation * Translation * Scale

t.rotation.setToRotationRad(new Vector3(p.getBody().getPosition().x, p.getBody().getPosition().y, 1), p.getBody().getAngle());
t.scale.setToScaling(1, 1, 1);
t.translation.setToTranslation(p.getBody().getPosition().x, p.getBody().getPosition().y, 1);


This should work and if it doesn't something else is wrong.
Have you tried to display the rotation/translation/scale as lines and text on your object?
That usually helps with debugging this sort of thing.

EDIT: What math-library are you using?
21  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-11 14:15:05
I registered a account. Now I have no idea what to do with it.
So, I uploaded a small design-test:
22  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-09 17:17:52
I too, made a galaxy. (ignore the generation artifacts)

(this screenshot was made two years ago)
23  Game Development / Newbie & Debugging Questions / Re: Stop geometry shader from auto-billboarding shapes on: 2015-03-05 15:27:45
We can help you better if you tell us what you are attempting here.
Obviously you are trying to render voxels as cubes, but for what exactly?
24  Discussions / General Discussions / Re: What's your day job? on: 2015-02-16 19:20:27
I am in tradeschool right now. After that I will probably work for either SAP, Microsoft or Siemens.
25  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-06 00:09:17
What I did today:
Wrote a code-generator for Vector-classes. Just the basics (constructors/setters/getters) make up to ~400 lines of code per vector-type (There are 12 types...).
26  Discussions / General Discussions / Re: 2015 Game Development Goals on: 2015-01-01 04:17:47
What I did in 2014:
- Worked trough 17 iterations of my game-engine, out of a total of ~40 iterations (I lost count!) troughout the year.
- Spent the last 3 weeks playing around with JavaFX. Realized last week that I hate it.
- Stopped work on all sideprojects, no matter how small or important. No more constant tinkering, had enough of that! (~150 project folders... wat O_O)

What I am going to do in 2015:
- Follow my masterplan and actually fully implement the base of my game-engine. (The masterplan has 300+ pages... what am I doing with my life? Ah hell, its fun!)
- Resume work on my Minecraft-Mod. (Minecraft-Forge for 1.8 is taking a bit too long...)
- Get more sleep. -.-

Have a nice day and a happy new year!
27  Game Development / Networking & Multiplayer / Re: Wanting to know the best way to send data TCP UDP on: 2015-01-01 03:14:46
The game as it stands has the potential to be 3,100,000,000  -  -3,100,000,000 both on the x and y

If these numbers are in meters, your gameworld is 3'100'000 kilometers in diameter... and that may just be a *little bit* insane.
28  Java Game APIs & Engines / OpenGL Development / Re: Get rotation angle of JBullet RigidBody to render it using LWJGL. on: 2014-11-02 14:22:28
The 'RigidBody'-class has a method called 'getOpenGLMatrix' (or similar). The method returns a model-space matrix for the RigidBody in your scene.
This matrix contains both translation and rotation.

projectionMatrix = ???; // projection
viewMatrix = ???; // camera
modelMatrix = getOpenGLMatrix(); // model

Have a nice day!

- Longor1996
29  Game Development / Newbie & Debugging Questions / Re: Stencil Shadows not working on: 2014-10-28 19:38:34
Code tags?

Thanks LK, you're never on Skype anymore! Or check your emails.

Code Tags:
[ code ] your code here [ /code ] (Without the spaces!)

Also, I am on(line on) skype right now.
30  Game Development / Newbie & Debugging Questions / Re: Stencil Shadows not working on: 2014-10-28 19:33:16
(PS: Please use Code-Tags)

A list of useful tutorials:  (This one has code-examples)

These are the tutorials I used when I tried to understand how Notch implemented shadows in his 0x10c prototype.
That should help!
Pages: [1] 2 3 ... 10
basil_ (32 views)
2015-09-30 17:04:40

shadowstryker (16 views)
2015-09-29 15:55:06

TheSpaceHedgehog (22 views)
2015-09-29 01:58:48

GamerC4 (45 views)
2015-09-24 21:10:38

GamerC4 (65 views)
2015-09-24 21:09:48

htuy (21 views)
2015-09-24 04:57:24

htuy (30 views)
2015-09-24 04:56:35

htuy (20 views)
2015-09-24 04:56:09

htuy (21 views)
2015-09-24 04:47:33

Roquen (58 views)
2015-09-21 12:54:28
Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11

Rendering resources
by Roquen
2015-08-17 12:42:29

Rendering resources
by Roquen
2015-08-17 09:36:56

Rendering resources
by Roquen
2015-08-13 07:40:51

Networking Resources
by Roquen
2015-08-13 07:40:43

List of Learning Resources
by gouessej
2015-07-09 11:29:36 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‑
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!