Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (803)
Games in Android Showcase (237)
games submitted by our members
Games in WIP (867)
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  
  GdxState is a state library for use in libgdx made by me. take a look  (Read 7802 times)
0 Members and 1 Guest are viewing this topic.
Offline Rickodesea
« Posted 2016-10-23 08:57:43 » contains the source code and a demo project
gdxstate.jar the library
Offline trollwarrior1
« Reply #1 - Posted 2016-10-24 12:31:24 »

You should provide source code and example in Github  if you want people to take a look.
Offline theagentd
« Reply #2 - Posted 2016-10-24 22:52:32 »

And maybe actually tell us what the library does and doesn't. xd

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Rickodesea
« Reply #3 - Posted 2016-10-25 03:28:40 »

I have added some source codes
Offline Rickodesea
« Reply #4 - Posted 2016-10-25 03:41:58 »

I added a small list of functions.
Offline Rickodesea
« Reply #5 - Posted 2016-10-25 04:04:51 »

Hey guys.  Sorry for the initiali lack-luster github page.  It was my first time using github and I couldn't figure out to add my project to it.  I still haven't.  Anyways, I added the source code directly to it, as well as better explanations as suggested by you guys.  So check it out.:
Offline theagentd
« Reply #6 - Posted 2016-10-25 04:45:11 »

Looking good. Congrats on your first GitHub project. Pointing

To make your repository look a bit more professional, you should move your test/demo code to a separate package so that the core classes are clearly contained. I'm also still a bit confused about what your project does. I get that it's about managing game states, but what people want to know is what kind of problems it solves; basically why they should use it. Adding that as a kind of introduction/summary would help a lot. It's just hard right now to get a good overview of what exact purpose the library fills.

Sorry if I'm sounding negative; I just have a strong tendency to focus on things that can be improved. Good if you want to solve problems, bad in social situations.

Offline Rickodesea
« Reply #7 - Posted 2016-10-25 04:59:55 »

Thanks. I like your advice. I'll keep working on it.
Offline Rickodesea
« Reply #8 - Posted 2016-10-31 17:32:21 »

Hi guys.  I am not developing GdxState anymore.  I have refactored the entire project and started over from scratch.  The new project name is GdxScreen.  This version only uses one active screen at a time.  It provides a special screen called Transition that handles all your transitional effects from one screen to the next.  The core part of the library is working very well - I do not detect any bugs so far Smiley.  It is pretty much usable now. The GdxSave and GdxPrefs classes in the utils package still needs work.  The current Prerelease version is 0.0.4.  Go take a look.  Tell me what you think.
Offline Opiop
« Reply #9 - Posted 2016-11-01 20:31:29 »

I'd recommend making GdxScreen abstract and then implementing a couple of the less used Screen functions in GdxScreen. When a user extends GdxScreen, they obviously want the basic functions like create(), render(), etc... But resize() might be used less often.

Also, take a look at your use of the 'final' keyword. You seem to really like it! Not a bad thing per se, but it would be good to just revisit the concept!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SuperMario
« Reply #10 - Posted 2016-11-02 20:53:36 »

Is it possible to use a fixed timestep with this?
Offline Rickodesea
« Reply #11 - Posted 2016-11-03 15:16:36 »

I believe so.
Offline Rickodesea
« Reply #12 - Posted 2016-11-03 15:19:19 »

I would like to publish the project to the central repository.

The library is pretty much ready for release. I want to publish it to the central repository but unable to do so. I am using Eclipse and libGdx's Gradle build. I have looked at the instructions at the but it is not working. Can any one give me the answer how to?
Offline Rickodesea
« Reply #13 - Posted 2016-11-06 02:32:02 »

Hey guys.  I have figured out how to add a libGdx project to the central repository.  Follow the guide:
You will use the gradle format.  The grade code goes to the bottom of your core project build file.
Configuration data  goes into the file.  You run './gradlew uploadArchives' in your terminal.

So, GdxScreen is in the central repository.  It is not sync yet but will very shortly.  You can now access it through gradle
to add to your current libGdx project.

In the Core build file:

inside of the ext braces add 'GdxScreenVersion = '0.0.6'' or the latest version number instead of 0.0.6.

inside project(":core") dependencies braces add '"com.github.rickodesea.gdxscreen:gdxscreen:$GdxScreenVersion"'

You can take a look at the demo project to see how it is done:

Central Repo Snapshot:

Central Repo Release:

GdxScreen is finally done  Grin.  I hope the community likes it :

Enjoy, I hope to add more cool features to it in the features.
Offline Rickodesea
« Reply #14 - Posted 2016-11-06 03:45:37 »

Version update for GdxScreen: 0.0.7
Pages: [1]
  ignore  |  Print  

Riven (397 views)
2019-09-04 15:33:17

hadezbladez (5280 views)
2018-11-16 13:46:03

hadezbladez (2204 views)
2018-11-16 13:41:33

hadezbladez (5544 views)
2018-11-16 13:35:35

hadezbladez (1150 views)
2018-11-16 13:32:03

EgonOlsen (4584 views)
2018-06-10 19:43:48

EgonOlsen (5462 views)
2018-06-10 19:43:44

EgonOlsen (3119 views)
2018-06-10 19:43:20

DesertCoockie (4015 views)
2018-05-13 18:23:11

nelsongames (4708 views)
2018-04-24 18:15:36
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08 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‑
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!