Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Java 

Anyone mess with LibGDX?

Been messing with LibGDX for my Computer Science class. I'm currently working on a Main Menu for my game but I'm having trouble with my code for it.

Here's the code:
http://pastebin.com/DRHtKGzY

Been getting an error about "cannot find method, newDrawable."

Any help would be great.
Code
import javafx.scene.control.Skin;

You're probably importing the wrong Skin class.
(Dec 14, 2016 06:01 PM)Stealth™ Wrote:  
Code
import javafx.scene.control.Skin;

You're probably importing the wrong Skin class.

Thank you so much that, fixed the problem. If you can the last thing I'm getting an error on is in my
@Override
public void render() {
Gdx.g1.g1ClearColor(1, 1, 1, 1);
Gdx.g1.g1Clear(GL20.GL_COLOR_BUFFER_BIT);
stage.act();
stage.draw();
}
its telling me that
cannot find symbol
variable g1


edit: nvm answered my own question. thanks again
(Dec 14, 2016 06:08 PM)HarveySpecter Wrote:  Thank you so much that, fixed the problem. If you can the last thing I'm getting an error on is in my
@Override
public void render() {
Gdx.g1.g1ClearColor(1, 1, 1, 1);
Gdx.g1.g1Clear(GL20.GL_COLOR_BUFFER_BIT);
stage.act();
stage.draw();
}
its telling me that
cannot find symbol
variable g1


edit: nvm answered my own question. thanks again

http://stackoverflow.com/questions/41154...4#41154824

Accept my answer ;)
I've been using LibGDX for over 3 years. Check out my website or check out TerraLegion, an open-source game I've been developing for over a year now.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by Mr MeeseeksDec 16, 2018 03:33 PM 3 153 Dec 16, 2018 03:33 PM
Last Post: michalmonday
[Python] by TurnikmanMay 13, 2017 11:52 AM 1 144 May 13, 2017 11:52 AM
Last Post: Chercher
[Shell] by Hunter556Dec 26, 2016 02:45 AM 16 711 Dec 26, 2016 02:45 AM
Last Post: retramsnahtehtffats