Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (555)
Games in Android Showcase (148)
games submitted by our members
Games in WIP (601)
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 ... 8
1  Game Development / Newbie & Debugging Questions / Re: LibGDX:How to create Key Value pairing holding info for different datatypes on: 2015-02-25 10:13:28
...how do you get all the info into 50 objects and still have great code...

Load them from a file.
2  Game Development / Newbie & Debugging Questions / Re: LibGDX:How to create Key Value pairing holding info for different datatypes on: 2015-02-24 12:18:09
Is it essential that you design your own structure like this? Can you use a plain old hashmap? I.e. That data set looks like it could be representing a book. Is a HashMap<String, Book> insufficient?
3  Discussions / Miscellaneous Topics / Re: Yay, free games! Zero's Game Giveaway on: 2015-02-22 09:52:29
I snagged Airline Tycoon 2. Thanks NegativeZero, much appreciated!
4  Games Center / WIP games, tools & toy projects / Re: The Island on: 2015-02-20 02:56:40
Oh and i'm also from SOVIET RUSSIA!

Might need to check the system time on your computer; it appears you're about 24 years out of whack.
5  Discussions / General Discussions / Re: Too complicated? on: 2015-02-18 01:01:44
I'd be thinking along the lines of:

- Does it add anything to the game? I.e. will gameplay be improved? (Keeping in mind realism doesn't always equate to fun, unfortunately).

- Will the average player notice and care about realistic implementation?

- Can you achieve this with reasonable performance? (<= One of the reasons why real-world phenomena are often faked in games).
6  Discussions / General Discussions / Re: What's your day job? on: 2015-02-15 22:51:35
Up until the start of last year, I was a Resource Forester. Most people equate being a forester with being a lumberjack, but I actually spent most of my time with GIS, spreadsheets and databases. Most of my work revolved around mapping, forest measurement, research trials, fire fighting and working with laser-scanned sawlog data.

I'm now a casual work-from-home GIS Officer, and constantly trying to snag another forester role. In the meantime I'm studying Computer Science to pursue my interests, broaden my horizons, and augment my current skills. (Forestry is one of those great industries which brings together many diverse disciplines; stereotypical burly blokes with axes are in fact quite a rarity).
7  Discussions / Miscellaneous Topics / Re: Bit pissed off at uk school system... on: 2015-02-12 10:15:44
I am also a firm believer that if you voluntarily enter someone else's property (such as a house, business, or institution of any kind) then you also subject yourself to any rules that they impose as a condition of entering the property. Simple examples include removing your shoes before entering a person's house (if customary), or subjecting to a bag search upon exiting a shop. If you disagree with these rules, then you shouldn't enter the property.
Yeah right, because all children voluntarily go to school every day.

No, their parents make that choice for them. But it will be parents who get on their high-horse and start complaining that "you can't search my little Jimmy because he is too precious, and you are infringing on his rights, even if he did take a knife to school". My point is they can take little Jimmy and piss off then. They can go find another choice of school if they object so heavily.
8  Discussions / Miscellaneous Topics / Re: Bit pissed off at uk school system... on: 2015-02-12 06:22:18
I can understand people not liking the idea of being searched, but as a parent I would be quite supportive of the idea if it created a safer environment for my children. Would you really want to send your children to a school where someone else's little dirtbags are lugging a knife around?

I am also a firm believer that if you voluntarily enter someone else's property (such as a house, business, or institution of any kind) then you also subject yourself to any rules that they impose as a condition of entering the property. Simple examples include removing your shoes before entering a person's house (if customary), or subjecting to a bag search upon exiting a shop. If you disagree with these rules, then you shouldn't enter the property.
9  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-06 06:24:11
and installed ubuntu. I can't play space engineers, but I'm learning allot about linux. Cheesy

It's a good bit of fun, isn't it? (learning Linux). I did similar a few months ago, and haven't looked back. I was a bit reluctant to take the plunge, but glad I did.
10  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-19 08:46:40
Started learning Perl a little while ago after getting inspired from playing with regex's. Wrote my first Perl command-line "guess the number" game today, amongst other things, to test some of the language's nuances. There's something strangely refreshing about going back to basics.

...I guess I'll go join perl-gaming.org now???
11  Games Center / WIP games, tools & toy projects / Re: Ghostr - 2D Ghost Hunting Arcade Game on: 2014-12-31 03:15:33
I agree with Mike, I like the flashlight. The flickering effect is well done.

The music is brilliant and very fitting. However I can't help but feel the ghosts are out of place. You create quite a creepy atmosphere with the music and lighting, and yet there are bright neon-coloured 'bed sheet on head' ghosts?

I feel that with what you have presented so far, you could in fact take this game or a spin-off in a different direction. Perhaps more of a 2d adventure-horror game? Food for thought.

Well done.
12  Game Development / Newbie & Debugging Questions / Re: LibGDX interpolation on: 2014-12-30 08:19:17
Clamp will (or should) constrain your value between the min and max. I.e. if your value is less than min, clamp will return min. If value is greater than max, it will return max. If it is inbetween min and max, it will just return value.

As for the interpolation, I'm assuming that your 'time' variable is the time elapsed in the animation? And that it ranges between 0.0 and 4.5 (whatever units it's in)? I've got no idea what this Interpolation.Swing business is, but if time ranges between 0 and 4.5, then your interpolated alpha value is simply time / 4.5f. If you want to 'invert' this, then the value would be 1.0f - time / 4.5f;

In a more general sense you can interpolate anything linearly by using currentValue / maximumValue;, where currentValue is somewhere between 0 and maximumValue. If you need a value in a range other than 0.0 to 1.0, for example 0 - 255, then you would multiply this interpolated value by 255 (or the maximum of the desired range).
13  Games Center / Featured Games / Re: State of Fortune on: 2014-12-28 12:37:00
I made a 50 second video of how the game will look

Beautiful.
14  Game Development / Newbie & Debugging Questions / Re: [solved] [LWJGL] Changing the pivot point (origin) of a model for rotations. on: 2014-12-23 22:19:40
Good to hear.  Smiley
15  Game Development / Newbie & Debugging Questions / Re: [LWJGL] Changing the pivot point (origin) of a model for rotations. on: 2014-12-23 05:34:43
TL:DR
I want to draw my gun at the same position visually, but change the point where it rotates.

Any ideas?

Translate the model to the desired origin, rotate, and then translate it back to the original origin.

EDIT: In this case I think you would add the offset to your initial translation to the camera position, rotate, and then translate again by -'ve offset.
16  Discussions / General Discussions / Re: How do you feel about selling out? on: 2014-12-22 07:55:49
Wave a few million in front of me and I'll sell you whatever you want. I'll even chuck in my soul for free.
17  Game Development / Shared Code / Re: Found Really Good Example Off How To Create Vector2! on: 2014-12-22 02:26:01
Well if said beginner doesn't know how to use vectors, then they could just use a library like LibGDX.

...or they could just learn how to use vectors. Mightily useful things they are.
libgdx doesn't hinder learning how to use vectors. Maybe you are implying that writing your own vector class is a good idea? (hint: no)

No, I'm implying that it's worth tackling the problem head on and learning a bit about the maths behind vectors. CopyableCougar's point struck me as "Can't use vectors? Use LibGDX". My response is "Can't use vectors? Learn how to use vectors".
18  Game Development / Shared Code / Re: Found Really Good Example Off How To Create Vector2! on: 2014-12-21 21:04:21
Well if said beginner doesn't know how to use vectors, then they could just use a library like LibGDX.

...or they could just learn how to use vectors. Mightily useful things they are.
19  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.
20  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...
21  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??
22  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.
23  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.
24  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
25  Discussions / Miscellaneous Topics / Re: Not productive? Maybe try out habitrpg.com on: 2014-10-18 23:04:10
I've never heard of it, but I'm going to give it a go. Cheers.
26  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.
27  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.
28  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?
29  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.
30  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.
Pages: [1] 2 3 ... 8
 
BurntPizza (26 views)
2015-02-27 06:09:35

BurntPizza (21 views)
2015-02-27 05:56:17

Riven (13 views)
2015-02-27 02:34:15

Riven (19 views)
2015-02-27 01:47:26

Riven (19 views)
2015-02-27 01:46:04

BurntPizza (15 views)
2015-02-27 00:52:04

BurntPizza (16 views)
2015-02-27 00:50:29

Riven (36 views)
2015-02-26 23:38:45

Riven (13 views)
2015-02-26 23:37:24

BurntPizza (31 views)
2015-02-26 21:13:04
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

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
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!