View topic - Creating My Own Game - Unanswered Questions



All times are UTC + 1 hour


Post new topic Reply to topic  [ 30 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: 09 Feb 2012, 09:14 
Moderator

Joined: 12 Oct 2007, 08:24
In that case I think Spring is excellent for your immediate aim. Your ultimate goal should also work.

1. Spring games have models and they can be made in Blender or L3DT. Hopefully someone involved in modelling could say a bit more about the exact features of Spring for models.
2. You would use C++ to mess around with the engine and Java only for lobbies or AI. Most specific gameplay related coding is done with Lua which is similar in syntax to C++ or Java.
3. Spring has support for whole team AIs and several AIs have been written. You can write in almost any language you please including Java and C++. I recommend Lua for the greater engine integration but I'm sure others would recommend other languages. Formation based AI would be best done with Lua script ingame. Pathfinding would probably involve messing around with the engine source in C++.
4. Game balance is extremely easy to change and there are many behaviour tags to do so. Lua scripts can add most rules that are not in the engine and there are already a lot of lua scripts around if you want to focus on the effects instead of the coding.
5. Spring could be a bit too complex and undocumented to use as a networking tutorial but I'm no expert here.


Top
 Offline Profile  
 
PostPosted: 09 Feb 2012, 11:02 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
blender for models
l3dt for maps

but yeah, what the frog said :-)


Top
 Offline Profile  
 
PostPosted: 09 Feb 2012, 16:04 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
if your modelers are less experienced wings3d may be easier.


Top
 Offline Profile  
 
PostPosted: 09 Feb 2012, 19:16 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
Google_Frog wrote:
Lua which is similar in syntax to C++ or Java.
:shock: I would not have said that. Yes, both Lua and C++ are programming language, but apart from that....

Lua is a high level language that is rather easy to learn and work with, but IMO the syntax is different from C: No semicolon, no braces, "then" and "do" after the "if" and "for", 0 is considered true, no manual allocation and deallocation, etc... See http://www.lua.org/manual/5.1/ for details.


Top
 Offline Profile  
 
PostPosted: 09 Feb 2012, 19:36 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
semicolon is relevant in lua


Top
 Offline Profile  
 
PostPosted: 09 Feb 2012, 19:45 
User avatar

Joined: 23 Oct 2004, 00:43
zwzsg wrote:
Google_Frog wrote:
Lua which is similar in syntax to C++ or Java.
:shock: I would not have said that. Yes, both Lua and C++ are programming language, but apart from that....

Lua is a high level language that is rather easy to learn and work with, but IMO the syntax is different from C: No semicolon, no braces, "then" and "do" after the "if" and "for", 0 is considered true, no manual allocation and deallocation, etc... See http://www.lua.org/manual/5.1/ for details.


This. If you want to compare Lua to a commonly-known language, I'd point to Javascript (dynamic everything-is-a-hashtable, implicit semicolon-at-end-of-line) or Python (ditto), or Basic (1-based arrays, lots of English).


Top
 Offline Profile  
 
PostPosted: 09 Feb 2012, 19:51 
User avatar

Joined: 07 Feb 2005, 21:30
Location: Cheese factory
Pxtl wrote:
zwzsg wrote:
Google_Frog wrote:
Lua which is similar in syntax to C++ or Java.
:shock: I would not have said that. Yes, both Lua and C++ are programming language, but apart from that....

Lua is a high level language that is rather easy to learn and work with, but IMO the syntax is different from C: No semicolon, no braces, "then" and "do" after the "if" and "for", 0 is considered true, no manual allocation and deallocation, etc... See http://www.lua.org/manual/5.1/ for details.


This. If you want to compare Lua to a commonly-known language, I'd point to Javascript (dynamic everything-is-a-hashtable, implicit semicolon-at-end-of-line) or Python (ditto), or Basic (1-based arrays, lots of English).

+1

Lua is easy enough to learn but don't go comparing it to static typed non-functional languages. :)


Top
 Offline Profile  
 
PostPosted: 10 Feb 2012, 00:24 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Lua is more like a pascal syntax.

C++ syntax is similar to PHP is similar to C# (php of course being the uncompiled language of the 3), etc.


Top
 Offline Profile  
 
PostPosted: 11 Feb 2012, 03:47 
Moderator

Joined: 12 Oct 2007, 08:24
Lua syntax is similar to Java if you think about wildly different syntaxes such as Lisp or Prolog.


Top
 Offline Profile  
 
PostPosted: 11 Feb 2012, 09:10 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
syntax, which is something like whether to use brackets or indenting, is very insignificant, if you think about how long it takes to switch from one language to an other. syntax just does not matter, practically. what matters is the type of language and the basic features (procedural, OO, functional, logic, ...) and the base functionality and common libraries.
whether java and lua have similar syntax is totally uninteresting. what takes long to learn lua for spring, is to learn what functionality is available (and ok, one has to learn to use which kind of loop).
(someone already said this in here)


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.