Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (710)
Games in Android Showcase (212)
games submitted by our members
Games in WIP (784)
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 ... 9
1  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-01-19 21:13:53
Going to Beijing, China next week. My dad speaks Chinese and I'd like to learn it, there are many great Android apps for it. But I wanted something where I could gradually add words and it would pick out sentences for me to translate - so I made my own app for it.

The app uses Tatoeba for Chinese and English sentences. The sentences were stored in one big CSV with half a million or so entries (300 mb uncompressed), but I removed all the entries that weren't English or Chinese, so then I only had 90 000 sentences to manage. I also ran a script on those sentences to find the Chinese characters that were most common, and created a separate CSV with each character and the number of times it occurs. You learn the characters that are most frequently used first. I also added Pinyin pronounciation guides using a library called hanyupinyin.

The read screen where you practice sentences features text to speech using Android's super-simple API. The voice is great. The only thing that remains to be done is adding a time-based spaced repetition system where words and sentences are repeated with increasing intervals.

All in a day's work, I'm very happy with how it turned out. Take a look!

2  Game Development / Newbie & Debugging Questions / Re: getting rid of "instanceof" on: 2017-01-12 21:30:30
@princec that's a very interesting thread, thank you for sharing.

Personally I would make an abstract method and call that, then implement the behavior in the subclasses/shared superclass if they have the same behavior. But if I don't feel like being meticulous I'll just use an instanceof.
3  Discussions / Miscellaneous Topics / Re: What I drew today on: 2017-01-10 13:21:38
Added some clouds and things to my current WIP project

That player character is adorable!
4  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-01-10 13:19:05
@Roquen Thank you for sharing this, very interesting.
5  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-01-06 16:19:37
Follow me Smiley

Followed you, good luck with your game Smiley



Added statistics screen to my coin clicker.
6  Games Center / Showcase / Re: Equal on: 2017-01-04 19:52:33
Good work!
7  Discussions / General Discussions / Re: New Year Resolutions -- 2017 on: 2016-12-27 22:41:13
I've been running for 4 months, I wanna see if I can go 10km without breaking by the end of 2017

You can do it! Well, unless you have some heart problems or something...

In high school they made us run 10km once a year, the first time it was scary, it's a long distance, but after a while you settle into it. I'm definitely not a runner but I got through them (didn't break), you should be able to as well, considering you've ran 4 months already, which is great!

- Limit the amount of time I spend zoning out on Reddit

Haha, good one!
8  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-12-25 20:34:42
Actually published a game. The game in question is a super-simple LibGDX clicker game. Looks like this, took a few hours to make. Most of the time was spent looking up how Android and Google Play publishing actually works. It looks like this.



It's not the most fully featured game but it was a great learning experience. The younger cousins liked playing it quite a bit, so much they hogged my phone half Christmas eve. Too bad they all have iPhones.
9  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-12-17 19:05:07
So does the binary keyboard input the characters 0 and 1 or do they buffer until you enter a valid UTF-8 code point?
10  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-12-11 20:55:08
Prototyping a psychological horror game. You live alone, no job, no friends, no family, and you need to keep your light bill down - but in the dark, the supernatural has free reign.

Haven't got much gameplay yet but for one day's work I'm happy.

11  Games Center / Showcase / Re: Red Defense - Tower Defense Game on: 2016-08-03 20:58:12
Dialectical name comrade
12  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-08-03 10:29:49
I did very well on my interviews for full time conversion with Google today! I hope I get a full time offer!

Congratulations!
13  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-06-22 18:32:01
Awesome article posted by Dragonene_ on IRC, discussing how market share works (or rather, doesn't exist) in the games industry:

https://medium.com/steam-spy/your-target-audience-doesn-t-exist-999b78aa77ae#.xofz0xw4x

Huge thing to note, is that there are only 1.3 million (1% of total) steam users who can be considered "core" gamers.
"Core" gamers being the people who you can expect to purchase several games per year.

Great article. I only played MMOs because of World of Warcraft and now that World of Warcraft isn't that fun anymore (because Blizzard didn't manage to even maintain the quality of the game after WotLK, let alone improve it) I've moved on to other kinds of games. I was only an MMO gamer because of WoW, I was in the WoW market but not in the MMO market. I'm in the League of Legends market but not in the MOBA market, and so on.

Many people including myself tend to specialize in one single or a few games and play mostly them for long periods of time. They rarely go out of their comfort zone trying new games. As a game developer I either have to fill a niche that is requested but not filled (rare) or create my own market (hard) - if I want to make money off my hobby, that is.
14  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Java Universal Model Importer (JUMI) - Early Alpha on: 2016-06-21 18:27:49
I think that last part is a big issue. There should be a copious amount of polymorphism. This allows me to box and unbox.
It would save on the millions of booleans created, too. isWhateverSupported()

I am afraid you didn't answer my question. When you are saying the data will be stored in the JUMIMesh class, does it get returned or is it stored inside of the JUMI library to be flushed out?


Profile your application (perhaps using VisualVM, which is very easy to use), and if you're running into memory issues then look at the cause. Use the sample function. Same  goes for performance problems. There's no need to micro-optimize the structure of JUMI because it's very unlikely that the few KBs or MBs of RAM and milliseconds of time it occupies are the source of your (potential) issues.

And if you just want everything to be 100% efficient, well, you're using the wrong language because the garbage collector has other priorities than you do. C++ with reference counting and smart pointers would be a better fit, I think, now that compilers support C++11 the language isn't half bad to work with.
15  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-06-15 16:06:08
I put the finishing touches in on my Java interpreter for my small functional language experiment.

1  
main! => (printLine! "Hello world!")


The language is based on expression lists where each successive expression is applied to the previous expression if possible. The hello world example first evaluates printLine! and then applies a string constant to it, causing it to print. => is the declaration operator and is used to bind the result of an expression to a name.

Lambdas are curried by design (simplifies a lot, both for partial application of functions and for me as the interpreter implementer). Here we declare that add is a lambda with one argument returning a lambda taking another argument and summing the arguments.

1  
sum => x -> y -> (x + y)


The language is optionally typed and currently has no type enforcement, but typed syntax is allowed (just not implemented yet). That would look like this:

1  
sumInts => x: Int -> y: Int -> (x + y)


x is evaluated, + is applied to x (+ is a method of Int) which returns a partially applied function which is then evaluated when y is applied to it. x $ + $ y, you could say.

1  
KiloGram => type (amount: Int)


Declares a type with one field, amount, of type Int. Ints, Longs and other primitives are objects too. This makes the language quite slow but if performance becomes important I'll write a compiler instead. Or something. Performance isn't a priority currently.

1  
FiveKilos => (new KiloGram 5)


We instantiate the KiloGram type as you would expect. Same syntax as Java.

1  
member double => self -> (self amount * 2)


There's a method returning double the amount of the KiloGram. The member keyword by default attaches the method to the type that was last declared; but the language has open classes and we can add another method at any time and any place to any type.

1  
member triple of KiloGram => self -> (self amount * 3)


And since some of you may be wondering where the assignments are, they're done using the <- (store in) operator.

1  
index <- 0


Stores the value 0 in variable index. Type inference sets index to an Int.

There are more features that I haven't included in this post because I'm not sure anyone else is interested in seeing more and I feel I've scratched the itch of showing off the language for criticism now.

Some of the features not shown, but implemented, are:

  • Module syntax
  • Require for loading other files
  • C FFI (built on JNA for simplicity)
  • Conditionals as expressions

Technical details: the parser is generated by ANTLR according to a 60-line grammar, JUnit is used to test various cases (that's been invaluable so far), and JNA is used to access C libraries (for the FFI; because at this stage I prefer ease of use to speed).

If anyone is interested in hearing more or trying out the interpreter or seeing the source just ask and I'll gladly share Smiley

EDIT: I forgot, functional languages always show off their factorial functions, well, here's mine

1  
factorial => x -> if (x = 0) then 1 else (x * (factorial (x - 1)))
16  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-11-19 08:40:29
snip

Where are those maps from, if I may ask? And is it OK if I use them for my project (grand strategy)?
Found some them over the last 12 months or so from various random public domain sources. @theagentd got the water mask and normals map. Feel free to play with them as they're not mine in the first place... (apart from the "terrain" one). I should probably try and find where they came from and put them in the credits.

Cas Smiley

I did a bit of googling and found Nasas maps: http://neo.sci.gsfc.nasa.gov/view.php?datasetId=SEDAC_POP
17  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-11-18 19:32:27
snip

Where are those maps from, if I may ask? And is it OK if I use them for my project (grand strategy)?
18  Games Center / Contests / Re: [Idea] Would anyone be interested in a Pure Java game jam? on: 2015-08-19 08:52:23
What's the point in limiting it to "pure Java"? As if writing a game in "pure Java" didn't just mean that the native code was abstracted away from you?
19  Discussions / Miscellaneous Topics / Re: C# - Scripting host is not initialized error?? on: 2015-08-01 22:18:43
Universal applications for the Windows platform.
Hah, what a joke.

On topic though I'd guess that somewhere in the JSON parsing it wants to use a scripting language (JavaScript, perhaps?), and that .NET doesn't have an initialized host for that language.
20  Game Development / Game Mechanics / Re: Updated translate? (Extended Convo) on: 2015-07-15 18:04:46
You could use the Matrix4f class from JOML, it has a translate method.
21  Games Center / WIP games, tools & toy projects / Re: Pezna Story Engine - A tool for creating non-linear, complex stories for games. on: 2015-06-30 13:45:14
Are the variables you can set on a character dynamic? Or are you limited to a subset specified by you? Nice work, however.
22  Game Development / Newbie & Debugging Questions / Re: Runnable and Thread on: 2015-05-29 10:38:11
They say learn the essentials because you need to know the essentials before you can apply them. If you don't know how to apply the basic concepts of the language, you're going to have a hard time using it. Yes, people here help but they're not going to hold your hand while you learn the Java language - if that's what you want then you're probably not going to find it here. On the other hand, once you start needing help with more advanced things (like the optimal game loop) it is a great help because of the combined experience and knowledge.
23  Game Development / Newbie & Debugging Questions / Re: OSX 10.10 seems to have broken my games on: 2015-03-26 19:34:34
A lack of crash reports is rather ambiguous as a statistic  Pointing  Kiss

Absence of evidence is not evidence of absence.
24  Discussions / Miscellaneous Topics / Re: Good language for prototyping on: 2015-03-01 22:36:22
Scala and Slick2d is a match made in heaven for really quick development, I find.
25  Discussions / Miscellaneous Topics / Re: I published a game.... on: 2015-03-01 15:20:17
I can't conceive any scenario why it'd be on the front page of the store. Unless it becomes hugely popular it's not likely to end up there - and for your first game I doubt it has the potential for that.
26  Game Development / Newbie & Debugging Questions / Re: How can I make entities render once? on: 2015-02-23 12:18:55
Since stars are entities you could just add them to the entities list and not keep a separate list for them.
27  Discussions / Miscellaneous Topics / Re: Yay, free games! Zero's Game Giveaway on: 2015-02-22 23:30:59
CopyableCougar4 has it right, I vote that you do it in that fashion next time.
28  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Java OpenGL Math Library (JOML) on: 2015-02-22 23:29:18
Thank you so much for this! This makes OpenGL programming so much more convenient Cheesy
29  Java Game APIs & Engines / Engines, Libraries and Tools / Re: TGA Decoder on: 2015-02-22 23:28:34
Great! These things are sorely lacking from Java and interfacing with native libraries is a pain.
30  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-16 21:51:41
I have 1871 actual mentions. I can make this all go away with the push of a button. You just have to give up your identity and everything you hold dear. Emo

PM me a slight alteration of your nick and I'll make it happen. Soon.
Actual as in 1871 mentions of him or 1871 mentions of you?
Pages: [1] 2 3 ... 9
 
numerical (31 views)
2017-02-21 07:32:16

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

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

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

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

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

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

Archive (1951 views)
2017-01-02 05:31:41

0AndrewShepherd0 (2490 views)
2016-12-16 03:58:39

0AndrewShepherd0 (2305 views)
2016-12-15 21:50:57
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!