Jump to content

  • Log In with Google      Sign In   
  • Create Account

Extremely frustrated trying to find the right engine/language/api/whatever


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
25 replies to this topic

#21 BLM768   Members   -  Reputation: 295

Like
0Likes
Like

Posted 17 July 2013 - 01:17 PM

Can you give an example of Java being quite verbose? I'm curious.

The main example I've found is with I/O; to send an object on a socket, I had to get the socket's output stream object, then create a ByteArrayOutputStream, wrap that in a DataOutputStream, serialize the object to the DataOutputStream, convert the ByteArrayOutputStream to a byte array, and dump the byte array into the socket's output stream. Apparently, this is "proper, idiomatic" Java code. It has a lot of nice conceptual separation, but the separation is too fine-grained and leads to allocation of piles and piles of wrapper objects in some cases.

 

Admittedly, I'm no Java expert, though; someone with more experience might have found a more concise way of doing it.



Sponsor:

#22 wintertime   Members   -  Reputation: 1714

Like
1Likes
Like

Posted 17 July 2013 - 02:53 PM


I guess the thing is that I'm not trying to make "the" game, or the next Call of Duty clone. I'm really trying to make something as simple as a Legend of Zelda homage, 2D and everything. Its something indie studios everywhere seem to be able to crank out all the time. I'm just overwhelmed because I can't tell you how many times I've taken the base rendering shit (like SDL or Allegro), learned the entire library, bugged and debugged to get it to actually draw something, get like a character to walk around, and then ultimately run into a brick wall of tangled classes and game logic caught between making it easy on myself now or easy for myself later and make it OOP as possible. Which is the point when I'm not really sure what to do anymore, nothing I do seems to reflect an actual game concept and I'm just wading through mountains of my own code.

This sounds as if you are too much focused on trying out more and more tools when your problem is something else. I suggest you read some books about software design and about how to structure a game, write down some basic design on paper before you start coding and use the tools you feel most comfortable/skilled with to try your skills on something small.



#23 Kryzon   Prime Members   -  Reputation: 3040

Like
0Likes
Like

Posted 18 July 2013 - 02:40 PM

Just so we're listing cross-platform, mobile-capable engines:

 

- AppGameKit: http://www.appgamekit.com/ ($)

- Esenthel: http://www.esenthel.com ($)

- Leadwerks 3: http://www.leadwerks.com/ ($)

- GLBasic: http://www.glbasic.com/ ($)

- Irrlicht: http://irrlicht.sourceforge.net/ (free)

- GamePlay3D: http://gameplay3d.org/ (free)

- Maratis3D: http://www.maratis3d.org/ (free)


Edited by Kryzon, 18 July 2013 - 09:36 PM.


#24 Shannon Barber   Moderators   -  Reputation: 1362

Like
0Likes
Like

Posted 18 July 2013 - 11:19 PM

For your purposes I wouldn't just get a free engine, I would find an open-source one.

 

/grandpa voice

In my day, OGRE was all the rage.

 

It uses OGL for graphics so it might support mobile today, dunno.


- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

#25 FLeBlanc   Crossbones+   -  Reputation: 3101

Like
0Likes
Like

Posted 19 July 2013 - 09:25 AM

Urho3D

This thing is shaping up quite nicely for an open source lib. I know a couple people on this site besides myself have used it (I've only tinkered, really, but maybe someday I'll get motivated again to actually develop games) and looking at it, it seems to be adding nice features seemingly daily.

#26 warnexus   Prime Members   -  Reputation: 1437

Like
1Likes
Like

Posted 20 July 2013 - 01:11 PM

 

Can you give an example of Java being quite verbose? I'm curious.

The main example I've found is with I/O; to send an object on a socket, I had to get the socket's output stream object, then create a ByteArrayOutputStream, wrap that in a DataOutputStream, serialize the object to the DataOutputStream, convert the ByteArrayOutputStream to a byte array, and dump the byte array into the socket's output stream. Apparently, this is "proper, idiomatic" Java code. It has a lot of nice conceptual separation, but the separation is too fine-grained and leads to allocation of piles and piles of wrapper objects in some cases.

 

Admittedly, I'm no Java expert, though; someone with more experience might have found a more concise way of doing it.

 

you do have a point there. I use a different way and it takes 3 lines just to set up the file access.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS