Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (495)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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] 2 3 ... 21
1  Game Development / Newbie & Debugging Questions / Re: Libgdx android xml saving on: 2014-09-18 20:05:51
just need to repost this .. way too good :



That IS my working day... If we didn't have a "clean desk" policy, that would be pinned up over my desk.
2  Game Development / Performance Tuning / Re: Best way to go about many objects checking array for data? on: 2014-09-18 10:30:50
Space scales are so large that most gravitational interactions do not take place in real time. A good simulation of this galaxy is all the stars in their current position, not moving. Printed astronomical maps are only updated every few years (50 years if I recall correctly). Even if you speed up time so much that the stars move in a measurable way, their motions are not really influenced by local gravity as the gravitational pull of nearby stars largely cancels itself out. You could just have the stars moving in random directions and be pretty accurate.

At a smaller scale, such as planetary system, a good approximation is that the stars have gravitational influence and everything else doesn't. Even Jupiter only has a minuscule effect on the orbits of other planets - if it had a larger effect then the other orbit would be unstable. The same applies for planets and their moons, only the planet's gravity needs to be taken into account.

At an event smaller scale (spaceships) you can just ignore gravity altogether.
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-09-16 22:00:48
I gave in and decided to use textures.
4  Discussions / General Discussions / Re: Microsoft to buy Mojang for $2 billion? on: 2014-09-16 21:18:14
If it's luck then it is thousands and thousands and thousands of lines of luck. He's made many games but chose to invest real effort in this one.
5  Games Center / WIP games, tools & toy projects / Re: VERBAL - the fast-paced thinking word game on: 2014-09-16 19:34:32
I'm having a bit of trouble killing the activity on Back. Still learning my way around Android. I've rethought the screen layout and the next version will have bigger word bar letters and I will finally implement the timer thermometer.

...also, I think I will add an Easy mode where bonus letters comne along more frequently.
6  Game Development / Newbie & Debugging Questions / Re: [LibGDX][Android] Random files not loading on: 2014-09-15 21:30:50
Clean and rebuild? Copy the files to a new project and try to rebuild?
7  Discussions / Miscellaneous Topics / Re: What other programming languages do you use & why? on: 2014-09-15 18:55:35
What other languages do I use when programming? Lots of potty mouth vernacular when debugging... I find the syntax very simple, but the language is very expressive!
8  Games Center / WIP games, tools & toy projects / Re: VERBAL - the fast-paced thinking word game on: 2014-09-15 18:43:50
Thanks for the thoughtful feedback. I will be adding some popup help to the game as it does seem to confuse people. I have also found I've been high and dry at 90 seconds with no ideas, so it might be a very good idea to buy letters with time. I also have an idea for a no time limit puzzle mode.

I used the trie to generate the puzzles in my IDE, not at runtime, there are 4k puzzles baked into the game, all with a nine letter solution and at least 450 words.

Changing to portrait mode might be a good idea, or at least allowing both orientations. It's not an issue on my 7” tablet, but on my phone it is a bit fiddly and it affects the scores.

I might bundle a scrabble solver in the game, then the trie would be running on android too :-)

What's your high score? My best effort on my phone was around 1000.

Oh by the way, the original design for the game had a thermometer on the side to show the time.

I might add a shuffle letters on shake function down the line.
9  Discussions / General Discussions / Re: Microsoft to buy Mojang for $2 billion? on: 2014-09-15 17:42:09
I'm pleased for Notch and Mojang.... But won't MS port the game to C#? I can't see them willingly cultivating a generation of teen Java devs :-)

It'll be interesting to see where MS takes Minecraft.
10  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > Building Info! < on: 2014-09-14 19:53:54
Seriously, keep the scope down!
11  Game Development / Newbie & Debugging Questions / Re: iOS and Android Leaderboards and Ad Integration on: 2014-09-14 18:03:33
https://developers.google.com/games/services/

And according to Google, LibGDX has integrated several of the Google services:

https://developers.google.com/games/services/integration/
12  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-09-14 17:55:56
Made a truckload of android layouts for 280dp, 300dp, 350dp, 400dp, 450dp, 550dp and 700dp width screens. I needed so many for my word puzzle game because the words are nine letters (buttons) wide, so for phones I have to squeeze the maximum button size in for the available screen width.

I had some clever code to resize the buttons at runtime, but font resizing did not work well enough. In the end it was faster to crank out an XML clone army.

http://www.java-gaming.org/topics/verbal-the-fast-paced-thinking-word-game/34313/msg/323648/view.html#msg323648
13  Games Center / WIP games, tools & toy projects / VERBAL - the fast-paced thinking word game on: 2014-09-14 17:20:01
Verbal is a fast-paced word game where you must use your brains and your vocabulary.

https://play.google.com/store/apps/details?id=com.clarke.agnes.verbal

Find as many words as you can before the clock runs out! Bigger words get more score and give you extra time.

Bonus letters As your score goes up, some letters start to glow yellow - these are bonus letters. Play a bonus letter to double your score, or save up the bonus letters for even bigger bonuses. A word with two bonus letters gets 5x score, 3 bonus letters get 10x score.

Combo words If you make a word and immediately make a longer word from the same word, you score a combo word bonus. For example, if you form TOAST and then TOASTER and then TOASTERS, each of the longer words gets a combo word bonus.

Controls and tips

Tap the letters in the letter pad to add them to your word.

Tap the letters in the word bar to return them to the letter pad. All letters after the letter you tapped are returned, so you can use this to form new words quickly. For example, if you form FLOWS and then tap the S, FLOW will remain in the word bar. Then you can go on to form FLOWERS or FLOWED.

To clear the word bar, tap the first letter in the word bar.

14  Discussions / General Discussions / Re: Performance Test for the Voxel Thing on: 2014-09-14 14:01:02
Is this CPU or GPU limited? It seems to be CPU limited...
15  Discussions / General Discussions / Re: Performance Test for the Voxel Thing on: 2014-09-13 23:07:37
Revisiting this because I did not believe my last results (which were a suspicious 60):

120, max 144, using an AMD A10-5750M

In catalyst control center, I forced v-synch off for all applications (the previous setting allowed v-synch if the app requested it).

Also, I supposedly have dual graphics but that is switched off.
16  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-09-13 19:11:26
Good work theagentd, plus I learned something from that :-)
17  Games Center / WIP games, tools & toy projects / Re: The Terminal Angel Disease - 2D Indie RPG (Demo avlbl.) on: 2014-09-11 22:09:43
A quest chicken makes me want to play this game :-)
18  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > Building Info! < on: 2014-09-10 22:13:50
There's a trick for that: write your checklists on very small pieces of paper.
19  Discussions / General Discussions / Re: Microsoft to buy Mojang for $2 billion? on: 2014-09-10 17:22:05
I wouldn't blame him, I'd sell my own mother for $2bn. (If you knew her you'd not be surprised at that mind)

Cas Smiley

I'm not surprised... I'd sell your mom for 2bn too.
20  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-09-07 20:41:03
What I did today: axed loads of features, moved game closer to completion.
21  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-09-07 20:31:18
The source I used for the names was for common names in North America. I was aware there was a bias. I was just to lazy to type 375 names per locale. (I am also aware I could just split the names up between locales.) I may come back at a later time and use locales when the project is actually close to being publicly seen.

However, if someone used this for their code they could just change the names.

For my purposes the names are just a unique way to identify a user's "followers".

CopyableCougar4

Sorry, I didn't mean to sound critical. I only meant that adding locales would be a neat next step... :-)
22  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-09-07 19:32:09
I detect a cultural bias in your names. It might be good to parametrize generation with a locale like "en/us".
23  Game Development / Shared Code / Re: Map builder on: 2014-09-05 17:22:07
Even less code by extending HashMap!


I've read that extending the collections classes is bad practice...? But sometimes I want to build different maps like TreeMaps so I prefer not to extend but wrap instead. Then I could do something like:

1  
 Maps.treeMap("one", 1).map(...).getMap(); 
24  Game Development / Shared Code / Map builder on: 2014-09-05 10:44:02
I seem to build a lot of maps, and I hate the multi-line verbosity. So I made a map builder to turn mapping into a one-liner affair.

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  
package org.example.misc;

import java.util.HashMap;
import java.util.Map;

public class Maps {

    public static <Q,W> MapWrapper<Q,W> map(Q q, W w) {
        return new MapWrapper<Q, W>(q, w);
    }

    public static final class MapWrapper<Q,W> {
        private final HashMap<Q,W> map;
        public MapWrapper(Q q, W w) {
            map = new HashMap<Q, W>();
            map.put(q, w);
        }
        public MapWrapper<Q,W> map(Q q, W w) {
            map.put(q, w);
            return this;
        }
        public Map<Q,W> getMap() {
            return map;
        }
    }

    public static void main(String[] args) {
        Map<String, Integer> map = Maps.map("one", 1).map("two", 2).map("three", 3).getMap();
        for (Map.Entry<String, Integer> entry : map.entrySet()) {
            System.out.println(entry.getKey() + " = " + entry.getValue());
        }
    }
}
25  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-09-04 18:04:31
@Work: fixed a 2-year bug in my Swing GUI library.
26  Discussions / Miscellaneous Topics / Re: What other programming languages do you use & why? on: 2014-09-03 21:20:25
Java, Groovy, XSLT, a bit of Lua and others...
27  Game Development / Newbie & Debugging Questions / Re: Noob Questions From Nickropheliac: Ive been practicing for 2 weeks and... on: 2014-09-02 20:44:54
For nasty syntax, try a few thousand lines of XSLT.
28  Discussions / Suggestions / Re: Pre-WIP section on: 2014-09-02 20:38:07
The "what I did today" thread gets all the traffic and interesting posts.
29  Game Development / Newbie & Debugging Questions / Re: Noob Questions From Nickropheliac: Ive been practicing for 2 weeks and... on: 2014-09-01 10:41:34
I've used Java for years, but I still learn new things every day. It's simply not possible to know everything about every API in Java, and that is relatively simple compared to learning how to write a well-structured program. One of the things you learn is how to ask the right questions when you have a problem, or to put it differently how to break down problems into small solvable chunks. Once you can do that, you can do lot even with fairly limited knowledge.
30  Discussions / General Discussions / Re: Performance Test for the Voxel Thing on: 2014-08-30 21:07:59
Uncapped: 55-60

AMD A10-5750, integrated graphics
Pages: [1] 2 3 ... 21
 

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

The first screenshot will be displayed as a thumbnail.

Dwinin (29 views)
2014-09-12 09:08:26

Norakomi (57 views)
2014-09-10 13:57:51

TehJavaDev (79 views)
2014-09-10 06:39:09

Tekkerue (39 views)
2014-09-09 02:24:56

mitcheeb (58 views)
2014-09-08 06:06:29

BurntPizza (45 views)
2014-09-07 01:13:42

Longarmx (30 views)
2014-09-07 01:12:14

Longarmx (35 views)
2014-09-07 01:11:22

Longarmx (36 views)
2014-09-07 01:10:19

mitcheeb (40 views)
2014-09-04 23:08:59
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!