Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (843)
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 ... 61
1  Java Game APIs & Engines / Java 2D / Re: Java2D not using OpenGL randomly? on: 2018-05-27 02:45:38
Hi Cygnus,
It sounds like you're already knowledgeable of Java2D and it's limitations given the fact that you're aware of the 'trace' debugging option. So that probably means that I've got little new information to offer, but here are some ideas.
Not all operations in Java2D are hardware accelerated using OpenGL. I haven't looked at openGL in a number of years, but in the old days image rotation and translucent images were not hardware accelerated. Perhaps you're rotating or painting translucent images? See here for some discussion:
http://www.oracle.com/technetwork/java/javase/java2d-142140.html#gcrvb
There are other reasons why hardware acceleration may not work too, such as driver problems and running out of VRAM.
Brackeen's excellent book has some general information on this topic:
https://books.google.com.au/books?id=dOz-UK8Fl_UC&lpg=PA122&ots=ahiiWu4GnH&dq=java%202d%20rotate%20opengl%20hardware%20acceleration&pg=PA122#v=onepage&q=java%202d%20rotate%20opengl%20hardware%20acceleration&f=false

Another possibility is that it's due to your computer having two graphics cards where one supports openGL and the other doesn't. There's some info here about setting the which GPU to use with which program:
https://www.techadvisor.co.uk/how-to/pc-components/how-set-default-graphics-card-3612668/
Cheers,
Keith
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2018-05-21 08:42:29
Haha yes. But the alternative was to host the website using a PHP server which would have been 10x harder to learn with it's own inane configuration! Tomcat was the least-worst option that I was aware of, from the point of view of an amateur who wanted to avoid learning any more languages than necessary.
JSP pages were interesting and I sometimes use them. But the NetBeans IDE  doesn't let you refactor the java code inside them at all which is a pain in the neck.
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2018-05-21 02:07:50
I'm not a Java enterprise edition JEE developer, but always wondered what the point of having lots of settings in XML files and command line arguments was all about. It would make more sense to express these settings in code.
Similarly for Ant. Why make the Ant XML language to compile java code when java code can simply be used.
For this reason I thought that Nate's SCAR project was very clever
https://github.com/EsotericSoftware/scar

Perhaps JEE is aimed at non programmer system administrators who don't want to mess with code, just XML settings that they can more readily understand.

I learned Java Tomcat, a very minimal version of JEE and am still frustrated with all the command line and XML settings in context.xml and other configuration files
4  Java Game APIs & Engines / Tools Discussion / Re: replacement for Java Web Start on: 2018-05-02 01:17:27
Sounds like a good idea. All serious programs need to deliver updates over their life and incremental downloads are quicker. I wonder if it would be possible to easily update the JRE embedded with the program too?
5  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2018-04-29 13:54:14
Interesting view, I read your response as an answer to the question of why fewer young or new developers choose Java and visit this forum: they prefer scripting languages and ready-made engines and build chains such as unity rather than lower level languages such as java where you have to do everything manually.

I sometimes think that these engines such as unity in some ways fulfill the write once run anywhere promise that java originally had. Plus they have a very rich eco system of assets and tutorials. Java has its own libgdx which is great and helps with that, but smaller scale obviously than unity.

Since artists, animators, designers and programmers are often familiar with unity's told and build chain, I imagine it's become the defacto standard in professional game development.

Even @princec used unity in his latest highly polished game Basingstoke.

A younger version of myself would probably choose unity to make games. However, I'm glad I learned Java which is much more useful for general programming such as servlets.
6  Game Development / Game Play & Game Design / Re: Game design videos by Extra Credits on: 2018-04-24 00:01:23
Oh nice. I'd never heard of these ideas before. So interesting. The only other resource on game design i'd heard of is 'octalysis' which is very cool too:

http://yukaichou.com/gamification-examples/octalysis-complete-gamification-framework/
7  Game Development / Game Play & Game Design / Re: Game design videos by Extra Credits on: 2018-04-21 16:03:43
Bartle's taxonomy was also very interesting, about the different player motivations in mmo's:
<a href="http://www.youtube.com/v/yxpW2ltDNow?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/yxpW2ltDNow?version=3&amp;hl=en_US&amp;start=</a>
https://youtu.be/yxpW2ltDNow

A way to classify games as planning, practice and improvisation-centred:
<a href="http://www.youtube.com/v/s9xkfPLJWf0?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/s9xkfPLJWf0?version=3&amp;hl=en_US&amp;start=</a>
https://www.youtube.com/watch?v=s9xkfPLJWf0

And this about choices vs calculations, which the authors think are distinguished by choices being calculations with imperfect information. I think that's interesting because the process of learning the compete information is often quite fun, so all calculations are choices for new players just beginning, and for the first players to explore the game.
<a href="http://www.youtube.com/v/lg8fVtKyYxY?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/lg8fVtKyYxY?version=3&amp;hl=en_US&amp;start=</a>
https://youtu.be/lg8fVtKyYxY

<a href="http://www.youtube.com/v/SQhxtfKH1f8?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/SQhxtfKH1f8?version=3&amp;hl=en_US&amp;start=</a>
https://www.youtube.com/watch?v=SQhxtfKH1f8

<a href="http://www.youtube.com/v/TlBR1z-ue-I?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/TlBR1z-ue-I?version=3&amp;hl=en_US&amp;start=</a>
https://www.youtube.com/watch?v=TlBR1z-ue-I

<a href="http://www.youtube.com/v/BRBcjsOt0_g?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/BRBcjsOt0_g?version=3&amp;hl=en_US&amp;start=</a>
https://www.youtube.com/watch?v=BRBcjsOt0_g

<a href="http://www.youtube.com/v/FE7lDFAcb4Y?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/FE7lDFAcb4Y?version=3&amp;hl=en_US&amp;start=</a>
https://www.youtube.com/watch?v=FE7lDFAcb4Y

<a href="http://www.youtube.com/v/c06uoVVFZd4?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/c06uoVVFZd4?version=3&amp;hl=en_US&amp;start=</a>
https://youtu.be/c06uoVVFZd4

<a href="http://www.youtube.com/v/l_H9JR7ud8E?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/l_H9JR7ud8E?version=3&amp;hl=en_US&amp;start=</a>
https://youtu.be/l_H9JR7ud8E
8  Game Development / Game Play & Game Design / Re: Game design videos by Extra Credits on: 2018-04-21 15:10:38
The idea of the power curve is very interesting. I never thought about games having that, maybe because I'm used to rpg's where getting better just relies on putting more time in and leveling up. But even those games have a power curve, that's why they feel broken for having underpowered weapons such as daggers in Diablo which were always far poorer than swords no matter what character you pick. Then again, maybe learning that daggers were useless is part of the fun of exploring the game
9  Game Development / Game Play & Game Design / Game design videos by Extra Credits on: 2018-04-21 14:51:08
I've recently discovered the Extra Credits series of game design videos. They're quite old but I never noticed them so wanted to share them and have a discussion.
These are my favourite:
<a href="http://www.youtube.com/v/Bxszx60ZwGw?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/Bxszx60ZwGw?version=3&amp;hl=en_US&amp;start=</a>
https://youtu.be/Bxszx60ZwGw

<a href="http://www.youtube.com/v/uepAJ-rqJKA?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/uepAJ-rqJKA?version=3&amp;hl=en_US&amp;start=</a>
https://youtu.be/uepAJ-rqJKA

<a href="http://www.youtube.com/v/EitZRLt2G3w?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/EitZRLt2G3w?version=3&amp;hl=en_US&amp;start=</a>
https://youtu.be/EitZRLt2G3w
10  Game Development / Newbie & Debugging Questions / Re: What to do after adding basic pathfinding? on: 2018-04-20 13:16:08
Try profiling your code. I'm sure you could reduce the time by 80 percent after finding the bottleneck.

You could do away with tiles, simple maps like the one you showed could be done with polygons. The only benefit of tiles is that you can dodge other units, but when pathfinding is so slow with tiles that becomes hard.
11  Discussions / General Discussions / Re: VR motion sickness on: 2018-03-17 11:18:13
I've never tried VR, but I've heard that when the accelerometer is good enough and latency is low, motion sickness isn't common.
I like the idea of a 2d world, do you mean a 2d top down world or side scroller style view?
One thing I read is that the detail in a 3d VR game needs to be much higher than a normal fps since people can get really close to the objects and walls if they want, which is hard to maintain with high fps games
12  Discussions / General Discussions / Re: Gun violence in video games: Donald Trump meets with video game execs on: 2018-03-10 22:32:46
Nice to hear both sides of the story. Some great points made with colourful metaphors and quotes.
Here's another interesting follow up article:
https://www.bloomberg.com/news/articles/2018-03-09/trump-s-violent-video-game-distraction-lags-out

Quote
Riccitiello, now the CEO of game engine startup Unity Technologies ApS, sat in a similar such discussion during the Obama administration. Riccitiello recalled telling Vice President Joe Biden, “There’s no issue.” Biden’s response: “If people think there’s an issue, there’s an issue. That’s the issue,” Riccitiello recalled. “He was so right. The theater allowed them to move on from it.”

A funny comment referenced in the article:
Quote
“If video games were the problem, Japan would be a slaughter house.”
13  Discussions / General Discussions / Re: Gun violence in video games: Donald Trump meets with video game execs on: 2018-03-08 23:20:34
That's interesting. Sad that people with learning disabilities can end up resorting to crime.

I saw this recently, quite funny:

http://www.comedycentral.com.au/the-daily-show-with-jon-stewart/videos/john-oliver-on-gun-control-in-the-us-vs-australia
https://vimeo.com/97417009
14  Discussions / General Discussions / Gun violence in video games: Donald Trump meets with video game execs on: 2018-03-08 22:55:40
Violence in video games, brought up again after that terrible Florida school attack.

https://www.reuters.com/article/us-usa-guns-trump/trump-meets-doom-maker-and-other-video-game-execs-idUSKCN1GK1DV

Quote
U.S. President Donald Trump met on Thursday with the makers of popular video games “Grand Theft Auto” and “Doom” to discuss what the president believes is a link between video games and violent acts like last month’s school shooting in Florida.

I like playing battlefield and other FPS's, but some are a bit graphic and horrible so maybe they need to restrict those games to stop kids playing them.

To outsiders, it does seem ridiculous how Americans will blame anything as the cause of gun violence except the widespread availability of guns. I couldn't believe it when I heard that they proposed arming teachers! I'm a teacher and couldn't imagine carrying a weapon into class. Absolute crazyness.


15  Game Development / Newbie & Debugging Questions / Re: Java regex pattern for finding text between [[ ]] on: 2018-03-04 02:11:19
Geez, regex appears to be a programming language within itself
https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html#sum
16  Discussions / Miscellaneous Topics / Re: What I did today on: 2018-02-28 09:45:43
Just submitted my PhD. It took 5 years! If anyone can't sleep, I'll send you my work on 'tax abitrage and minimisation in a comparative statics and general equilibrium setting'.

I'm now looking forward to doing more Java game programming.
17  Game Development / Newbie & Debugging Questions / Re: Stream.filter(...).count() didn't work on: 2018-01-30 21:13:19
Yeah, wouldn't a 2d array be a better fit? That way you can go straight to the cell you need by using its index coordinates.
18  Discussions / Miscellaneous Topics / Re: What I did today on: 2018-01-28 06:26:34
Last night, somewhat nervously showed off some of my Java audio to a Meetup group (Kinetech Arts, a group of dancers and techies interested in collaboration)....
Coolest thing: several of the members are very strong developers, for example, working in data visualization field and with web coding...One person only has so much bandwidth. Glad/relieved to find that others with complementary/needed skills are motivated to collaborate.
It's a great feeling when you find people interested in the same projects. I remember my euphoria when I participated in a game jam. It was so exciting to meet all these ambitious amateurs and experts. One thing I quickly realised when people started making groups in the first few hours is that each has their own 'preferred habitat' of programming language and tools and either you or the other person needs to compromise to make collaboration a possibility.
19  Discussions / General Discussions / Re: Jail time for cheat programmers in China on: 2018-01-19 10:42:38
Tried to read memory with java from a game using BattlEye. Couldn't get the memory to even read with that anticheat. Gave up after that.

Interesting, that's heavy duty. I checked their website and BattleEye say that 1.5 million PUBG cheaters have been banned.
https://twitter.com/TheBattlEye
20  Discussions / General Discussions / Re: Jail time for cheat programmers in China on: 2018-01-17 11:17:33
@ral0r, yes the Robot class can do screenshots and mouse clicks without having the focus, it's quite neat. Unfortunately I've lost the code, but by detecting that 'print screen' was pressed so the system clipboard was detected to contain an image, not text, the program showed a Swing JFrame with the in-game screen shot which allowed you to select a list of pixel colours that would be searched by the aim bot program. Then you click run and the Robot class would trigger the mouse-clicks in game when it detected the pixel colours on screen. Worked reasonably well unless the helmet or bandanna colour was also contained elsewhere in the environment.
https://docs.oracle.com/javase/7/docs/api/java/awt/Robot.html

I think Slyth2727 used C++ and some programming memory-viewing tools to actually find the memory in the Battlefield program that contained the enemy player coordinates and paint them onscreen over the top of the running game! Next level.

@princec interesting about that social aspect. Maybe it's also related to the 'great firewall of china' government digital control. Still, in a country as big as China with all of the developing country problems they must face, I would never guess that the police would waste resources arresting game cheats. Is there a pettier crime?
21  Discussions / General Discussions / Re: Jail time for cheat programmers in China on: 2018-01-17 04:20:17
I made an aim bot in java once using the Robot class that took a screenshot and scanned for a red bandana pixel of the counterstrike terrorist player, and clicked on his head repeatedly if it was somewhere in the middle of the screen. Only useful for that one character, and it slowed the game down. But it was fun. Strange to think that it could be illegal.
I was impressed at @Slyth2727's more advanced hacking too, he did some amazing things in battlefield if I remember.
22  Discussions / General Discussions / Re: Jail time for cheat programmers in China on: 2018-01-17 04:11:08
Haha, yes I agree. I'm surprised that they even try to crack down on cheating in games, one of the least important and troublesome problems compared with outright piracy, spamming, and worse things. Surely cheating in games is best fixed by the game maker, not the police. You'd think the police would have more important issues to deal with.

23  Discussions / General Discussions / Jail time for cheat programmers in China on: 2018-01-16 23:17:53
Here's an interesting article about cheating in Playerunknown's Battleground:
https://www.bloomberg.com/news/articles/2018-01-16/tencent-cracks-down-on-cheats-in-world-s-top-selling-video-game
I was surprised to hear that the Chinese police jail cheating programmers who make aim bots and so on.

Quote
Ahead of its official debut this year, the biggest gaming company on the planet has enlisted Chinese police to root out the underground rings that make and sell cheat software. It’s helped law enforcement agents uncover at least 30 cases and arrest 120 people suspected of designing programs that confer unfair advantages from X-Ray vision (see-through walls) to auto-targeting (uncannily accurate snipers). Those convicted in the past have done jail time.

How strange. I think they've forgotten that it's just a game!

24  Discussions / General Discussions / Re: HappyNewYear! on: 2018-01-06 09:31:17
@nsigma I hadn't heard about the Creatures games, what a great concept!

Yes!  Highly recommend the book he wrote about developing it - Creation: Life and How to Make It.  Just found this post from 2016 too which is interesting, and to quote "But all the computer power in the world is no help unless you know how to build a mind, and despite all the ridiculous hype surrounding AI at the moment, most people really don’t."  That kind of sums up my own feelings on the topic!  Smiley

He sounds like a very interesting person. I'll try to find that book and give it a read. It's funny though, the reviews on Amazon are very extreme on both sides. This one is very negative:

https://www.amazon.co.uk/gp/aw/review/0753812770/RMJ0T732HD32T/ref=cm_cr_dp_mb_rvw_7?ie=UTF8&cursor=7

@opiop, nice work being a programming teacher, must be fun. What language do they make the students learn? At my local university they seem to mostly do Java and python.
25  Discussions / General Discussions / Re: HappyNewYear! on: 2018-01-04 06:42:33
Oh yeah, nsigma has set up public open air projector displays that react to the public dancing with Praxis live. You'd like it too since it's open source and integrates Processing, built on the netbeans rcp platform:

http://www.java-gaming.org/topics/praxis-live-v2-live-visual-coding-env-request-for-testing-comment/34195/view.html

@nsigma I hadn't heard about the Creatures games, what a great concept!
26  Discussions / General Discussions / Re: HappyNewYear! on: 2018-01-02 16:17:03
Interesting stories, thanks for sharing.

@princec Basingstoke really does look great, so I think people will enjoy it and pay up. Once you settle on a tool chain like the one you mentioned, I'm sure you'll start minting quality games quickly like you did with 2d. Mini voxels will suit the puppygames pixelly art style.

I remember KevGlass saying that his venture into 3d was very difficult in terms of content, assets, lighting and so on, and his 3d tech demo was only a very limited space dungeon top down shooter type of thing with no open areas.

@nsigma Praxis live editing is an incredible concept and definitely has the cool factor with electronic music, no wonder your talk became the keynote. Most software devs are probably musically challenged like me and can only dream of composing music, let alone coding live music.

I remember some jgo people were working on composing music using artificial intelligence, to react to fights by upping the musical intensity and so on. Have you ever tried that or thought about putting it together with praxis live? I know the story about how many monkeys are needed to randomly write a Shakespearean play, but electronic music mixed using sounds from a car engine or an animal, fused in an elegant way such as some AI generated art can do, could be appealing. Would be great to see what you could do with your skills.
https://www.google.com.au/search?q=ai+art

27  Discussions / General Discussions / Re: HappyNewYear! on: 2018-01-02 01:53:24
I only had one resolution (if you'd like to call it that) which was to continue working on JOML, which I did. One nice thing later the year was an email from Prof. Dr. Scott V. Gordon from the California State University, Sacramento. Scott is the author of the book Computer Graphics Programming in OpenGL with Java and is currently working on the second edition of that book, moving away from their university-homegrown linear algebra Java library to JOML.
During the last couple of weeks I've been assisting him in integrating JOML into his book, which went flawlessly according to him.
So in addition to 3D Game Development with LWJGL 3 we will soon be having an actual hardcover book about JOML together with JOGL, which is pretty neat! Smiley
Cool, and I remember you said that Samsung is using JOML in their Virtual Reality API as well! If you had a topic in mind and were free to travel, doing a phd in computer graphics or something similar in California would be really fun and that professor might give you a good reference. I wanted to do the same 10 years ago and visited UCLA, UC San Diego and UC Berkely just to check it out and they're really beautiful campuses.

Quote
2017 was fun!  Grin  My main resolution was to find a way to spend more time working on the things I love doing, which these days are open-source Java stuff like Praxis LIVE.  Having done non-Java-related web consultancy for the last 10 years I decided it was time for a change, sold off the stake in the company I was working in, and since June given myself a year to explore new things.  Amongst other things I've done a load of performances and workshops over Europe, went to JCrete (amazing!) and did my first Java conference keynote in Poland.

That's living the dream! Some other members here have also taken the dive out of the corporate world and head-first into their passion, usually game development. I certainly intend to. But staying on track, maintaining motivation, getting bogged down making libraries and not games, lack of market demand when there's so many other competing games, financial hardship, family and other real life distractions could quickly derail the best made plans. Do you have any tips or suggestions? I imagine that having a date locked in to perform and speak in front of people is a (scary) motivator?

Quote
I managed to write and post AudioCue to help with coding sound for Java games.
Getting a project completed, documented, published and open-sourced is an achievement. Should help with getting more of that interesting contracting work.
28  Discussions / General Discussions / Re: HappyNewYear! on: 2018-01-01 11:50:48
I'm not sure I achieved anything of note! It's been a terrible year for me.

Cas Smiley

Basingstoke is looking pretty incredible judging by the video. The lighting, colour scheme and atmosphere especially. Would be interesting to hear your thoughts about going from 2d to 3d.

http://www.puppygames.net/basingstoke/
29  Discussions / General Discussions / Re: HappyNewYear! on: 2018-01-01 02:18:09
I've also had a tough year with game programming. Had no time at all between study and work.
But I did learn the basics of the programming language Mathematica which was interesting. I have to say that I prefer Java. It made me appreciate the benefits of open source since Mathematica is closed source and things often don't work as expected and it's difficult to examine why.

This year I'd like to make a Hearthstone style game. I think it's quite incredible the way a very basic game, graphically, can be so popular.
30  Discussions / General Discussions / HappyNewYear! on: 2017-12-31 13:06:06
Happy new year everyone!
I loved reading about the cool projects, games, tech demos and debates over the last year.
Here's to more inspiring posts, started games, finished games, libraries, game engines, fun times and good health to all  Cool
Pages: [1] 2 3 ... 61
 
EgonOlsen (42 views)
2018-06-10 19:43:48

EgonOlsen (22 views)
2018-06-10 19:43:44

EgonOlsen (43 views)
2018-06-10 19:43:20

DesertCoockie (197 views)
2018-05-13 18:23:11

nelsongames (124 views)
2018-04-24 18:15:36

nelsongames (123 views)
2018-04-24 18:14:32

ivj94 (863 views)
2018-03-24 14:47:39

ivj94 (124 views)
2018-03-24 14:46:31

ivj94 (768 views)
2018-03-24 14:43:53

Solater (140 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05
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!