This site requires JavaScript, please enable it in your browser!
Greenfoot back
DonaldDuck
DonaldDuck wrote ...

2012/1/5

Greenfoot Mobile App?

2
3
4
5
6
7
8
-nic- -nic-

2012/10/17

#
wow thats really amazing will we be able to just port our code or is it a longer process?
Upupzealot Upupzealot

2012/10/17

#
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
-nic- -nic-

2012/10/17

#
so at the moment its not really realistic because it has to be done by hand but will the process of converting become shorter?
Upupzealot Upupzealot

2012/10/17

#
-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
-nic- -nic-

2012/10/17

#
oh i see yes im just starting using eclipse and android and im still at the very basics
Upupzealot Upupzealot

2012/10/17

#
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
MatheMagician MatheMagician

2012/10/17

#
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?
Upupzealot Upupzealot

2012/10/17

#
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?
Upupzealot Upupzealot

2012/10/18

#
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
MatheMagician MatheMagician

2012/10/19

#
I figured out how to use the accelerometer! Anyway, Upupzealot, I just messaged you my email address here in case you would like my help with the code and testing (I have a nexus tablet so we could diversify the devices a little bit). DO not feel like you have to email me, I just wanted to offer my help.
Upupzealot Upupzealot

2012/10/19

#
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
Upupzealot Upupzealot

2012/10/24

#
@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)
Upupzealot Upupzealot

2012/10/24

#
@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.
Builderboy2005 Builderboy2005

2012/10/24

#
So I am assuming my Nightmare game wouldn't work? Since it uses the AlphaComposite class
Upupzealot Upupzealot

2012/10/24

#
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.
There are more replies on the next page.
2
3
4
5
6
7
8