wow thats really amazing
will we be able to just port our code or is it a longer process?
The ultimate goal is "just copy the code & paste"
But it's really difficult, I hope we can port our codes to Greenfoot4Android by modifying the codes as less as possible
This first try needs chanding about 5 lines from the source code so far
since it did't use lots of methodes
so at the moment its not really realistic because it has to be done by hand but will the process of converting become shorter?
-nic- right!
Some function is realized by the Greenfoot IDE automaticlly
For e.g. the defalut iamge of a class was set automaticlly with a classes bar in the Greenfoot
But Greenfoot4Android did't has an IDE, so you should call a methode as "setClassImage(Class cls. GreenfootImage image)" for each class when you are init the world
oh i see yes im just starting using eclipse and android and im still at the very basics
Aha! I finished all the code without my computer, aotally on my Android Phone.
With a app named "AIDE", it really good for people who wants to code with java on Android
How did you get the accelerometer working? Also, could you post the code that you currently have on the site, so people like me can answer their specific questions and possibly add bits of android code to make it function better?
sadly I didn't make accelerometer work also, didn't mean I can't but I won't. As I have said, the ultimate goal is to share the same code between Greenfoot & Greenfoot4Android. So I won't include functions that can't be available on the computer, in case someone who codes on Android first and wants to share his codes from Greenfoot4Android to Greenfoot.
After all, the source code would be available at the end of this month. just give me another week to feed more bugs for X-D
@MatheMagician About the source code. I didn't think everyone need to see the code as most for the people didn't know much about Android, so I was planning export a Jar lib for them to use. All the need to do is import it and code with JAVA just like they used to do with Greenfoot.(at the same time it's protecting the methods which are not public to outside, to avoid unwanted problems) But also, I would make the source code open to people who wants to figure out how it works, even make it stronger.
btw, how can I share the codes to you here once I finished my job?
Sorry for the grammar mistakes I'v made above (since it's early in the morning here, and I'v just wake up), I hope I have expressed myself clearly. XD
I'm just looking for someone for testing!!!!!!!!!!
It's night here, and I may not open my computer again, touch me at hzxjhspxn@163.com, I would reply as soon as possible XD
@everyBody who is think about porting Greenfoot Scenarios to Android ones.
My Greenfoot4Android beta version is almost finished.
It includes World, Actor, GreenfootImage, Greenfoot and MouseInfo.
Though Greenfoot and mouseInfo still have some problem, but I would fix them in a very near future I think.
So if you want to have an Android edtion of one of your Scenario(I still need some test), or want to have a look of my source, just tell me!
Be sure it didn't use userInfo or java.awt.something(Color and Font are Ok to use)
@davmac @mik @nccb or other people in the Greenfoot team.
I just hope it won't cause some problem that I was making another Greenfoot.(and it's not as good as Greenfoot)
I just want to have a check that I won't make you unhappy.
So I am assuming my Nightmare game wouldn't work? Since it uses the AlphaComposite class
Your Spees3D is ready!
AlphaComposite is unavailable, but if you don't use it very much, maybe I can use something instead.
Btw, I love your games.