Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
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 ... 7
1  Game Development / Networking & Multiplayer / Re: Using Networking to Send Clients A Map, they then have to load it. on: 2014-11-30 07:03:03

- The player can crack the program and change the loaded map given by the server. How do I circumvent this from happening?

What are the consequences if this happens? I.e. Does it give potential for cheating? Any data sent to the client is out of your hands, but if you are expecting a response back based on potentially compromised data, then perhaps you need to verify it server-side somehow? Alternatively, if the consequences aren't major, then don't worry about it.
2  Discussions / Miscellaneous Topics / Re: C#, did Microsoft just want to be different? on: 2014-11-26 06:05:50
Is it just me, or is C# the language to learn if you want to land a software developer role? I think it's time I dived in to it...
3  Game Development / Newbie & Debugging Questions / Re: What's wrong with my shader? on: 2014-11-09 10:23:41
Hi ags. Pretty much echoing what gouessej said, but yes, sounds like it could be a precision issue. Any difference if you use highp??
4  Discussions / Miscellaneous Topics / Re: Buying "Complete" games is official dead on: 2014-11-07 23:14:36
Back when I was a wee boy, before such thing as dlc, games cost about AU $100. Eventually they dropped to $80ish. Keep in mind that I don't believe production costs have decreased, and then there is inflation. I also believe that the price of games has dropped considerably in recent years, perhaps driven by disposable mobile games and online distribution. So essentially, I think games have greatly de-valued over time. As such, I can see the reasoning behind offering extra content to make an extra quid.

All that said and done, I do get a bit peeved off if you have payed a decent price for a game, but are offered some bare-bones product that almost necessitates extra purchases to enjoy the game.

Yes it is an annoyance, but dont forget games are getting relatively cheaper over time. If we want a 'full content game' then we should be prepared to pay a bit more for them.
5  Game Development / Game Play & Game Design / Re: How to design a crowd-combat game like Dynasty Warriors on: 2014-11-07 03:09:16
...Dynasty Warriors has a very special place in my heart...

Great! Same here. My friend and I used to play the series almost religiously when we were younger, and I still frequently play it to this day.

- Some sort of hierarchic AI
As I understand it, calculating dozen of dozen unit behaviors at the same time is slow. My idea is it, to make a hierarchic system. An AI-overmind assigns objectives to a few "general"-AIs. These assign their given troops to tasks that will ultimately lead to the assigned goal.
This would work quite well with the Dynasty Warriors theme: When a general or lieutenant is killed in combat, his assigned troops loose their objective and flee or fight without any tactic.

I'd think something along these lines, yes. Treat them as 'units', and calculate behaviour and pathfinding for a unit as a whole. Only worry about it on the sub-unit level when the unit is close enough to the player to be visible. Even then, as is evident in Dynasty Warriors, the AI is quite simple for a general's soldiers.

- I need a general grasp on military tactics
I never served and I loose to any easy AI in RTS games. I read in an article about the game AI of Total War, that the dev's used the book "The Art of War". Is this a good start?

No. The art of war is more of a strategic (and sometimes cryptic) text, and I don't think that you'd get much out of it for what you want to achieve. Once again, looking back to Dynasty Warriors, the AI is relatively simple. I don't believe the AI is employing any complex strategy (i.e. they wait for you, hunt you down, or flee from you. That's about it). The illusion of a complex AI is essentially given by the storytelling and triggered events. If of course you wanted to build a more complex, free-willed AI, then it may be worth a thought.

If you are going with the Chinese history theme of Dynasty Warriors, then perhaps you would be better off reading something like Romance of the Three Kingdoms, or any major historical fiction or non-fiction of your choosing which fits your chosen theme.

Anyway, best of luck with this. I sincerely hope you pursue it.
6  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-04 11:18:53
Bought and started reading a book on regexp's, and then spent the rest of the day pondering why I hadn't done this sooner.  Smiley
7  Discussions / Miscellaneous Topics / Re: Not productive? Maybe try out on: 2014-10-18 23:04:10
I've never heard of it, but I'm going to give it a go. Cheers.
8  Games Center / Featured Games / Re: Meditating Monk - A crazy arcade game about a monk, meditation... and ducks on: 2014-10-12 08:40:31
Great game. A simple but fun concept. Well done.
9  Discussions / General Discussions / Re: Mobile Java game development, without using a full-size laptop on: 2014-10-11 08:20:55
Mac stuff often doesnt even have screws.

Speaking of screws, I replaced the battery in my wife's MacBook a couple of weeks ago. The battery is held in by tri-wing screws as opposed to the Phillips-head screws found elsewhere on the machine, presumably just to be a pain in the arse. Not to mention the sneaky screw that they hide under the battery label... Seriously?

I don't think Macs are bad. They are nice, well built, albeit pricey machines. However I have a serious problem with a company that attempts to force me to send the machine back to their team of lanyard-wearing hipsters in blue t-shirts, for something so simple as a battery replacement.
10  Discussions / Miscellaneous Topics / Re: Whays the story behind your name on: 2014-09-22 02:19:22
Mine is pretty unimaginative. My first name is Bernie. Shorten that to Bern, swap the first and last letters, and you have nerb. So, ummm... exciting yeah?
11  Game Development / Networking & Multiplayer / Re: Check if UDP message was successfully received? on: 2014-09-16 11:55:08
No it is not equal, but I'd argue it is a step towards emulating it.

EDIT: The more I think about it Roquen, I can see the benefits of UDP with a simple ACK system.  Although one would have to be careful that you don't work towards implementing your own version of TCP on top of UDP at the application layer; which is what I am trying to get at.
12  Game Development / Networking & Multiplayer / Re: Check if UDP message was successfully received? on: 2014-09-16 10:47:20
Have the receiver send acknowledgement. But then you are trying to roll TCP on top of UDP, so might as well stick to TCP. There's a fair bit of well debated info on this forum about it.
13  Game Development / Newbie & Debugging Questions / Re: [solved] Do you need all bits to represent a byte? on: 2014-09-08 03:43:11
I'd say no, because a byte implies a word length (8 in general). You can write binary/bits 111, but that's not a byte.
14  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > New shadows system < on: 2014-08-15 04:23:46
Ahh I've got you. My suggestion would be to render the shadows to a lower resolution texture/FBO, and then render this texture in the scene to maintain the pixelated effect.
15  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > New shadows system < on: 2014-08-15 02:18:25
Then, I took those images and rendered them to a FBO, and re-rendered it out by +1, for as many times as that slice required in whatever direction they were being told to go. For example, if slice 10 was rendering, it would render itself 10 times each time moving out 1 pixel in whatever direction it was told to based on the time of day. Where as slice 5 would only "move out" 5 times. Slice 15, 15 times, and so forth. So what happens is the higher number slices (or the slices generated from the brighter colors on the height map) would push out longer distances.

Considering how many times I am rendering and re-rendering slices in a single FBO, I expected it to murder my frame rate, but to my surprise even calling the entire shadow rendering method 4 times per cycle (only normally gets called once) I am still running at 60FPS so far. But, I haven't finished drawing all the shadows. There's a chance it may run a bit too slow once all the shadows are put back in. We'll see I guess.

Ray, I'd be lying if I said I fully understand what you are doing here, so I may be jumping the gun. However instead of re-rendering each slice by the number of pixels it is required to project itself, couldn't you scale the slice by the required amount in the required direction? As such you will only have to render it once (assuming the slice is an individual texture).

I envision that it would be something like:
1) Create a 2d vector in the direction of the sunlight, with the magnitude of the vector related to the time of day.
2) Scale the shadow slice by this vector multiplied by the height of slice.
3) Render.

Does that fit the situation or have I missed the mark?
16  Discussions / Miscellaneous Topics / Re: [Girls] How to completely block them from our lives? on: 2014-07-12 15:58:49
...You've clearly done no research on drugs...
- Jev

Whut? Less drug, more program.

- Nerb
17  Discussions / Miscellaneous Topics / Re: Euclideon's 'infinitely detailed' rendering techniques on: 2014-07-10 05:40:56
I don't know if this is old news here or something, but...

<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>

Slightly off-topic and random bit of trivia, but I can see my house at 6:07...  Cool
18  Discussions / General Discussions / Re: Android Billing API Restricts China on: 2014-06-23 13:42:58
I believe you would have to upload a separate APK without IAP's and limit distribution to China.
19  Discussions / Jobs and Resumes / Re: Skill set for an average Java Job on: 2014-06-23 13:00:47
I can’t offer much advice, but I certainly know what you are going through. I lost my forestry job in February after 7 years. I’m now trying for a career change, but lack the experience required for most advertised positions. I’ve since enrolled in a computer science degree; I’m hoping this will enable me to get my foot in the door and expand my knowledge. Not to mention launching applications for every junior role I can find.

It’s not a nice position to be in, so I wish you the best of luck. I too will be watching responses to this thread with interest.
20  Discussions / Miscellaneous Topics / Re: Infatuated on: 2014-06-02 04:53:23
I'm sorry but we can't help you without some source code and a stack trace. ...oh wait a minute...
21  Discussions / Miscellaneous Topics / Re: To the Minecraft Modders on: 2014-05-11 10:47:49
I had a small play with it a couple of years ago. Like you've mentioned, apart from reading some very basic tutorials, it was pretty much a case of looking through the source code and trying to follow where the methods take you (i.e. lots of searching). Quite a painstaking process.
22  Game Development / Newbie & Debugging Questions / Re: Automating imports in Eclipse on: 2014-05-11 04:36:55
Brilliant. Thankyou both. I use a lot of static imports, which didn't seem to initially mesh with either method, but have since found some options in the Preferences menu which should sort it out. I'll play around and see how I go.

Cheers muchly.
23  Games Center / WIP games, tools & toy projects / Re: eXo - snappy space strategy [Android beta released!] on: 2014-05-11 04:16:00
G'day Grunnt,

Was meaning to respond to this much earlier, but got very waylaid. Unfortunately I haven't got my Android in front of me at the moment, so I'm running from memory.

I really enjoy this game. However it would be good to see random generation of levels in the Android version. Perhaps this could be an alternative gameplay option?

It is frustrating to have a hard limit on the number of ships you can utilise (particularly after playing your PC version), but I can understand this from a performance perspective. I guess it forces you to be a bit more strategic too. And I still find this game ridiculously hard on the higher difficulty levels!

The UI and appearance of the game is quite good. I had my phone on silent when I tested it, so can't pass any comment on audio if there is any. Performance was fine on a Samsung Galaxy Nexus.

One minor gripe is your Play Store page. I think the title "eXo snappy space strategy game" is overly long and unnecessary, and has a slightly amateurish ring to it. Could I suggest that you use "eXo Space Strategy" or simply "eXo"? I would also remove the "Snappy Space Strategy" bit from your store icon.

Nonetheless, I think this is a great game. And I've put quite a few (sometimes drunken) hours in to your previous PC version. I really hope to see you take this game further, and I think it is deserving of many more downloads. Well done.
24  Game Development / Newbie & Debugging Questions / Automating imports in Eclipse on: 2014-05-11 03:40:28
G'day all,

Just a quick and silly question about Eclipse. Is it possible to set a standard list of imports that will appear in my projects? I guess a 'template' is the word I'm looking for. If so, where do I start looking?

Reason being, I always seem to be copying and pasting the same old imports in to my projects. Would be handy if Eclipse did it for me, and I'm sure someone has thought of this well before I have.

25  Game Development / Newbie & Debugging Questions / Re: Implementing a cloning feature for sprites. Good design? on: 2014-04-29 04:20:37
I know that... I'm trying to avoid instantiating multiple objects when I'm cloning entities.

Sorry for teaching you to suck eggs then; I was answering the "multiple values that stay the same for each one" bit that you've mentioned.

Correct me if I'm wrong, but instead of having 100 alien objects, you want to have ArrayList's of 100 variables that represent each one? I can't see any major benefit in doing things this way, and if anything it will just make matters more complicated. I'd still create 100 objects, and have them reference their common properties elsewhere (whether this is static, or some kind of 'AlienType' class or something). If the creation (and subsequent GC'ing) of objects is a concern, then you'd be better off thinking about object re-use.

Sorry if I've missed the mark; it's a bit hard when I'm not familiar with your project.
26  Game Development / Newbie & Debugging Questions / Re: Implementing a cloning feature for sprites. Good design? on: 2014-04-29 03:19:43
This got me thinking: If I were to create 1000 aliens, would there be an easier way to dupe/clone the sprites, than creating each one with it's own values even though they all reference the same thing?

If something is common to every instance of a class, then you could make it static.
27  Discussions / Miscellaneous Topics / Re: Is our Universe Simulatable? on: 2014-04-21 04:57:16
Is it possible?

Without getting too philosophical:

I believe yes, theoretically it could be. If you consider that the universe and everything within it is the result of interaction between particles (of some description) and forces, then yes it could be modelled. Providing that you know the initial state, and precisely how everything interacts.

Practically, no it couldn't. We don't have the computational power, nor complete enough understanding of the 'system' to do it.

Getting very philosophical:

We have an initial state S and a function f that transforms the current state into a future state. f contains therefore the complete laws of physics of that universe.

Don't you find this very, very interesting? This leads me towards the belief that choice is an illusion, and that whatever has happened in the past was always going to happen, given the current values of 'S' and 'f' of the universe in which we currently exist. Not in a 'predetermined fate' kind of way (although I guess it is related), but in a 'we have multiple choices, but we were always going to make the choice that we made' kind of way.

I once saw it explained with a snooker analogy in some strange popular science video. If you could set up a snooker game so that the balls are in the exact same position at the start of the game, the environmental conditions are the exact same, and you break with the exact same application of force, then the balls will move the exact same way each and every time. I.e. the outcome is the same, given the exact same initial state and influences. Could this not then be extended to the universe? If you could 'reset' the universe to time = 0, give it the exact same state as our current universe, then let it run its course again, there is no reason to suspect that the outcome would be any different to now. I.e. I'd still be sitting here and writing this post, you would be sitting here reading it, I would've had the same thing for lunch, so on and so forth.

...interesting stuff...
28  Game Development / Newbie & Debugging Questions / Re: In App Purchases in Java on: 2014-04-19 06:23:48
And is that a good idea?

To be honest with you, I think IAPs can be dirty and slimy. In fact, I can't stand them.

I'm okay with 'pay a bit to remove ads'. I'm also okay with 'pay a bit for exclusive content' (i.e. DLC and expansions). Nothing wrong with paying for subscriptions either.

What I'm not okay with is sneaky IAPs that try and force your hand to repeatedly make purchases of guff such as in-game currency, without which the game is pretty useless. I.e. Farming games that make you wait for 34 hours for your crops to grow, unless you buy their useless wank-merchantry, in which case it only takes 3 minutes for said crops to grow. Or it teases you with some rather desirable item, which you could wait and save up for, but it will take you 164 years of your life to do so; alternatively you could make a purchase and get it near instantly. (I guess this is aligned with 'pay-to-win').

What really makes me angry is when such dirty tactics are employed in games targeted at young children (i.e. any game based off children's TV characters). The developers are now leveraging the relationship between you and your children to make a quick and dirty buck. How these morons sleep soundly at night, I do not know. Obviously everyone wants to make a quid from their products, but I believe it should be done in a more upfront and transparent manner.

...well that was a bit of a rant, sorry...
29  Game Development / Newbie & Debugging Questions / Re: OpenGL variable names on: 2014-03-31 02:49:01
Thankyou Stride. I'll give it a go instead of using my long-winded version.

Out of pure interest, where do these standards come from? Is it something you learn whilst on the job, or studying perhaps? This is one of the downsides of being an armchair programmer; I don't get nor seek much exposure to these things.
30  Discussions / General Discussions / Re: Free advertiser read here for more info on: 2014-03-29 05:57:41
Got any examples of your previous work? Perhaps provide a link to your Youtube channel. Cheers.
Pages: [1] 2 3 ... 7

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (29 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (40 views)
2014-12-09 22:41:13

BurntPizza (75 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (47 views)
2014-11-29 21:32:03

toopeicgaming1999 (114 views)
2014-11-26 15:22:04

toopeicgaming1999 (102 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26: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 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‑
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!