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

2012/11/17

New Greenfoot4Android discussion

3
4
5
6
7
8
Upupzealot Upupzealot

2012/11/19

#
You can change it to any Color you like.
erdelf erdelf

2012/11/19

#
is there a way to make the background invisible, something like in my stargate space shooter.
Upupzealot Upupzealot

2012/11/19

#
Have no idea, but I would check my code tomorrow.
erdelf erdelf

2012/11/19

#
thx, the bars looks a bit dumb with non-transparent background
MatheMagician MatheMagician

2012/11/19

#
@Upupzealot, This may not be what you need as I have just joined this discussion, but you can set the color of a Paint object as transparent by saying
paint.setColor(Color.argb(alpha, red, green, blue));
MatheMagician MatheMagician

2012/11/19

#
replace "paint" with whatever the name of the Paint object is.
Upupzealot Upupzealot

2012/11/19

#
@MathMagican you are very welcomed. For your code Color.argb(int, int, int, int) is a method in Android.graphics.Color, but it's not available in greenfoot.Color. For the problem I think it could be another bug in GreenfootImage I would check that later.
erdelf erdelf

2012/11/20

#
thx, upupzealot. If someone else wants too help, the bar we are talking about is the one in my stargate space shooter scenario, created by danpost in his bar scenario
groengeel groengeel

2012/11/20

#
Ok. Here's the files: APK File The source Thanks for your help and great work all!
erdelf erdelf

2012/11/20

#
I finally made something playable, more or less. scenario here are the files: source apk file
erdelf erdelf

2012/11/22

#
will the userinfo be local or online? maybe both options?
Upupzealot Upupzealot

2012/11/22

#
It would be local I think. Because I can't get datas from Greenfoot.org.
erdelf erdelf

2012/11/22

#
maybe with own server, configured in the code.
groengeel groengeel

2012/11/22

#
Configurable PHP file? btw. When will the Java ME package be ready? :P ;)
Upupzealot Upupzealot

2012/11/22

#
@erdelf that's just beyond my power I think. @groengeel I hope someone code make a Greenfoot4ME also, but I don't think that's me. BTW, I did some change to the code so the bar problem and mouse action with world may work correctly, would you test that again. I would send you the file in email later. After all, @MathMagican is me with the UserInfo class(in local), I have to say thanks.
There are more replies on the next page.
3
4
5
6
7
8