lfkdsk / JustWeEngine

An easy open source Android Native Game FrameWork.
772 stars 115 forks source link

errors in project #16

Closed Dagye95 closed 7 years ago

Dagye95 commented 7 years ago

i downloaded the program and ran it in eclipse and it had 990 errors, Ive corrected some of them but I wanted to know is it the code or the program that is faulty

lfkdsk commented 7 years ago

Which version did you download? Master branch is in developing may have some errors but wont be 990 errors. And Android studio's project may not be converted to eclipse project.

lfkdsk commented 7 years ago

May be you can support some details about errors.

Dagye95 commented 7 years ago

I Forked the master file, some of the errors that popped up for example for basicanim.java said that float2 was wrong and should be changed to float and the import should be "import java.awt.geom.Arc2D.Float; " or one of the other 5 available but i suspect you're using a 2d theme so i mentioned this one, also there a number of error with the imported packages saying theyre unused but that may be langauge program I am using

lfkdsk commented 7 years ago

Float2 is a real exist Class in android.renderscript bundle. At least, I can use it with API15 SDK. Please Check you Android SDK Version. I suggest to use release version just like last release v1.13 . In fact, this project can be built successful. image just like this picture. And in other issues, they focus on some details in using this framework ,not build this framework. So I think it can also be built in your computer. Let me know more about you errors in your IDE(With picture better).

lfkdsk commented 7 years ago

And, I suggest you use Android Studio as your android IDE. Eclipse was an awesome IDE for java developers. But it is not good enough for nowadays Android developers(It stoped update at 12/2015). With Android Studio, you can build and add dependent lib with gradle:

With Gradle:

Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories:

      allprojects {
      repositories {
          ...
          maven { url "https://jitpack.io" }
      }
  }

Step 2. Add the dependency

    dependencies {
        compile 'com.github.lfkdsk:JustWeEngine:v1.13'
  }  
Dagye95 commented 7 years ago

Very interesting, i also have a game on my repository that i recently made through eclipse, i was wondering if you could please have a look and see what i am missing or improve on

lfkdsk commented 7 years ago

you copyed code to your repo? Android SDK version is?

Dagye95 commented 7 years ago

Yes if you check my repo under Bounce-game you'll the java game I created in eclipse, I don't think it will support android.

And when I try to run the program in android it does not launch

lfkdsk commented 7 years ago

justweengine now is an engine only support Android platform. desktop version is under developing. java game cannot run in Android directly.

Dagye95 commented 7 years ago

I know but there is a project on my page that I would like feedback on if you have the time, called Bounce-game

ice1000 commented 7 years ago

Desktop game engine? Try Frice Engine