Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [LibGDX] eThlete  (Read 839 times)
0 Members and 1 Guest are viewing this topic.
Offline Springrbua
« Posted 2018-03-27 18:45:44 »

After over 4 years of reading about WIP-Projects on this forum, I am finally ready to show one of my own "creations":



The Game
As the title suggests, it is called eThlete, which is a combination of eSports and Athlete Cool.
It is a 2D sports game, inspired by Hyper Olympics and similar games.  
It is written in Java with LibGDX.
It can theoretically be played with any number of players and up to 4 players in split-screen mode.
There are currently 3 disciplines:
  • 100m dash: Smash a button as fast as you can, to gain speed and reach the finish line before your friends (split-screen supported).
  • Long Jump: Run as fast as possible and hold the Jump-button to increase the jump-angle. Release it at the right time, to jump as far as possible (no split screen).
  • 110m hurdles: Run as fast as possible and press the Jump-button at the right moment to jump over the hurdles. If you hit a hurdle, your speed will decrease (split-screen supported).

Disciplines that I have planed:
  • [Done]100m dash
  • [Done]Long jump
  • [Done]110m hurdles
  • [WIP]High Jump
  • Hammer Throw
  • Tripple jump
  • 1500m
  • Javelin throw
  • Marathon Grin

I hope to add even more disciplines and I will continue to update this list.

Depending on the device, you can use the Keyboard, Controllers or Touch-Input to control your athlete.
The Keyboard and Controller-Input is customizable but there are default configs for the following types:
  • Keyboard 1 -> Momentum: [ Space ], Jump: [ LCTRL ]
  • Keyboard 2 -> Momentum: [ NUM0 ], Jump: [ RCTRL ]
  • XBox Controller -> Momentum: [ A ], Jump: [ X ]
  • OUYA -> Momentum: [ O ], Jump: [ U ]

The touch-controlls can only be flipped, by default [Momentum] is on the left screen-part, [Jump] on the right.
For 100m-Dash the whole screen is [Momentum], since jumping is not needed.

UI
The UI is made with LibGDXs Scene2DUI and the VisUI extension.
The UI-Skin is the default one from VisUI, but I replaced the default-font with Googles Roboto.
The Game-Textures are made by myself using GIMP. I did not spent much time on them and as I am not an artist, they look really bad.
However, they should suffice for placeholders and I hope to find some real art somewhere out there Smiley

If you want to try it out, you can find a the up-to-data JAR-Files and APKs here

Any feedback is very welcome!

Thanks for reading Smiley
Offline ags1

JGO Kernel


Medals: 363
Projects: 7


Make code not war!


« Reply #1 - Posted 2018-03-27 19:33:55 »

A nice simple idea! Will there be global high scores / world records? Will there be an ethlete olympics?

You could have a rolling olympics, continually updated with results from geolocated IPs.

This cries out for an android app Smiley Edit: I see there is an APK file...

Offline SolitudeGaming

Junior Devvie


Medals: 4
Projects: 1



« Reply #2 - Posted 2018-03-27 21:33:00 »

OUYA? Do people still use that? 0.o

OT: Really nice looking game Cheesy I love the simplicity of it. As asg1 suggested, I think you should add username's w/ high score capabilities ^^
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Springrbua
« Reply #3 - Posted 2018-03-28 06:02:55 »

Thanks for the kind comments guys Smiley Really appreciate it!
Global highscores would of course be a very cool feature, however I first want to focus on different disciplines and the UI/UX.

The idea of eThlete Olympics sounds great, it is definitely on my todo-list now Cheesy

Quote
OUYA? Do people still use that? 0.o
Not sure about that, but LibGDX has build-in mapping for the OUYA-Controller, so it was not much efford adding it.
However, I did only test the X-Box-Controllser, since I don't have an OUYA or an OUYA-Controller.
I also tryed adding a mapping for PS3-Controller, but it they don't seem to work on Windows, without emulating an X-Box Controller Cheesy
Offline ags1

JGO Kernel


Medals: 363
Projects: 7


Make code not war!


« Reply #4 - Posted 2018-03-28 10:11:27 »

You've got the 100m dash, but have you considered adding the marathon? Smiley Smiley

Offline Springrbua
« Reply #5 - Posted 2018-03-29 06:01:14 »

You've got the 100m dash, but have you considered adding the marathon? Smiley Smiley

Now I do Grin
Hitting one single button for over 2h, this could be one of the most boring and annoying games ever Grin
In combination with global highscores, you could see, if there are any people, who actually completed it.

So I guess I have to add a marathon sooner or later Wink
Thanks for the suggestion Smiley
Offline Springrbua
« Reply #6 - Posted 2018-03-31 11:12:35 »

I just added a new Discipline:

110m Hurdles.

Smash the [momentum]-button as fast as you can and press [jump] at the right moment to jump over the hurdles.
If you hit a hurdle, you will losse some speed, depending on the height, when you actually hit it.
The hurdle then disappears, but in future it will just fall over.

The new discipline is available in Version 0.3.0. 
The download link is in the first post and points to a folder where all executables can be found.
Offline Springrbua
« Reply #7 - Posted 2018-04-07 08:05:39 »

I just created Version 0.3.1.  

Changes:
  • LongJump:
    • Negative Results are not possible anymore. Instead, if you land before the line, you are again in "running" state but your speed gets halved.
    • Results < 1m count as "Foul" now, since they are more like a step instead of a jump.
  • Hurdles:
    • Increased the Jump-Force, as jumping over a hurdle was pretty difficult.
  • Touch:
    • Increased Speed-Mulitplier for Touch from 1 to 1.2 (Controllers use the same). This way, the speed on Touch-Devices should be similar to the one on Desktop.

The versions are uploaded to my google drive, the link is in the first post.
This time, a HTML5-Version of the game is included too.
If you want to test it, simply follow this instructions:

Quote from: LibGDX
With Python installed, you can test your distribution by executing the following in the html/build/dist folder:

Python 2.x

python -m SimpleHTTPServer

Python 3.x

python -m http.server 8000

You can then open a browser to http://localhost:8000 and see your project in action.

With Node.js npm install http-server -g then http-server html/build/dist and browse at http://localhost:8080

With PHP you may type php -S localhost:8000 and browse at http://localhost:8080
Offline Springrbua
« Reply #8 - Posted 2018-04-17 12:24:28 »

Just released Version 0.4.0 with a new Discipline:

High Jump

Run by smashing the [momentum]-button as fast as you can and hold [jump] to increase the jump angle.
Release the [jump]-button to jump and press it again, to start the back-rotation.
The goal is it to jump over the bar.
The height of this bar can be set after every successful try, you have 3 tries/height.
The winner is the one who cleared the highest height. In case of a tie, the one with less tries in the previous height wins.
If there is still a draw, the one with less failures wins.


Note:
This is the first version of the high jump and it is not yet completed. The view does not exactly represent the logic and therefore some successful tries count as fail and vice versa.
Also there are stil a few textures missing and some parameters (like speed) need to be adjusted.

The versions for desktop, android and html are all on my google drive, the link is in the start post.
Any feedback is very welcome Smiley
Pages: [1]
  ignore  |  Print  
 
 

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

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

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

Solater (63 views)
2018-03-17 05:04:08

nelsongames (110 views)
2018-03-05 17:56:34

Gornova (159 views)
2018-03-02 22:15:33

buddyBro (704 views)
2018-02-28 16:59:18

buddyBro (92 views)
2018-02-28 16:45:17

xxMrPHDxx (494 views)
2017-12-31 17:17:51

xxMrPHDxx (734 views)
2017-12-31 17:15:51
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!