Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (523)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (592)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Games Center / WIP games, tools & toy projects / Re: Nokia 3310 (Android) NEW fixed VERSION (0.1.5) on: 2014-03-03 16:49:45
Do I need rights from Nokia to publish this app? Or should i just erase the "Nokia" label?
2  Games Center / Android Showcase / Re: Energy Blocks on: 2014-01-14 13:04:27
This game is really cool! Good work.

You should improve the graphics of the lasers which destroys the blocks.
3  Games Center / Showcase / Re: Escaping Cube on: 2014-01-03 08:51:55
I like it. But you could make the squares bigger.
4  Games Center / Showcase / Re: ReAct on: 2014-01-03 08:49:44
This game is really cool!
5  Games Center / WIP games, tools & toy projects / Re: Zombie Extermination on: 2013-11-28 20:23:19
The game makes really fun. Smiley Do you want to add some other kinds of zombies?
6  Games Center / WIP games, tools & toy projects / Re: Nokia 3310 (Android) NEW fixed VERSION (0.1.5) on: 2013-11-28 16:08:21
I am working now on the menu and signal status (v 0.2). The game Snake will be added to the version 0.3. Smiley
7  Games Center / WIP games, tools & toy projects / Re: Nokia 3310 (Android) on: 2013-11-17 11:44:14
Well, I tried it, and I found a few issues:
1. When typing, the response time from when I actually hit the key to when the number shows up on the screen is very slow, which is odd.
2. I hit call, then canceled when it asked me what app I wanted to complete the action with. When I returned to the app, there was this weird white keyboard on the screen that wouldn't go away.

I have a GS3.

I fixed it. Download the new version 0.1.5
8  Java Game APIs & Engines / Android / Re: Layout problem on: 2013-11-15 12:30:05
TableLayout works with Android:
https://github.com/EsotericSoftware/tablelayout
I found the built in layouts to be difficult to use solely via code.

FunnyCall uses it:
https://play.google.com/store/apps/details?id=com.gridmob.android.funnycall

Thank you for your answer.
I have solved my problem in an other way:
1. I have divided the height of the screen (e.g. Nexus 4: 1280px -96px (navigation bar) = 1184) through the x-position of the first point (x/y) see picture.
2. Then the width...
3. Step 1 and 2 with the second point (x2/y2)




At the end i got the quotients, which I have saved in arrays (double):
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
   //the width
   private double[] quotientX = {5.9, 2.4, 1.5, 5.9, 2.4, 1.5, 5.9, 2.4, 1.5, 5.9, 2.4, 1.5, 4.80, 2.95, 1.83, 1.54};
   private double[] quotientX2 ={2.8, 1.7, 1.2, 2.8, 1.7, 1.2, 2.8, 1.7, 1.2, 2.8, 1.7, 1.2, 2.79, 1.51, 1.45, 1.27};
   
   
   //the height
   private double[] quotientY = {1.60,1.55,1.60,
                          1.40,1.35,1.40,
                          1.25,1.20,1.25,
                          1.12,1.10,1.12,
                          1.97,2.23,1.86,2.02};
   
   private double[] quotientY2 = {1.50,1.40,1.50,
                           1.30,1.25,1.30,
                           1.15,1.10,1.15,
                           1.05,1.00,1.05,
                           1.85,2.01,1.67,1.77};

I haven't used buttons, but just the view:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
      image.setOnTouchListener(new OnTouchListener() {
         
         @Override
         public boolean onTouch(View v, MotionEvent event) {
           
            for(int i = 0; i < 16; i++){
               if(event.getX() > width/quotientX[i] && event.getX() < width/quotientX2[i] & event.getY() > height/quotientY[i] && event.getY() < height/quotientY2[i]){
                 
                  //1 to 9 buttons
                  if(i < 9){
                  Integer a = new Integer(i)+1;
                  view.setText(view.getText() + a.toString());
                  }
                 
                  //4th row buttons
                  else if(i == 9){
                     view.setText(view.getText() + "*");
                  }else if(i == 10){
                     view.setText(view.getText() + "0");
                  }else if(i == 11){
                     view.setText(view.getText() + "#");
                  }
                  //navigation buttons
                 
                     //delete button
                     else if(i == 12){
                        String s = view.getText().toString();
                        view.setText(s.substring(0, s.length() - 1));
                     }
                     //call button
                     else if(i == 13){
                        call();
                     }
                 
               }
           
            }
           
           
           
            return false;
         }
      });


This works with every device (every resolution and screen size). What do you think about it?
9  Java Game APIs & Engines / Android / Layout problem on: 2013-11-13 17:33:11
Hallo guys,
i am programming a Nokia 3310 app and I have a problem with the layout.

I want a fullscreen image of the Nokia 3310 on every device (2 - 10 inches), so I have choosen the Linear Layout, because I want also to have the buttons for every device on the right position:
http://s14.directupload.net/images/131113/9nlhxk62.png

With the linear layout I have used the weight (percent) to make it possible. The problem is that the weight makes the app very slow ("Nested weights are bad for performance").

Is there a way to solve my problem (with other layouts)? The most important thing is that i want to have the image of Nokia 3310 in fullscreen.



Sorry for my bad English.

The Nokia 3310 App: http://www.java-gaming.org/index.php/topic,31177



10  Games Center / WIP games, tools & toy projects / Re: Nokia 3310 (Android) on: 2013-11-12 20:52:18
Well, I tried it, and I found a few issues:
1. When typing, the response time from when I actually hit the key to when the number shows up on the screen is very slow, which is odd.
2. I hit call, then canceled when it asked me what app I wanted to complete the action with. When I returned to the app, there was this weird white keyboard on the screen that wouldn't go away.

I have a GS3.

1. It's very slow, because the app uses LinearLayout with weight. I am fixing this.
2. Which Android version are you using?
11  Games Center / WIP games, tools & toy projects / Re: Nokia 3310 (Android) on: 2013-11-12 15:27:59
Thank you for the feedback. I will improve the app soon.   Wink
12  Games Center / WIP games, tools & toy projects / Nokia 3310 (Android) NEW fixed VERSION (0.1.5) on: 2013-11-11 20:56:05
Hey guys,
I am programming an application for Android, which simulates the Nokia 3310.

I know it's more a tool than a game, but it will also contain the game Snake.

The acutal version is 0.1.5 and you can use this app to make a call.



Screenshot (v 0.1):




Minimum requirements: Android 2.2 (Froyo)
This app works with every resolution and screen size.

My TODO list:
- call function
- pixel font
- number pad
- working menu
- snake
- status bar (signal and battery)
- more




NEW FIXED WORKING VERSION v0.1.5 (added: 17.11.2013):
- fixed layouts (works faster)
  (How I solved the problem with layouts: http://www.java-gaming.org/topics/layout-problem/31201/msg/289565/view.html)
- no animation errors
- added the delete button
- better graphics


Download:
v 0.1.5 - 17.11.2013
Uploaded
DropBox


v 0.1 - 11.11.2013
I have deleted the version because of some layout problems: opiop65's post


More about my project (in German):
http://www.matebox.bplaced.net/programming/nokia-3310-android/

13  Discussions / Miscellaneous Topics / Re: Me goofing around. on: 2013-10-23 19:45:20
It looks very interesting.  Wink
14  Discussions / Miscellaneous Topics / Re: John Conway's Game of Life on: 2013-10-22 14:09:31
It needs the ability for the user to add live cells.

That's a good idea.
15  Discussions / Miscellaneous Topics / John Conway's Game of Life on: 2013-10-22 08:02:47
Hey guys,
i have programmed the simulation Game of Life in Java. I have also added some new features like buttons to change the speed of the simulation.
It's an applet and you can start it here : http://www.matebox.bplaced.net/programming/game-of-life/

What did you think about it?
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

SHC (24 views)
2014-11-25 12:00:59

SHC (23 views)
2014-11-25 11:53:45

Norakomi (21 views)
2014-11-25 11:26:43

Gibbo3771 (22 views)
2014-11-24 19:59:16

trollwarrior1 (36 views)
2014-11-22 12:13:56

xFryIx (74 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (41 views)
2014-11-12 21:09:33

kovacsa (68 views)
2014-11-07 19:57:14
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!