Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (711)
Games in Android Showcase (213)
games submitted by our members
Games in WIP (785)
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 ... 59
1  Discussions / Miscellaneous Topics / Re: Programming in schools - opinions? on: 2017-02-24 04:56:12
@Abuse, I think all tests should allow laptops and spreadsheets, mostly for the ability to easily save and see intermediate results which is hard in a calculator, and to be able to see the history of working in prior cells' working to spot an error. Also laptops have their faster keyboard input and regular * not x and / not รท symbols which are encountered all over the workplace and in everyday life.

Suitable ages to use spreadsheets on a computer might be from 10 years up? But I'm not a school teacher so that's just a guess.

Edit: another big factor is laptops' bigger readable screens. Calculators' screens are ridiculously small and hard to scroll left and right and select symbols
2  Discussions / Miscellaneous Topics / Re: Programming in schools - opinions? on: 2017-02-23 06:37:16
Learning spreadsheets like MS Excel is more useful than programming in a low level language like Java or C.

On a related note, I always think it's incredibly dumb how students are forced to use such limited calculators in exams. All exams in math related subjects should allow spreadsheets or mathematica or Google or a programming language on a laptop.
3  Game Development / Newbie & Debugging Questions / Re: Looking for some library for triangulating polyine / path on: 2017-02-03 01:44:29
Hi,
What you're trying to do is called buffering.
Look up JTS Java topology suite. It does it very well.
https://github.com/dr-jts/jts/blob/master/README.md
Cheers,
Keith

EDIT: Lookup the buffer method here:
https://github.com/locationtech/jts/blob/master/modules/core/src/main/java/org/locationtech/jts/geom/Geometry.java
4  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Advantages of Ant? on: 2017-01-25 12:24:16
Try Scar if you prefer java syntax, which makes a lot more sense than xml.
https://github.com/EsotericSoftware/scar
It's not widely used, but a great idea in my opinion
5  Discussions / Miscellaneous Topics / Re: What's in your gamedev software rig ? on: 2017-01-25 05:36:34
For the people using VisualVM, a while back i found that it affects program performance and doesn't measure times as accurately as the -Xprof option, which is described here:

http://www.javaperformancetuning.com/news/qotm037.shtml

But perhaps it has been improved since.

Software:
Netbeans IDE
PAINT.net textures
Inkscape vector drawing
FileZilla FTP
Git via NetBeans
Tomcat WebServer
JTS for useful polygon routines https://github.com/locationtech/jts
6  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-01-09 03:43:12
You've made a really nice forest environment, beautiful trees, grass and path.
Will be interesting to see whether you allow one player to control a party or a single character among a multiplayer group. Looks very promising!
7  Discussions / General Discussions / Re: New Year Resolutions -- 2017 on: 2016-12-28 04:43:44
I really want to finish studying this year and then get time to tie up all the loose ends I've been ignoring like fixing stuff around the house, exercising and hanging out with friends more.

Like you guys, I also want to participate in some game jams to test some concepts. Ludlum dare or a physical all weekend one. I'm not sure if I'd do it with another person unless they were also willing to work in java. Few game devs use java where I am.

Learning more about AI, electronics and the C programming language would also be cool.

8  Game Development / Newbie & Debugging Questions / Re: Image Collision Detection Recommendations on: 2016-12-20 10:50:25
Here are some good alternatives:
http://stackoverflow.com/questions/1861382/convert-png-to-svg

Back when I tried to do this only Potrace seemed decent:
http://potrace.sourceforge.net/

But these days even Inkscape has an option to do vectorising of bitmaps.

This java library looks promising, but I haven't tried it:
https://github.com/jankovicsandras/imagetracerjava7

9  Game Development / Newbie & Debugging Questions / Re: Image Collision Detection Recommendations on: 2016-12-20 00:38:16
One method that might be more efficient if your images don't change, they're just rotated and translated, is to make a polygon out of the image outline. Maybe make lines between border pixels. I think that there are libraries that do this, but I can't remember their name. JTS can then simplify the polygon by turning Collinear points into one straight line, then just do an intersection test of these lines in the polygon against other polygons' lines.
10  Discussions / Business and Project Management Discussions / Re: Crowdfunding in 27 Easy Steps video on: 2016-12-14 14:03:41
Hi Riven and Catharsis,
You're both very reasonable and friendly people so it's a pity to see you inflame old wounds so publicly. Obviously there was a misunderstanding that has not been de-escalated. We should move on and look forward. Let your great minds loose on the interesting software problems that you solve here, rather than dwell on this 'water under the bridge'.
11  Discussions / Business and Project Management Discussions / Re: Crowdfunding in 27 Easy Steps video on: 2016-12-13 04:15:38
Here's a huge thread on Indie gamer about Kickstarter postmortems
http://forums.indiegamer.com/threads/kickstarter-com-game-post-mortems.36126/

Again, they're all by successful developers who were funded so they're the lucky ones.

Most are very detailed and interesting to read. I looked at the Scraps weaponised vehicle game and the legend of eisenwald turn based single player rpg game
12  Discussions / Business and Project Management Discussions / Re: Crowdfunding in 27 Easy Steps video on: 2016-12-06 01:05:42
I was reading about the interesting survivorship bias recently:
https://en.wikipedia.org/wiki/Survivorship_bias#In_the_military

Survivorship bias is where we draw conclusions from the evidence that we see, ignoring the cases that we don't see because they failed and we never heard about them. This leads us to base our conclusions on the exceptions.

It's very kind of Catharsis to share his experiences so we're not mis-guided by the kickstarter success stories where the entrepreneur was probably just lucky. As they say, shit happens, so don't blame yourself for failures, and 'fortune favours the bold', so keep on trying.

Quote
I'm surprised that a company would make its "business model" one of repeatedly going back to KickStarter. Don't most people think of KickStart as a place to get a leg up when you are just starting out? I think veteran companies would have a harder time, because of this, and their "customers/supporters" would be increasingly demanding and value conscious rather than altruistic and generous.
Yes I was surprised by this too! If there were any bugs or annoying elements in the original kickstarter game that I bought from that company that they didn't fix, and then I learned that they are embarking on a new game, then I would be a little upset. Perhaps their games are all rock-solid excellent so this doesn't happen.
13  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-11-30 01:11:58
Neat, I actually assumed that you were using 2D graphics as most top-down view games do. Will be cool to see the more advanced 3D version you're working on. How are you doing it, using Unity, LWJGL, JMonkey engine or something else?
14  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-11-29 10:07:57
They came and played SLAG, well a few of em did. You got a random tank body and a random turret which gave you pretty random stats. You got to run around a small map and shoot the other guy. It only had PvP. To my surprise people really liked it.
I got interviewed a few times. I don't interview that well. https://youtu.be/E8E_We2z9Ao (no idea why youtube link won't work in preview. )
We are using the PBR rendering pipe line and finding it AWESOME. Really looking forward to real textures etc.
Fantastic, I love top-down view action games, especially with multiplayer.
Watching the video makes me really want to go to PAX next year. Sounds like a great atmosphere.
By the way, what's PBR? Google turned up Panda rendering engine and Physically based rendering.
15  Discussions / Business and Project Management Discussions / Re: Crowdfunding in 27 Easy Steps video on: 2016-11-27 10:01:43
Thanks for the thorough write-up, it is a cool video introduction you made for KickStarter. Interesting to hear how difficult it is to gather an audience. Sometimes I read posts by unknown programmers here who have a cool game that they're showcasing or advertising but no-one replies which is sad. Not because people don't think it's awesome, but because what do you say if the game is finished and they're not asking for advice or help and perhaps they won't even read the forum again after posting.

Your TyphonRT app looks great, reminds me of Instagram but for videos with all the cool effects and pre-sets  Cool
I can imagine that it would be hard to market such an advanced video tool when most people probably assume that high-level effects can only be achieved on a more powerful computer, not a phone.

What you said about social media not being fruitful is a pity. Perhaps your contacts liked the product but couldn't afford to back every single thing that comes up. With the prevalence of open source software and the way everything is somehow done for free, unfortunately there's a perception that everything should be or will be free despite all the work it takes to program cool projects.
16  Discussions / Business and Project Management Discussions / Re: Crowdfunding in 27 Easy Steps video on: 2016-11-26 15:14:04
That's an interesting strategy. From his talk he said that most people have to or should self invest and show a working prototype before kick starting, unless they have an amazing reputation that makes people trust them to do a great job.
This team harebrained schemes do seem to raise a lot of money and make good profits, though maybe I'm under-estimating their costs. It's very kind of the speaker to share his secrets.
17  Games Center / Showcase / Re: Proxy - A game about programming on: 2016-11-26 15:07:46
I really like the bright green palette. The terrain is very nice. It will be interesting to see how it looks as the character moves. From the screenshot it's hard to tell what the perspective is and how the shadows will behave. Nice job!
18  Discussions / Business and Project Management Discussions / Crowdfunding in 27 Easy Steps video on: 2016-11-25 11:57:05
An interesting video 'Crowdfunding in 27 Easy Steps' by Jordan Weisman:
https://software.intel.com/en-us/videos/crowdfunding-in-27-easy-steps
https://www.youtube.com/watch?v=bBELi_9v4n8MmB9b5njVbA

I wonder what Nate and others who have used KickStarter here have to add?

I was surprised to hear how he recommends marketing the game before putting it on KickStarter. I assumed that KickStarter was the advertising medium. He has some great ideas.

He also seems to recommend having a low funding target.
19  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-11-17 11:31:08
Had fun porting my little toy expression evaluator from HotSpot/Desktop with objectweb's ASM library as code generator backend to Android with Dexmaker.
It's ~40 times faster than exp4j on an Android ART device.
Tested with Apo's expression:
2^((14-x+t)/6)-sin(x+t)*2^(x/2)*(1-1/(1+20))


EDIT:
When not using sin(), the following expression:
2^((14-x+t)/6)*2^(x/2)*(1-1/(1+20))

is even 100 times! faster than exp4j on Android. On a device with the Exynos 8 Octa (8890) ten-thousand invocations take ~3.5 ms. vs. exp4j with 359.8 ms.

Nice job, works well.  Cool
I was looking for a maths expression parser years ago and no free ones existed until some smart JGO people made some interesting alternatives including woogley, Riven and pjt33:
http://www.java-gaming.org/topics/free-maths-expression-parser/20086/view.html
However their versions didn't include more advanced functions such as sin and cos, unlike yours.
Using some of the strange corner cases that people dreamed up in that thread, I see that your version outputs:
2^3^4 = 4096 rather than 2.4178516e+24
-2^2 = 4 rather than -4. But MS Excel also has this bug and it has never been fixed.
Cheers,
Keith
20  Games Center / Showcase / Re: [Free][Windows] WorldGrower, rpg simulator on: 2016-11-13 10:53:18
It's nice, you've done a great job adapting the look of swing. Perhaps darken the texture a little so it contrasts against the text. Both area a little too bright. Or darken the text and lighten the texture.
One thing that you might consider is a skill tree rather than the spreadsheet-style cells of numbers. Skill trees were one of the cooler aspects of Diablo, allowed for a greater amount of replay-ability.
21  Game Development / Networking & Multiplayer / Re: Fuse Multiplayer Platform on: 2016-11-10 02:31:11
Meadow is an interesting game, I've never heard of such an exploration game before. Graphics look good, nice video too.
22  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-11-09 23:29:57
Even if he eliminates his hate speech and pushes totally moderate agenda and none of his WTF things...it's still a disaster.  Hate of others is now OK.  Hate of america is flamed. 

Trump doesn't appear to be a wise leader or a good role model judging from the past. However, since winning he has refrained from gloating and has promised to unite the country again, acting more 'presidential'. Let's hope that continues
23  Java Game APIs & Engines / Engines, Libraries and Tools / Re: JOML 1.8.0 Release on: 2016-10-22 18:59:28
Yes.  The trick is range reduction since atan doesn't converge as fast.  So there are many more choice trade-offs.

That's great news! Are these trade-offs done automatically by sollya or does it need manual tuning?

24  Java Game APIs & Engines / Engines, Libraries and Tools / Re: JOML 1.8.0 Release on: 2016-10-22 18:05:05
Is it possible to make an atan2 approximation using the sollya method you used to make this great sin approximation?

I see that atan2 is not continuous and has vertical asymptotes so would an approximation using this polynomial-fitting method be very good?
25  Java Game APIs & Engines / Engines, Libraries and Tools / Re: JOML 1.8.0 Release on: 2016-10-22 15:25:41
Very interesting.

I made some small additions to Roquen's code to do a little micro-benchmark of the different Math.sin approximation methods referenced in this and other threads between zero and +Math.PI. Thanks to Roquen, Kai, theagentd and Riven for contributing their different fast sin methods.

Here are the micro-benchmark results:

1  
2  
3  
4  
5  
6  
7  
8  
9  
Math.sin nanos per operation: 92.64692352
original nanos per operation: 15.45626018
horner nanos per operation: 12.8026165
range nanos per operation: 9.38279252
newk nanos per operation: 9.22229814
sin_9 nanos per operation: 7.35209479
sin_theagentd_lookup nanos per operation: 9.73315193
sinHalf nanos per operation: 7.10601857
sinFull nanos per operation: 6.19737146


I have little confidence in my own benchmarking abilities, but I did notice that these results are similar to Riven's given here (http://www.java-gaming.org/topics/are-sin-cos-lookup-tables-still-relevant-today-with-regards-to-performance/29853/msg/274983/view.html#msg274983). Riven's sinHalf and sinFull methods take about 7% of the time needed for the Math.sin function in his test and in mine here.
Riven's SinHalf lookup table method is the fastest. Roquen's interesting sin_9 method is only marginally slower but I suspect it has far greater accuracy. The speed of Roquen's newk method given it's level of accuracy is pretty incredible.

I wanted to include the error table that Roquen showed and include Riven's methods too, but I did something wrong with measuring the error of Riven's look up tables since it was negative, so I won't post that error output until I have time to investigate.

Here is the code that I threw together to do these benchmarks. Apologies for the poor organisation. You may have to run it with the -Xmx6000M VM option to avoid running out of memory or else change the line "int numTestValues = 100000000;" to something smaller.


http://www.java-gaming.org/?action=pastebin&id=1489

A big thank you to Roquen, Kai, theagentd and Riven for their code.
26  Java Game APIs & Engines / Engines, Libraries and Tools / Re: JOML 1.8.0 Release on: 2016-10-20 10:09:12
Is it that the error 'e' actually got smaller on the second print rather than bigger, so 5.881719777889316E-9 < 5.881720110956223E-9 ?
27  Java Game APIs & Engines / Engines, Libraries and Tools / Re: JOML 1.8.0 Release on: 2016-10-17 22:08:47
Impressive, thank you. I'll try to run your code and do a test to see how much faster this approximation is.
By the way, what is your job or study area?
28  Java Game APIs & Engines / Engines, Libraries and Tools / Re: JOML 1.8.0 Release on: 2016-10-16 12:27:52
Thanks, interesting to read about that software package Sollya. It looks difficult to use for non mathematicians, I couldn't see any sin approximation function there ready-made. I assume that you used it to make one yourself somehow for those nth degree polynomials?
29  Java Game APIs & Engines / Engines, Libraries and Tools / Re: JOML 1.8.0 Release on: 2016-10-16 09:42:04
Is that a graph of the error compared to Math.sin of the different approximations 'order-9, order-11', etc?
What is the 'n' on the y-axis?
30  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-10-03 11:22:32
What I did... actually over the weekend... was I've finally decided to bite the bullet and figure out coding a modern OpenGL application. I knew the pre v2 OGL pretty well and I figured it was time to take the plunge.  It's been fun.  Using "3D Game Development with LWJGL" GitBook as a guide.

How incredible that this book is freely available. I notice that it doesn't have a listed author, strange. Open source is incredible.
I'd like to ask the author about their experiences using GitBook.
If Wikipedia were not invented yet and someone thought of making it, I wonder if they would use Git rather than develop its current system again from scratch.
In my limited experience, Git appears very efficient, fully undo-able and fine for even small updates on very large projects.
Pages: [1] 2 3 ... 59
 
Archive (35 views)
2017-02-27 19:41:49

Riven (44 views)
2017-02-27 17:26:59

numerical (418 views)
2017-02-21 07:32:16

numerical (419 views)
2017-02-21 07:31:46

theagentd (534 views)
2017-02-18 13:42:33

theagentd (530 views)
2017-02-18 13:35:16

h.pernpeintner (1694 views)
2017-01-24 22:39:11

h.pernpeintner (1672 views)
2017-01-24 22:38:32

Galdo (2237 views)
2017-01-12 13:44:09

Archive (2180 views)
2017-01-02 05:31:41
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21
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!