Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (726)
Games in Android Showcase (216)
games submitted by our members
Games in WIP (796)
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 ... 60
1  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-05-11 14:11:00
Sorry for the delayed reply, for some reason my browser showed errors everytime I tried to reply before today.

Thanks for the tips and write up! The learning process sounds fun so I'm looking forward to it. I actually bought a bunch of electronic stuff on eBay like servos and arduinos but I've not yet had time to fully dive in.
I did get a servo working on my c2 odroid mini computer using Java, and I wired up a laser pointer to an arduino programmed in their default IDE but that's it.
My dream is to eventually build a remote control thing of some sort. Given my inexperience with flying I think I'll start with a wheeled vehicle first.
Thank you for your code, very interesting. It looks like you have 7 servos on the plane judging by the code, nice!
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-05-05 09:49:01
Sooo, half a year ago I said I would build a flight controller with arduino (teensy) ...
Here it is Cheesy

Sorry for giving you cancer with the video quality Roll Eyes

I've flown 1km far out yet, still plenty of signal with the RFM69H module, you can fly for at least about 20 minutes, with medium motor usage.
It has sensors for gps, air pressure, orientation and battery voltage onboard.

With all of that you can compute altitude, speed, distance and angle from home, etc with the ultimate goal of programming my own autopilot.
Right now it's just displaying the information on the transmitter-display.

That's the brain right here, painstakingly hand soldered...

Very cool project Cool Incredible that you were able to finish it and even fly that thing so well. I imagine it requires expertise in electronics, aviation and software. I'm interested to learn electronics and have some questions.

1. Do you communicate all that gps, battery usage and other info using that radio signal device? If so, did you use some API that can encode binary data over such a device? I thought radio waves are analog and therefore so lossy so I'm interested in how this is done.

2. Is there some guide you can recommend for doing such a project? I've investigated various quadcopter projects but an aeroplane with longer range is much cooler in my opinion.

Thanks!
3  Java Game APIs & Engines / Engines, Libraries and Tools / Re: GUI Library for Java Game Development? on: 2017-05-05 09:41:20
You're probably already aware of this interesting work in progress:
http://www.java-gaming.org/topics/lwjgl3fx-a-sneak-peek/38003/msg/365117/view/topicseen.html#msg365117

Rolling your own GUI framework is good for customisability and making nice buttons and displays.
But text editors are a nightmare! You definitely want a GUI lib if you need text entry, especially multi-line text entry.
4  Game Development / Performance Tuning / Re: Pathfinding over too large grid on: 2017-04-29 04:12:04
Dynamic terrain and unit blocking is tough. Maintaining the navigation mesh with this is hard.
Will you also incorporate fog of war or line of sight?
If so, you can make units follow dumber paths that explore as they go. This has the benefit of cheaper incremental computations. Riven recommended this to me when I investigated the path finding problem.

Cool pictures by the way  Cool
5  Game Development / Newbie & Debugging Questions / Re: Curious about loopy loops on: 2017-04-26 00:02:00
Use the profiling -Xprof JVM option to see what's taking too long. As people often say, premature optimisation is is a trap.
If you identify that the path finding is taking too long there are some handy shortcuts that you can use like measuring squared distance rather than actual distance that uses slow squared roots.
6  Games Center / Showcase / Re: Howard Phillips Lovecar - fight otherworld monsters from your car! on: 2017-04-24 12:45:15
Nice game! Worked well on windows 10 x64. Though after about 5 minutes of play where I just drove around the monsters incessantly firing I achieved a score of about 27,000 and then the game crashed. Perhaps it ran out of memory? I fired both left and right cannons non-stop so if the bullets, blood, tracks, monsters and bodies aren't disposed of, it may have overloaded the JVM memory limit.

The top-down view and effects are great. I especially like the car track effect, very satisfying  Cool

If you had time to add more weapons and a hot-seat co-op game mode where one person drives and the other shoots, perhaps with the mouse, it would be cool.
7  Discussions / Java Gaming Wiki / Re: SF/X Libraries on: 2017-03-02 10:15:59
Loving the eerie elk sounds on yellow stone national park. So generous of them to make it public domain.
Thanks for posting
8  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
9  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.
10  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
11  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
12  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
13  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!
14  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.

15  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

16  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.
17  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'.
18  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
19  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.
20  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?
21  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.
22  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.
23  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.
24  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!
25  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.
26  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
27  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.
28  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.
29  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
30  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?

Pages: [1] 2 3 ... 60
 
Archive (284 views)
2017-04-27 17:45:51

buddyBro (474 views)
2017-04-05 03:38:00

CopyableCougar4 (923 views)
2017-03-24 15:39:42

theagentd (935 views)
2017-03-24 15:32:08

Rule (948 views)
2017-03-19 12:43:22

Rule (916 views)
2017-03-19 12:42:17

Rule (918 views)
2017-03-19 12:36:21

theagentd (965 views)
2017-03-16 05:07:07

theagentd (891 views)
2017-03-15 22:37:06

theagentd (688 views)
2017-03-15 22:32:18
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

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
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!