Java-Gaming.org Hi !
Featured games (88)
games approved by the League of Dukes
Games in Showcase (681)
Games in Android Showcase (196)
games submitted by our members
Games in WIP (746)
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  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-07-01 10:20:46
Written last exam in this semester... And got accepted on summer internship I wanted literally hour later (first in my life as well)! Smiley
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-06-23 22:49:47
Found these... Things, playing with them at the moment:

Basically feature-complete JVM together with compiler and some other stuff built in browser (first link) and library built on top of it which allows you to use Java code just like JavaScript in HTML (second link). Both look and work surprisingly well, but their startup time is terrible so not very useful for usual tasks.

http://doppiojvm.org
https://www.javapoly.com
3  Game Development / Game Play & Game Design / Re: request: receipe/materials approach? and/or design pattern? on: 2016-06-20 11:21:45
Can recipes output more than one item or always just one?
4  Java Game APIs & Engines / JavaFX / Re: JavaFX For Pixel Games on: 2016-06-02 09:09:35
JavaFX is actually nice, but still young. Smiley Ironically thing which causes it to be not yet commonly used and developed for more platforms is.... Older GUI API, Swing. Other than that, in JavaFX you can basically do everything you could in Swing + much more.
5  Discussions / General Discussions / Re: Interesting proposals: Java 9 and beyond on: 2016-05-26 13:29:15
If only for value classes (aka structs)... This is very, very good idea.

Otherwise, I don't agree.

What else could it be for?

If operator overloading would be possible for "normal" classes as well, I am sure that this possibility would be abused a lot: things like events/setters done with overloaded "+" operator and similar code smells.
6  Discussions / General Discussions / Re: Interesting proposals: Java 9 and beyond on: 2016-05-26 12:05:42
I really really really miss operator overloads

If only for value classes (aka structs)... This is very, very good idea.

Otherwise, I don't agree.
7  Discussions / General Discussions / Re: Interesting proposals: Java 9 and beyond on: 2016-05-26 01:48:02
Personally I am looking forward to structures - currently any abstractions for stuff like vectors or matrices are often resource-intensive (unless used sparingly).
8  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-05-26 01:23:04
Swing listeners are problematic, but JavaFX ones should work just fine.
9  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-05-24 21:31:22
Posted minimal JOGL in JavaFX example: http://www.java-gaming.org/?action=pastebin&id=1451

From other stuff - I did some work on my little Java-inspired language, finished scanning and lexing stuff already:

10  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-05-18 10:44:47


Did a little experiment and compared few different implementations of pseudo random number generators, for example above you see path drawn with Java built-in generator.

UPDATE: I added possibility to see a path being drawn in real time, few iterations every frame... This is really hypnotizing. Cheesy
11  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-05-10 00:03:03
Hi lads! Smiley
'Til now, this is how my loading screens worked:

[Fade-in starts]....[Fade-in ends][Loading starts]....[Loading ends][Fade-out starts]....[Fade-out ends]

Very suboptimal.
It worked all right, because I didn't have a lot of resources to load so it would just fade in then fade out. However, I've been adding quite a lot of textures and fonts lately, so the loading time became longer. Today, I decided to change my loading screen patterns to:

[Loading starts]...........................................[Loading ends]
[Fade-in starts]....[Fade-in ends]........................................[Fade-out starts]....[Fade-out ends]

As you can observe, the fade-in and the loading now start at the same time; the fade-out starts whenever the loading ends. However, as resources become longer and longer to load (this afternoon I hit ~450 ms), I'm thinking of removing the fade-out in order to gain extra time and make it more bearable. But with no fade-out, it just looks awkward Emo
Of course, it would be impossible to make the fade-out end exactly at the same time as the buffering. I guess I could find a way to start the fade-out at an approximated time so that it would end more or less at the same moment as the buffering.
How would you cope with this problem? Delete completely the fade-out, leave it as is, approximate?

(I should probably mention that the fade-in and fade-out times are about 150 ms each)

J0 Smiley

As long as you are below 5 or 15 seconds (depending on if you show loading screen on every level/area loading or only once when game is starting) you don't have anything to worry about. Smiley
12  Discussions / Miscellaneous Topics / Re: Where I came from on: 2016-05-05 12:32:28
Personally I had my first attempts at scripting around 2005 already (when I was still in elementary school), when I was experimenting with RPG Maker and similar software. I made dozens of small games during that time, in few last years of this period editing and writing some "real" code as well. Piece of software I remember best from that period is (sadly no longer existing) PlayCrafter.

Programming my own things using widely used languages began around 2011 (high school period) and was initially focused around creating useful tools for Wurm Online. This taught me mostly about general programming, languages and patterns and - when I thought my knowledge is sufficient already - I begun adding gamedev-related elements into my programs, with pretty good results - for example here is one large, finished project called DeedPlanner: link to topic. I didn't released publicly even one game from this period, but did lots of various experiments, mostly with gameplay mechanics, networking and graphics.

Around one year ago I got an offer to join Wurm Online development team, which I accepted naturally. This was a very important moment - while you learn a lot while doing personal projects, working on already existing projects will teach you "how the stuff is actually done", which you can't learn from personal projects and is very hard to learn from just reading the code/learning programming theory. On the other hand, I think that everyone must find balance between personal projects and work/open source - both teach you important things about development.

Currently, I am on 2nd year of CS engineering studies. While I don't think it influenced my programming ability directly, it shown me some new ways to do things and taught useful things that I would most likely never use otherwise, most notable example being LaTeX.

When it comes to tips for gamedevs and programmers in general... The most important: experiment first. Programming is all about experimenting, learning. Sometimes you will fail, in some cases even abondoning weeks or even months old project going nowhere, but you will not lose the most important thing - experience which will prevent you from doing the same mistakes twice and will make ALL your future programs even better.

What is needed to be considered a programmer? I personally think that you can consider yourself a programmer if you start thinking algorithmically in real life to the degree which influences it in many ways. For example, take most obvious example: mathematics. This is hard to describe, but - when you start looking at math in purely alghoritmic way, bringing programming concepts into your thinking - you will notice that. The same applies to lots of other areas - the more experienced you become, the more areas are getting affected by this effect. I don't think there is any kind of knowledge needed to be considered programmer. While some concepts are used far more often than others, everyone have different needs and preferences.

Motivation is rather complex topic. Personally the thing which motivates me most is any kind of feedback, both negative and positive - without it I find it hard to stay focused on one project without starting side project or coming back to projects that are already receiving feedback. That's why I find iterative and/or feature-driven approach to the development being the best for personal stuff and small groups. Start small, think big.

"Right" learning atlitude? Hmm... Just keep trying, experiment, learn new stuff. Everyone have different ways of learning, but - as long as you don't stay in one place in this rapidly changing programming world - you should be fine.
13  Discussions / General Discussions / Re: How does Steam handle free games with micro transactions? on: 2016-05-05 11:18:41
war thunder is in the steam store and they have micro transactions via their own system but also a few pieces of steam dlc.
They basically did what you are suggesting, but they might also have a special deal.

When playing via Steam, the default payment option for everything (including non-Steam DLC) is Steam wallet as well, so I guess Steam takes their part from that as well.
14  Java Game APIs & Engines / OpenGL Development / Re: LWJGL 3 vs JOGL on: 2016-04-28 13:39:46
- javafx support is tricky afaik

Not really, you can easily use JavaFX built-in Swing panel integration to embed GLJPanel and everything works just fine.
15  Discussions / Miscellaneous Topics / Re: The "impressiveness" of games on: 2016-04-12 01:33:18
If this is just something done as a hobby or for learning (preferably both at the same time) - sure, go for technical challenge. Smiley

If you actually want to finish and maybe even sell something, "fun" projects are usually way to go. On the other hand, if all of us followed this approach, we most likely wouldn't have games like Dwarf Fortress or Minecraft (two examples that came to my mind as first) that push the genre forward, create genre/subgenre or even completely change the gamedev world.
16  Discussions / Miscellaneous Topics / Re: lambdas rant on: 2016-04-09 23:35:07
To be honest, I think that this depends on use case - while since Java 8 release I tend to avoid using anonymous inner classes, in case of complex lambda methods I often move them to new (static or non-static) function and reference it using "::" operator. On the other hand, when doing simple operations like working on streams simplified lambdas are usually just fine.
17  Game Development / Game Play & Game Design / Re: Blender or GIMP ? Libgdx or what ? on: 2016-04-05 10:57:15
Caspian's First Law of Indie Game Programming: don't do 3D.

Cas Smiley

Second law of Indie Game Programing (for experts only!) - don't do 3D yet. Smiley

And seriously, "full" 3D is usually much more time consuming than almost anything done in 2D... Altrough game itself can be 2D while graphics are 3D.
18  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-04-04 10:52:36
It's a tough choice.  University is investing in your future and it can be an expensive investment.  If you learn too little, you lose.  If you spend too much for what you've learned, you lose.

Not really expensive (for me personally only public transport cost) unless we consider time needed for university as well (but you can still spend your free time on personal projects, open source etc.). Personally I am looking at university as a good time to try different things, develop both in my main area of interest as well as other programming domains.
19  Discussions / General Discussions / Re: Virtual Reality on: 2016-03-27 21:26:56
Allow me to piss on everyone's chips but VR is going to be a massive flop - at least, in the gaming industry.

Let's guess some numbers.

Number of people willing to pay $x00 for a VR system (I'm assuming they get them to that sort of price)
Number of people who have a physical playing area around their PC actually big enough for VR experience
Number of people willing to don ridiculous headgear just to fire up some game or other
Number of game designs that would be good in VR... that's basically, er, FPSes, plus a few niche interests like "surgeon simulator" and so on*
Amount of money that needs to be spent on an FPS to compete with the latest AAA titles
Amount of extra money needed to make that title support VR adequately and meaningfully (remembering stringent performance requirements to avoid motion sickness and achieve suspension of disbelief)

Discuss the numbers and then tell me how VR is going to be in any way a success. Compare and contrast with 3D cinema. Or maybe even 3D TV for laughs. Pay special attention to previous stabs at 3D goggle tech such as Nvidia's shutter goggles.

Cas Smiley

* Feel free to call me out on this one but let's face it the AAA games industry is not renowned for its innovative risk taking in game design, is it?

To be honest, I think that AAA industry will be one of first to use VR on the bigger scale, just like in case of 3d which is put into most of movies and TV's nowadays, but (especially in case of TV) almost not used at all (although I know only few cinemas with 3d as well). The same with VR, people either don't want, need or cannot afford it.
20  Game Development / Game Mechanics / Re: Best way for LWJGL to AWT in 3? on: 2016-03-09 06:28:16
OpenGL in  AWT works good in JOGL. When it comes to LWJGL... One of possible solution would be to create offscreen window, render anything you need in it and then read pixels and use them to create proper BufferedImage.
21  Discussions / Miscellaneous Topics / Re: I hate hi-res graphics on voxel based games on: 2016-02-25 17:44:35
To be honest, I think that Skyrim graphics style fit this game perfectly - on second screenshot I am barely able to recognize anything, although situation would be different if the whole game was designed with this style in mind.

On the other hand, there are games where hi-res graphics (and "hiding"/smoothing voxels) are usually more harm than good:

Let's take a look at Space Engineers/Seven Days to Die - both of them have "mixed" style with semi-realistic terrain and square structures. Due to that, terrain to structures transitions look terrible, there are problems with determining actual terrain "volume" as well.

Terraria/Starbound - while being 2d games, so hard to compare to the ones I mentioned above - solved this problem perfectly. Terrain is not perfectly squared, but transitions are clearly visible and therefore editing terrain is much easier and more enjoyable.
22  Discussions / General Discussions / Re: Unity3D/2D on: 2016-02-22 10:52:07
My opinion:

Unity is VERY great if you want to actually make and finish the game in reasonable amount of time - it have all kinds of features you need to achieve this goal and - even if something is missing - you can easily grab that from asset store or make on your own. Probably the biggest problem for lots of people is that you must stick to Unity API if you actually want to have something done, and that it makes writing clean code really hard (forget about good scope control unless you want to use some dirty tricks, stuff like MVC and many other useful patterns - while possible - are mostly impractical here). It also lacks good IDE, MonoDevelop or Visual Studio are not even close to NetBeans or Eclipse and tend to be much slower. Also, are you Linux user? Well... Then available toolset is even smaller - while Unity itself works on Linux natively, forget about Visual Studio.

On the other hand, Java is excellent if you want to have code-heavy stuff finished in reasonable amount of time, so - while writing game in it will in most cases take much more time than in Unity - it is very good for writing tools, especially GUI-heavy tools. Unity don't have good out of box GUI support with advanced components, while Java have two very good GUI libraries with lots of available free libraries for them: Swing and JavaFX. Like I mentioned in Unity section, Java IDE's tend to be better than their C# equivalents, you are not limited with pretty strict Unity pipeline as well.
23  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-02-18 21:42:56
Had some fun with LWJGL 3 and contexts in OpenGL, here is example result:


There are no 6 textures loaded in 6 different windows: all windows use the same texture, loaded in offscreen window.

Code:
http://www.java-gaming.org/?action=pastebin&id=1406
This code is very simple, I compressed it into very basic example of how to share resources between multiple windows. In case of Windows, this must be offscreen window and it must be not current on any thread while creating new window bound to it (but after that, you are free to make it current again - just make sure to call "glfwSwapBuffers(offscreenWindow)" each time you load new texture/model etc.).
24  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-02-12 02:53:36
Another day, another GIF... Map generator is taking shape, it is time to finally start adding actual generation on top of this framework which is basically UE4 Blueprint system implemented in Java, with some additional features to make it more friendly for typical user.

Click to Play
25  Game Development / Newbie & Debugging Questions / Re: Ways(or Best Way) of Declaring Orthographic Projection on: 2016-02-12 01:07:28
From my current experience:

-1...1 approach - good if you want to maintain similar look on different resolutions. Trade-off: on large screens and resolutions graphics will look blurry unless proper precautions will be taken.
Screen width and height approach - good for UI's, pixel art and other things that needs to be pixel perfect. Trade-off: on small resolutions UI/game area can be too small, while on large ones this can be exact opposite.

Keep in mind that you can for example render game using first approach and then switch to second projection and render UI - it is good idea to mix these two (and maybe even some other) approches. Smiley
26  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-02-11 01:31:15
Had some fun with Java 8/JavaFX properties:

Click to Play


The whole code which does that looks exactly like that:

1  
inputsStage.titleProperty().bind(Bindings.concat("Inputs of ", block.getData().titleProperty()));
27  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-03 10:18:53
Guys I need your opinion now, have four versions for the logo, but I'm preferring C and D from them.



What do you think of?

A is best in my opinion. Smiley
28  Games Center / Showcase / Re: Wurm Unlimited on: 2015-10-21 17:47:17
Wurm Unlimited is sharing most codebase with Wurm Online, but doesn't contain WO advanced bot/cheat protection - we would most likely need to setup 4 different repositories for WO and WU to make that possible without risking leak of these systems, and development team is very small. Who knows, maybe in a future... Smiley
29  Games Center / Showcase / Wurm Unlimited on: 2015-10-21 17:18:35

You guys probably remember Wurm Online that was posted by Notch here 12 years ago - I am very proud to announce that standalone version of Wurm client and server just got released on Steam! Smiley
It will work parallel to Wurm Online - WO is still subscription based, while WU is Buy To Play.

Wurm Unlimited can be modded (and - unlike Minecraft - it is non-obfuscated, so can be easily decompiled to code very similar to original), so I am excited to see what mods will be created for this game (especially knowing fact that a lot of current Wurm Online players are programmers and there was big interest in mods/tools even before the release).

Wurm Unlimited is available here

Short description from game Steam page:

Quote
Wurm Unlimited is your full standalone version of the fantasy sandbox world Wurm Online, the MMORPG where the players are in charge!

A pioneer in the ideas of player influence, crafting and adventure, it is now one of the most deep and feature packed sandbox experiences available.
Whether you enjoy building your home, conquering kingdoms or hunting dragons, Wurm will let you.

Explore the world and make your mark!

In Wurm Unlimited, players can explore an elaborate fantasy sandbox world in the predefined Creative or Adventure modes as well as set up their own game server and invite friends to live and experience the Wurm universe.

What can I do in Wurm Unlimited?
Host your own Virtual World! The Server Management GUI hels you change settings such as skillrate gains, action timers, creature count ...
Explore huge, diverse landmasses with creatures and mysteries!
Modify the terrain; dig, raise, flatten and sculpt the land around you!
Craft and use thousands of unique items.
Wage war on other kingdoms, and lead yours to victory.
Discover and fight over religious artifacts on a PvP server.
Capture and breed animals from the environment.
Train 133 Skills, 10 Player Characteristics, and 3 Religion Characteristics.
Follow one of four unique deities and religions. Or attempt to become a Deity yourself and join the existing ones on the moon of Valrei!
Hunt creatures such as the unique red dragon, forest giant, kyklops, troll king and others!
Become a priest or champion of your religion and learn powerful spells and enchantments.
Choose one of five meditation paths and take advantage of special meditation abilities.
Earn as many of our 200+ skill and achievement titles as you have time for!
Mount various creatures, from horses and carts to unicorns, bears and even dragons!
Construct, crew or even captain six different ship types with other players, from small rowing boats to impressive caravels.
Build a variety of structures, from guard towers to stone houses to fences, bridges and statues.
Found your own settlement wherever you desire; own land, build a farm, a castle, or perhaps an entire village!
Pave roads to connect settlements and plant signs to improve local infrastructure.
Live off the land by creating fields to farm a variety of crops including potatoes, garlic, cotton, wheat, strawberries, pumpkins and more!
Cook nutrious food using a huge range of ingredients.
… and much more!
30  Game Development / Newbie & Debugging Questions / Re: Advantages of games created with JAVAFX on: 2015-10-10 14:24:46
Just pay attention that there are disadvantages as well - JavaFX is still not supported in OpenJDK, performance will be lower than in case of OpenGL-based libraries (but this shouldn't be a big problem unless you want to make 3d game or 2d one with a lot of effects).
Pages: [1] 2 3 ... 13
 
GrandCastle (28 views)
2016-07-01 09:13:47

GrandCastle (30 views)
2016-07-01 09:09:45

CopyableCougar4 (84 views)
2016-06-25 16:56:52

Hydroque (117 views)
2016-06-22 02:17:53

SwampChicken (119 views)
2016-06-20 13:22:57

SwampChicken (120 views)
2016-06-20 13:22:49

SwampChicken (112 views)
2016-06-20 13:22:26

Hydroque (158 views)
2016-06-15 08:22:50

Hydroque (153 views)
2016-06-13 06:40:55

DarkCart (255 views)
2016-05-29 02:30:33
Making a Dynamic Plugin System
by Hydroque
2016-06-25 00:13:25

Java Data structures
by BinaryMonkL
2016-06-13 21:22:09

Java Data structures
by BinaryMonkL
2016-06-13 21:20:42

FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17
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!