Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (808)
Games in Android Showcase (239)
games submitted by our members
Games in WIP (872)
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  Discussions / General Discussions / Re: Why is Minecraft bad? on: 2016-08-11 15:29:49
Coding it well requires much more time but you win on the long term because it's more maintainable.


Don't try and predict the future.
Make the code as simple as possible.
Assume the thing your working on now is the last thing you'll ever work on.
2  Discussions / Miscellaneous Topics / Re: C#, did Microsoft just want to be different? on: 2014-12-02 00:33:13
Some of the new features in C#6
3  Game Development / Shared Code / Re: OpenGL lightning fast (managed) VBO mapping on: 2012-12-21 20:48:58
It's something I'll probably dodge with Titan but I had to remove all the function calls from the Droid Assault demo - saved about 1.5 milliseconds IIRC (but I was only joking).

PS - nice work with the LOS shader too.
4  Game Development / Shared Code / Re: OpenGL lightning fast (managed) VBO mapping on: 2012-12-21 20:40:16
Also, have you seen how Cas' sprite renderer works? It uses multiple VBOs too.
Yeah I know all about it, I've been optimizing the SpriteEngine.

Can you optimise it for the dodgy jitter on the XBox while you're at it as well please  Smiley
5  Discussions / Miscellaneous Topics / Re: Titan Attacks by Puppy Games is C#? on: 2012-12-18 21:24:48
Made some good progress on the Titan Attacks conversion. Here's the latest video.

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

This is running on Windows at the moment - I've a couple of systems left to implement then I can begin the XBox 'port' (mainly fixing garbage issues at a guess)

6  Game Development / Game Mechanics / Re: Possible to make an enum of anonymous inner classes? on: 2012-12-06 16:20:06
Right, but the amount of classes I'll need is equivalent to the number of uniquely different weapons, which is a lot, considering the behavior of a machine gun, flamethrower, rocket launcher, and shotgun are all different.

Not necessarily. If the standard weapon behaviour is to fire (a) number of (b) projectiles, in an arc from -(c) to +(c) radians with a reload factor of (d) milliseconds then they'd all have the same BEHAVIOUR wouldn't they. But your data would be different - that is the point.
7  Game Development / Game Mechanics / Re: Possible to make an enum of anonymous inner classes? on: 2012-12-06 15:52:03
Well at least you get it... but the whole point of this was I don't want to have to create 20 different classes for 20 different weapon types. Meanwhile, everyone else still thinks I mean I want different parameters to define damage, speed, etc...

You don't have to create 20 different classes - you only create a NEW CLASS when you need BEHAVIOUR that is different.
8  Game Development / Game Mechanics / Re: Possible to make an enum of anonymous inner classes? on: 2012-12-06 14:48:49
I'm working on a simple game in Java...

So make a simple weapon system.

*Disclaimer* I'm no Java guy but I'd do...

IWeapon {
    Some behaviours here like shoot or load, etc

Weapon : IWeapon {
    Some common functions for all weapons

  //virtual shoot() : spawn a simple bullet based on some data file (speed, effect, sound, damage)

//Weapons are data driven
standardWeapon = new Weapon(DATA FOR THE WEAPON)
flamerWeapon = new Weapon(DATA FOR THE WEAPON)

//Only need a sub class when BEHAVIOUR is different
ShotgunWeapon : Weapon {
  //Override shoot() to spawn x many bullets in an arc - randomise pellet speed

Something::setWeapon(IWeapon newWeapon) {
9  Discussions / Miscellaneous Topics / Re: Titan Attacks by Puppy Games is C#? on: 2012-12-05 21:54:56
...and I've finally fixed the resource loader  Grin

Input next - then I should be able to play it!
10  Discussions / Miscellaneous Topics / Re: Titan Attacks by Puppy Games is C#? on: 2012-12-04 23:49:35
That's running on Windows at the moment - I'm still working through some resource bugs and graphical errors. As soon as I'm happy with it on Windows I'll compile an XBox version and see what's to be fixed up there. Resources are taking too long to load at present so I'll see what my options are for pre creating them.
11  Discussions / Miscellaneous Topics / Re: Titan Attacks by Puppy Games is C#? on: 2012-12-04 19:34:43
...and here's a little YouTube of it in action...

<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>
12  Discussions / Miscellaneous Topics / Re: Titan Attacks by Puppy Games is C#? on: 2012-12-04 16:13:51
Looks like a pretty cool process.

Just curious, did you ever consider using some of the existing solutions for Java to C# conversion ? like using IKVM and just implementing a LWJGL clone in .NET.

Also how are you handling platforms that don't have OpenGL, some sort of OGL->DX converter (like Angle)? or some other method?

Do you plan to release a general conversion tool so other can use it? (whether commercial or free).

Cheers - been a bunch of hard work but ultimately satisfying when you get the game running. I looked at IKVM way back in the day but found it wasn't going to work for some reason (probably the closed nature of consoles but I forget now). If you want XBox then it's got to be XNA Game Studio (or pain of XBLA) and if you have XNA you may as well go MonoGame for the other targets.

I've delegated the few OpenGL calls that Cas uses to Direct X - it's a custom solution and while it's pretty basic it works well enough. Not sure what the plans are to be honest. I doubt there would be any value in it for others unless you were using the entire Puppy tool chain. But there's no reason the various libs couldn't be bunged on Github or whatever.
13  Discussions / Miscellaneous Topics / Re: Titan Attacks by Puppy Games is C#? on: 2012-12-04 15:31:33
That link is nearly 4 years old - go start a new thread if you want to argue the merits of each language / IDE / Framework, eh? Wink

Anyway, here's some WIP screens in various states of brokeness...

14  Discussions / Miscellaneous Topics / Re: Tech demos - undisclosed game on: 2012-12-04 09:56:17
I don't usually like that shadow effect (looks pretty horrific in Monaco IMHO) but that looks very cool. Probably because it's really subtle.
15  Discussions / Miscellaneous Topics / Re: Titan Attacks by Puppy Games is C#? on: 2012-12-02 10:46:09
Ah man, I was hoping this wouldn't descend into a silly argument about which language was better. They both have their good and bad points.

Puppy games are fun and I want to see them on more platforms. I want to play Titan Attacks in my living room on a huge TV on my Xbox or on my phone when I'm on the train to work - now I can  Grin
16  Discussions / Miscellaneous Topics / Re: Titan Attacks by Puppy Games is C#? on: 2012-12-02 00:01:45
What is it about C# that you don't like? It's pretty much Java by another name really.

I'm going to use MonoGame to target the other platforms. It's a cross platform conversion of the XNA framework (obviously using Mono).
17  Discussions / Miscellaneous Topics / Titan Attacks by Puppy Games is C#? on: 2012-12-01 19:16:14
It is now  Cool

Because I've just spent the best part of the past month converting all of Caspian's libraries to C# - these are the desktop versions (I did some Android work earlier on in the year so I could build on the knowledge gained there).

Some Java classes and bits of LWJGL made the jump too.

I've blogged a bit about the process here if anyone is interested...

...and here...

It's currently in testing. I'm aiming for something like the initial title screen late Sunday (although the pre-widescreen version has been converted and is playable). Game saves, 'Steam' stuff and sound still to finish.

So, if you like Puppy Games and have an Xbox, PS Vita or an iOS device keep an eye out for some news probably early next year.

18  Discussions / Miscellaneous Topics / Re: Preferred OS? on: 2012-07-03 09:55:23
Installed GDebi.
Right click 'google-chrome-stable_current_i386.deb' Open With GDebi Package Installer...
"Error! Could not open 'google-chrome-stable_current_i386.deb" The package might be corrupted or you are not allowed to open the file: please check the permissions of the file.

Download 4 times. Officially giving up now.
19  Discussions / Miscellaneous Topics / Re: Preferred OS? on: 2012-07-03 09:33:59
There's no open in software centre option.

GDebi is not installed by default (at least not in my version).

Seems like I've managed to bugger up Update Manager now due to the google / chrome commands...

E:Malformed line 1 in source list /etc/apt/sources.list.d/google.list (dist)


I like the idea of Linux, just not all the faffing. GDebi should be installed and hooked up to install stuff seamlessly.
20  Discussions / Miscellaneous Topics / Re: Preferred OS? on: 2012-07-03 08:47:11
Thought I'd update the Linux Mint session gathering dust in my VM

Installing Chrome on Linux Mint...
Tried the Software Manager application - Google Chrome not listed.

So, old school then...

Click the big button
"Please select your download package"
    32 bit .deb (For Debian/Ubuntu)
    64 bit .deb (For Debian/Ubuntu)
    32 bit .rpm (For Fedora/openSUSE)
    64 bit .rpm (For Fedora/openSUSE)
Accept and Install...
You have chosen to open blah - What should Firefox do with this file? Open With [BROWSE] / Save
Choose Open - nothing listed that looks like it would do anything
Choose Save
App downloads
Right click, Open
Archive Manager opens and shows 4 folders - nothing installed
Got bored and cancelled the 'installation'


Instructions on the Google help page don't reflect the actual experience.


Off to Google to see if that helps...,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=c72d84806ae8a6&biw=1324&bih=876

1st link:

Typing long commands into Terminal window


"ERROR: This command can only be run as root"


Persist with commands. Nothing installs


Really bored now - back to Windows 7, productivity increases.

PS - Installing Chrome on Windows...
One click on a big button

21  Discussions / General Discussions / Re: I love bitbucket! on: 2012-06-22 11:34:59
I still don't understand Git and Mercurial  Tongue
Think I need someone to sit down and explain it all to me.

Cas Smiley
(hint, click the big coloured boxes)
22  Game Development / Newbie & Debugging Questions / Re: Could someone explain Component based entities and managers? on: 2012-05-28 12:43:12
I really want to build my own *snip*.

I approach any programming task as follows...
  1) Try and get out of doing it altogether.
  2) Get somebody else to do it.
  3) Reluctantly do it but do the bare minimum.

As others have mentioned, (1) fits this scenario perfectly :-)
23  Game Development / Game Mechanics / Re: collision detection problem under extreme case. on: 2012-05-01 12:56:01
Search 'swept' circle to line collisions...,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=42e46945646da5f5&ix=seb&biw=1394&bih=860

Consider all the collisions from t0 -> t1 and take the one that occurs first (this will be the line the circle hits first).
24  Discussions / General Discussions / Re: Does really game development on Java suck? Why are we still here? on: 2012-04-18 15:45:05
I recreated all of the Shaven Puppy Game Library rendering pipeline in XNA in less than an hour.
25  Discussions / General Discussions / Re: Programming language decisions on: 2012-01-12 11:15:09
C# is also the basic language for Unity is it not?

C#, Boo, Javascript - core engine is C++ I believe.

Java: great - really great - for desktop development, and Android development too. There's precious little money in Android though, and desktop money is extraordinarily hard to come by. Android performance lame.

Well, you've constantly proved that you can write great games using Java :-)

C#: great for XBox tinkering (only tinkering though - XBLIG is basically a cesspit of dross and zero marketing effort, and your chances or making money here are next-to-zero). XNA was good once upon a time but according to various sources is now not-so-good and anyway really only achieves what various other frameworks achieve, no great shakes.

Agree 100% - Microsoft really, really dropped the ball with Xbox Live Indie Games. Use for fun / hobby projects. Still, it's awesome to see your games running on your Xbox. Big smiles there. And you never know, you could get lucky (Fortress Craft or the Dishwasher guy). Only way for most devs to write code for it though unless you miraculously manage to get on XBLA (although would you really want to do XBLA certification *shudder*)

XNA 4.0 is brill - they did a great job of tidying up all the crud. Not sure why people think they broke it - Well, actually I do. Most folks don't realise there are 2 profiles in XNA; Reach and HiDef. And as Reach is the default they assume all the fancy shadery goodness has been nerfed so they could target the Phone. They didn't. They made the reach profile robust enough to hit a wide range of hardware and fix up all various driver problems.

Desktop deployment is sucky though.

Performance often severely lacking compared to Java. C# on Mono stretches deployment to various other targets but again performance is lame.

But Java isn't available on the Xbox so no worthwhile comparison can be made. It's the cheap ass Compact Framework they used that is the reason for 95% of the performance problems. If they have built a framework specifically for the console it would fly. And the in order CPUs don't like the branch heavy code the CF jitter produces.

C++: run anywhere at high speed, with a reasonable amount of hair loss. Rest assured you can do it, but it takes a fair bit longer to get stuff working.

C++11 may take away a lot of the 'pain' of traditional C++ but having not used I couldn't really comment.

26  Discussions / General Discussions / Re: Programming language decisions on: 2012-01-12 10:29:42
Mono .NET implementation differs from Microsoft .NET implementation. Mono is reliable but don't expect something comparable with Java, look at this:

"Posted by Patrick Smacchia on January 19, 2009". Used an older version of Mono too.

There's also the MoMA tool:

In Java land, I've had a few folks recommend Slick as a decent framework.

27  Discussions / General Discussions / Re: Programming language decisions on: 2012-01-12 10:01:16

I'm not resisting very hard though am I!
28  Discussions / General Discussions / Re: Programming language decisions on: 2012-01-12 09:42:59
The tools are free for them all so download them and have a play with each one. Don't get caught in the trap of being a one language guy / language evangelist.  There's good and bad in all of them no matter what anybody tells you.

As per Kev's reply, the days of C# being Windows only are long gone. And XNA, most definitely, doesn't suck.

There's also game maker applications / frameworks (GameMaker, Unity, etc) that may be a better option if you just want to get games finished.

What sort of stuff do you want to write and what devices do you want to target? Answering that may help you decide which option to go for - at least initially anyway.

Oh, and Hi - first post :-)
Pages: [1]
mercenarius (14 views)
2020-06-04 19:26:01

mercenarius (24 views)
2020-06-04 19:13:43

Riven (866 views)
2019-09-04 15:33:17

hadezbladez (5848 views)
2018-11-16 13:46:03

hadezbladez (2657 views)
2018-11-16 13:41:33

hadezbladez (6273 views)
2018-11-16 13:35:35

hadezbladez (1518 views)
2018-11-16 13:32:03

EgonOlsen (4749 views)
2018-06-10 19:43:48

EgonOlsen (5804 views)
2018-06-10 19:43:44

EgonOlsen (3298 views)
2018-06-10 19:43:20
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08 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!