Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (724)
Games in Android Showcase (216)
games submitted by our members
Games in WIP (791)
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 ... 12
1  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-03-29 12:29:49
Never thought that it would be so hard (for me) to make a good random terrain mapping and (much harder) a good random city building.
For the terrain I use the diamond square algorithm and for the city I use my own templates which are ordered randomly.
And I implemented a minimap and a first interface.

Now I can really start to implement the "game" =) but until now it was really fun to learn something new =)

2  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-03-17 20:33:09
Work on a new game. It will be my first network/client server game and the core gameplay will be similar to the game from mike state of profit but with more focus on building and growing your own town.
At the moment you can scroll, zoom in and out and place different tiles with the mouse (more an editor at the moment). Next step core gameplay.


3  Games Center / Showcase / Re: Meganoid (2017) a challenging roguelike platformer (steam+mobile) on: 2017-03-10 10:20:02
I like the style of the trailer and of course the game looks nice as always =)
4  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-02-14 14:19:40
Don't forget the valentine's day Cheesy
My interpretation Cheesy
5  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2017-01-25 09:03:06
Now you can play the game in your browser, you don't have to download it. Wink

I removed some bugs and if the render/update cycle needs too long, then the game renders less objects.

Next step is to publish it to the playstore. The native android version is much faster then the browser version.
6  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-01-16 20:30:23
Played a bit with some fractals
7  Games Center / Showcase / Re: Equal on: 2017-01-09 20:08:29
I think phil is right. The difference between the game modes was too small.

What's new
- balanced the new game mode - time attack. Start with more time (20 seconds, get 3 seconds for a correct answer, lose 5 seconds for a wrong answer)
- if you make a wrong decision the game flickers red for a short time
- in the attack mode you see the seconds left as a value

Download
Android Version
HTML Version
Desktop Version
8  Games Center / Showcase / Re: Equal on: 2017-01-09 11:50:45
Thanks for the feedback.

You can quit to menu by pressing ESC or in android by pressing the back button.

The Challenge and Time Attack mode are different.
In the time attack mode you get 3 seconds for every right answer, and for every wrong answer you will lose half the time you had for solving the current question. That means. You start with 8 seconds left and think 2 seconds, after that you press the wrong button (minus 4 seconds) then you have 8 - 2 - 4 = 2 seconds left for pressing the correct button.
If you press the correct button instead, the time for the next question is 8 - 2 + 3 = 9 seconds.
I had to make such a system because I dont want that the persons guess the right answer.
Another solution would be to substract more "fix" time for the wrong answer  then add for the right time. For example 3 seconds add and 4 seconds substract and start with more time at the beginning.
Perhaps I had to try to balance it a bit.
9  Games Center / Showcase / Re: Equal on: 2017-01-09 07:33:34
A new version is online. This is the final version ... really ... I hope Wink

What's new
- added a new game mode - time attack. Get time for every correct answer and lose time for every wrong answer. If you are fast, you can build up some time.
- new font, I had some problems with kerning, now it looks good
- new setting: time help - if you switch that button on then you will see between your terms how much time is left

Download
Android Version
HTML Version
Desktop Version
10  Games Center / Showcase / Re: Equal on: 2017-01-06 13:04:36
Thanks for the feedback. =)

In the Html-version and in the desktop-version it is possible to use the keyboard.
left button (standard equal button) is left key
right button (standard notequal button) is right key
restart is enter or 'r'
show the statstics 's'
show the options 'o'

Moving the timer is an idea. I will try it and have a look what is a good location for the timer.

An idea is to add an extra mode. You start with 5 seconds. For every correct answer you get x seconds and for every wrong answer you will lose some time. The game ends when you have no time left.
11  Games Center / Showcase / Re: Equal on: 2017-01-04 19:19:39
Thanks.

Today I uploaded a new version. If I dont find any bugs it will be the final release. Like I said it is only a small game but a nice small game =)

What's new
- language settings
- you can choose a color schema
- you can switch the equal and not equal button
- buttons fade in and fade out =)
- make it harder to cheat/hack the online score (imho it is impossible to make a javascript application really "save") but now it is harder to cheat [most of my friends try to cheat/hack the online highscore and dont play the game ... i have strange friends] =)

Download
Android Version
Desktop Version
HTML Version

Screenshot
12  Games Center / Showcase / Equal on: 2017-01-02 16:31:52
Hi,

my latest game is called "Equal". It is a math game where you have to decide if terms are equal or not - you only have a couple of seconds! It is small and simple =)

Download
Android Version
Desktop Version
HTML Version

Screenshots

13  Game Development / Newbie & Debugging Questions / Re: Libgdx HTTPRequest on: 2017-01-02 14:45:57
Ok, found the problem -> no access control allow origin header

Solved it with the new header information in the php file. But the correct solution seems to be using cors. I will add it now.
14  Game Development / Newbie & Debugging Questions / Libgdx HTTPRequest on: 2017-01-02 13:54:07
Hi,

I made a little math game and want to save and load the highscore with php and mysql.
Everything works fine in the desktop and the android version. But in the html version of the game I can save the score but the highscore dont want to load ingame.

The code I use
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
         HttpRequestBuilder requestBuilder = new HttpRequestBuilder();
         HttpRequest httpRequest = requestBuilder.newRequest().method(HttpMethods.GET).url(EqualConstants.USERLEVELS_GETPHP).build();

         Gdx.net.sendHttpRequest(httpRequest, new HttpResponseListener() {
            @Override
            public void handleHttpResponse(HttpResponse httpResponse) {
               String resultAsString = httpResponse.getResultAsString();
               String[] split = resultAsString.split("\n", -1);
               if ((split != null) && (split.length > 0)) {
                  maxScore = Integer.valueOf(split[0]);
               }
            }

            @Override
            public void failed(Throwable t) {
               Gdx.app.log("Failed ", t.getMessage());
            }

            @Override
            public void cancelled() {
               Gdx.app.log("Cancelled", "Load cancelled");
            }
         });
         
         return true;


Can someone tell what is wrong? Thanks =)
15  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-12-20 08:49:02
Another issue that happened to me when playing on a Nexus 9, was that the time progresses significantly slower than realtime when the baby "falls" and "slides" on the function graph. The seconds elapse at around one third of the realtime. Oddly this does not happen when swiping with the finger all over the viewport whilst the animation runs. As long as I touch and swipe around with the finger, the time progresses normally (faster) equal to realtime. When stopping the swiping, the time again progresses slower.

Mhh, I updated my nexus 9 and tried it ... and you are right and I have no idea.
When the user presses a button, the input is saved and in the next update/render step it is evaluated. Why the nexus 9 makes such strange things ... I dont know, I have to debug it at home.
16  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-12-19 09:45:11
I created a website for the game and added some sound effects.

Next steps:
- more find the function levels (I want 30 or 40 levels)
- music
- publish it to the playstore

current Alpha-Download
Android Libgdx version: Download
Desktop libgdx version: Download

And I created some gifs to show how the game works.

Click to Play

Click to Play

Click to Play
17  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-12-13 07:10:22
I implemented a correct dashed line in BabyGraph. Now I can draw a dashed line with a given color and a given width for every polygon in libgdx.
That was a pain. It is simple math ... draw a line, don't draw a line etc but I need more than 4 weeks to implement it correctly.
And now I am so happy ... no that was a lie ... I am sooooooo happy. =)

18  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-12-11 12:37:06
Just one tiny thing: I have the impression that somehow when entering an expression fast on a Desktop keyboard, the game does not recognize all key presses and oftentimes on an Android device, key presses are recognized multiple times in succession, even though the press was just very quick. Do you use event-driven input or do you query the key states on each render cycle?

Thanks for the feedback. It was event driven input (but with a mapping for the desktop key input). Now it is evaluated every render/update cycle and now the problems are gone. =)

And I implemented a new babysprite with a "crawl" animation and some more "find the function" levels (at the moment 20 levels).

Next steps:
- more find the function levels (I want 40 or 50 levels)
- sound/music
- publish it to the playstore

current Alpha-Download
Android Libgdx version: Download
Desktop libgdx version: Download
19  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-11-29 07:47:18
Thanks for the nice word phil.
The sweet geyser starts in the middle of the game. It has no "source". It shows only the joy of winning the level. =)

Today I started with a new game mode: Find the function. In that mode you have to find the correct function and only the function, no baby and no sweets. While playing the game I found so many nice looking functions that I have to add that game mode.

Next steps:
- more find the function levels
- sound/music
- publish it to the playstore

current Alpha-Download
Android Libgdx version: Download
Desktop libgdx version: Download

20  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-11-25 08:24:14
Today
- I added three new achievements
- some "flying" functions in the background in the menu.
- I removed serveral bugs

Next steps:
- sound/music
- publish it to the playstore

current Alpha-Download
Android Libgdx version: Download
Desktop libgdx version: Download


21  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-11-23 13:43:24
Today I implemented
- an options menu, now you can choose the language and everything is prepared to switch music and sound on and off
- an achievement screen, you can get up to nine achievements
- removed some bugs in the editor

Next steps:
- sound and music
- publish the game to the playstore

current Alpha-Download
Android Libgdx version: Download
Desktop libgdx version: Download
22  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-11-21 19:45:52
Today
- I added a new start menu
- now you can compare yourself with the world (check your best time against the world best time to beat that level)
- I added some "sweet"-particles after solving a level.
- the game looks after your system language, if its german the game is in german else english Wink

Yes, I am on the right way. =)

current Alpha-Download
Android Libgdx version:Download
Desktop libgdx version: Download
23  Games Center / WIP games, tools & toy projects / Re: Lala - Now available in alpha on Google Play on: 2016-11-21 09:10:21
Very nice game.
Works fine on my oneplus 2.

Of course it is very easy but I like systems when you can skip a hard level because you have always 5 level to play and not only one.

But overall I like  the game mechanics and found no bug in the first 20 levels.
24  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-11-20 20:04:57
WIP version:


Whats new
- As you can see now I can draw a dashed line with libgdx. But my algorithm isnt perfect at the moment. I will fix it in the next version.
- And now you can see a 3 seconds preview when the "t" variable is in the function.
- I added the position information in the android version to "always on when the game is not running". That should help to find the correct solution.

Next steps:
- sound
- more polishing
- perhaps achievements
25  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-11-18 16:51:15
KaiHH - I am so grateful.

Now it works fine on my smartphone [onePlus 2].
If you want to try it, you can find it here.
If you want to try the desktop libgdx version, you can find it here.

Next steps:
- sound
- find a solution to draw a dashed line with libgdx
- polishing (smartphone version)
26  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-11-06 19:13:30
After making the android version of 5 different 4k games with libgdx, I tried to port BabyGraph.

And what I can say ... I am frustrated.  Cry

The "normal" port was easy for me (except some problems with drawing a filling polygon and other little problems) but I solved them all ...
All Problems? No, a little problem "crashed" the whole port.
And that is calculating the values for the function. On a "normal" pc everything works finde but on a smartphone it is way too slow (only with the 't' variable).  Cry
I tried so much libs and the best for me is the JEP Java library (the last free version). With that the smartphone version is only 5 times slower than it should ... with my solution or other libs the factor is 30 to 100 times slower. And that is frustrating.

Now I have to find another solution or I cancel the android port.  Cry
If you want to try the current slow andoid version, you can get it here and see what I mean.
27  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-10-29 15:46:30
I tried the libgdx library und what can I say ... i love it. =)

I made a little libgdx project to try out different settings etc. If you want to see my "playground" with 3 different 4k games ported to libgdx, click here.

Next step is porting the BabyGraph game. =)
28  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-10-22 09:22:39
I had to fix several small bugs and I polished some menus.

Now I am really happy with the result and I can say that is the first version that feels "complete" for me.

Download the game and have fun. Wink

Now I can really start to port the game to android
29  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-10-18 19:45:15
A new version is online. And if there are no bugs, it will be a release candidate.

new:
- I fixed bugs in the editor.
- You can start the game by pressing Enter
- update the function every 10 ms

A workmate was a very good rubber duck. I reported my problem with the time and solved the problem on my own. I dont need to calculate from x = -500 to x = 500. My levels are small (and hard enough). The new borders are x = -105 to x = 105. Thats really enough to have fun and its fast enough to solve it every 10 ms. Wink

The next step is the android version. It will be my first libGDX project. I'm looking forward.
30  Games Center / WIP games, tools & toy projects / Re: BabyGraph on: 2016-10-17 16:33:22
Thx. =)

Now the editor is ready and I polished the game. I am very happy with the result.
You can create your own levels (then you have to solve them) and after solving the level you can upload the level and everybody can play it. =)

Next step is trying to make a little better collision detection. But it works good now. Wink

A question:
I update the function with the time variable only every 100 ms because calculating the values for the polygon needs time (for longer, harder function like '((2^((14-x+t)/6))-e^(-(((x-96)/12)^2))*32+2^((x-96)/2))*(1-1/(1+20))' ). Then I need ~15ms to calculate all new values. My plan is to update the function every 10 ms.
Do you know a simple libary to solve that (speed)-problem?
I have a string with a function and want the result for x >= -500 and x <= 500 in (0.1 steps). At the moment I tried exp4j, javaluator, my own solver and the javax.script.ScriptEngine . And all solutions needs too much time.
Pages: [1] 2 3 ... 12
 
Archive (43 views)
2017-04-27 17:45:51

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

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

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

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

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

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

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

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

theagentd (485 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!