Thrive Game Development

Development of the evolution game Thrive.
 
HomeHome  PortalPortal  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log inLog in  
Welcome new and returning members!
Sign up and introduce yourself. ADMIN knows your ASL.
If you're new, read around a bit before you post: the odds are we've already covered your suggestion.
We are working with a relatively new theme, so visual bugs are being addressed.
ADMIN reminds you that the Devblog is REQUIRED reading.
Currently: The Microbe stage environment is taking shape.
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
READ BEFORE POSTING
FAQs Wiki OE CC Thrive
Search
 
 

Display results as :
 
Rechercher Advanced Search
Statistics
We have 854 registered users
The newest registered user is Dragongirl45

Our users have posted a total of 22789 messages in 1101 subjects
Who is online?
In total there are 6 users online :: 1 Registered, 0 Hidden and 5 Guests :: 2 Bots

NickTheNick

Most users ever online was 443 on Sun Mar 17, 2013 4:41 pm
Updated Research Web
Wed May 08, 2013 5:20 pm by NickTheNick
Okay guys, here is my first Devblog to fulfill my responsibility as Strategy Team lead.

Finally I have procured some work to show for my efforts in conceptualizing the Strategy Mode. The Research Web is a pivotal component of post-sapience gameplay, as it is what drives your species forwards from the Awakening stage to their final steps into Ascension. Through a graphing program, I have managed …

[ Full reading ]
Comments: 5
Keywords
creature date biomes wiki research Thrive editor prototype cell tree microbe evolution stage video game space underwater concept progress Devblog music auto tech Gameplay planet organism
Latest topics
» Miscellaneous Bugs And Questions That Don't Deserve Their Own Thread Thread
by NickTheNick Today at 12:21 pm

» Strategy Mode Discussion
by NickTheNick Today at 12:18 pm

» Function Part Discussion
by NickTheNick Today at 12:14 pm

» Building Microbe Stage
by Tritium Today at 11:41 am

» Revolutionary Games website's thread
by WilliamstheJohn Today at 10:48 am

» Organ Design
by Mysterious_Calligrapher Today at 9:38 am

» Concept Art Thread
by WJacobC Today at 6:30 am

» Another Idea: 'Over tech'
by Daniferrito Yesterday at 2:42 pm

» Hello there!
by Doggit Yesterday at 2:16 pm

» Forum Rules/Etiquette
by Mysterious_Calligrapher Yesterday at 9:08 am

» Bilinguals wanted! Quiero personas bilingües! Je veux bilingues!
by Mysterious_Calligrapher Yesterday at 9:05 am

» Parallel work on multiple stages
by Tritium Yesterday at 4:37 am

» types of government
by NickTheNick Sat May 18, 2013 8:05 pm

» Compound Tags and Properties
by Daniferrito Sat May 18, 2013 5:50 pm

» Food and Consumption
by NickTheNick Thu May 16, 2013 9:18 pm

» Another new guy :)
by cornflakes91 Thu May 16, 2013 6:08 am

» Cultural Trait Brainstorming
by NickTheNick Wed May 15, 2013 5:57 pm

» LTL Weapons
by Xazo-Tak Tue May 14, 2013 8:03 pm

» Holidays affecting gameplay?
by Thriving Cheese Tue May 14, 2013 1:16 pm

» Build system discussion
by Nimbal Tue May 14, 2013 6:58 am

Simple language generator (v1.01) 5 1 1
Share | .
 

 Simple language generator (v1.01)

View previous topic View next topic Go down 
Go to page : 1, 2, 3  Next
AuthorMessage
Commander Keen
Industrial Team Lead


Posts: 1132
Reputation: 34
Join date: 2010-07-23
Location: Czech Republic (not that anyone would know where it is...)

PostSubject: Simple language generator (v1.01)   Tue Dec 27, 2011 3:58 am

Recently I needed a word generator for another project of mine, so I made one. I figured you might be interested by it, so here it is. It's really a simple thing, don't expect anything big. All it does is randomly setting some variables (such as how much is each letter used or maximum consecutive vowels) and then generates exactly 1000 words.

Here it is: http://dl.dropbox.com/u/54710394/LangGen.rar (v1.01)

All you need to do is to just run the exe file and it will generate "langfile.txt". If you want another set of words (and parameters), just run the exe file again and a new langfile.txt will be generated.


If anyone wants to port it to Linux (Roadkill), the source is included. I have used the cross-compatible SFML 1.6 for the random functions, so you just need to download it or replace the random functions with commands of your choice.


Last edited by Commander Keen on Tue Dec 27, 2011 9:47 am; edited 1 time in total
Back to top Go down
View user profile
~sciocont
Overall Team Lead


Posts: 3173
Reputation: 99
Join date: 2010-07-06

PostSubject: Re: Simple language generator (v1.01)   Tue Dec 27, 2011 9:24 am

Excellent work. This is the first step towards different languages in the game. This is really cool, but I have a few questions.
Why is "I" a consonant? (probably just a typo, since it's listed under consonant and vowel, but still)
why do I have words longer than 4 letters if the max word length is 4?
could we cut down on short (2 and 3 letter) words?
In case anyone is wondering what this system looks like, but can't or isn't able to download or run it, here's a new file I just made.
Spoiler:
 

_________________
Remember our goals: simplicity, science, and playability. Keep them in mind always.
[OE]|[FAQ]|[Wiki]|[My Blog]
Back to top Go down
View user profile
Commander Keen
Industrial Team Lead


Posts: 1132
Reputation: 34
Join date: 2010-07-23
Location: Czech Republic (not that anyone would know where it is...)

PostSubject: Re: Simple language generator (v1.01)   Tue Dec 27, 2011 9:52 am

Updated. Fixed I being a consonant and tweaked the values to allow bigger differences between languages.

Digraphs currently count as a single letter and don't respect the 'max consecutive vowels/consonants' rule. That will get fixed later.
Back to top Go down
View user profile
~sciocont
Overall Team Lead


Posts: 3173
Reputation: 99
Join date: 2010-07-06

PostSubject: Re: Simple language generator (v1.01)   Tue Dec 27, 2011 10:24 am

Commander Keen wrote:
Updated. Fixed I being a consonant and tweaked the values to allow bigger differences between languages.

Digraphs currently count as a single letter and don't respect the 'max consecutive vowels/consonants' rule. That will get fixed later.

Cool. Where can we use this in game?

_________________
Remember our goals: simplicity, science, and playability. Keep them in mind always.
[OE]|[FAQ]|[Wiki]|[My Blog]
Back to top Go down
View user profile
Commander Keen
Industrial Team Lead


Posts: 1132
Reputation: 34
Join date: 2010-07-23
Location: Czech Republic (not that anyone would know where it is...)

PostSubject: Re: Simple language generator (v1.01)   Tue Dec 27, 2011 10:53 am

I don't really know. I originally made this for my roguelike and had it generate names for all items and characters. We could call it to generate names for AI nations' towns and TOs, and maybe even the player's if he chooses so, bonus points for every nation using a different language.
Back to top Go down
View user profile
~sciocont
Overall Team Lead


Posts: 3173
Reputation: 99
Join date: 2010-07-06

PostSubject: Re: Simple language generator (v1.01)   Tue Dec 27, 2011 11:32 am

Commander Keen wrote:
I don't really know. I originally made this for my roguelike and had it generate names for all items and characters. We could call it to generate names for AI nations' towns and TOs, and maybe even the player's if he chooses so, bonus points for every nation using a different language.

Great.

_________________
Remember our goals: simplicity, science, and playability. Keep them in mind always.
[OE]|[FAQ]|[Wiki]|[My Blog]
Back to top Go down
View user profile
roadkillguy
Experienced


Posts: 534
Reputation: 16
Join date: 2010-08-25
Age: 19
Location: Rhode Island

PostSubject: Re: Simple language generator (v1.01)   Tue Dec 27, 2011 11:58 am

What rendering library did you use for your roguelike? I wrote an engine not too long ago using SDL. It could load any given character set, much like dwarf fortress.
Back to top Go down
View user profile
Commander Keen
Industrial Team Lead


Posts: 1132
Reputation: 34
Join date: 2010-07-23
Location: Czech Republic (not that anyone would know where it is...)

PostSubject: Re: Simple language generator (v1.01)   Tue Dec 27, 2011 12:36 pm

OpenGL through SFML. SFML is just like SDL with a few extra handy functions, so I just use it instead of SDL. The roguelike has graphical tiles (no ASCII), the tileset is selectable and can be of any size - I use 16x16, 24x24 and 32x32 for testing, but even weird sizes like 69x69 work well. So far, it's more like an infinite-world sandbox editor than an actual roguelike because I got stuck on NPC AI.


Last edited by Commander Keen on Tue Dec 27, 2011 1:31 pm; edited 2 times in total
Back to top Go down
View user profile
GamerXA
Regular


Posts: 286
Reputation: 9
Join date: 2010-07-06
Age: 24
Location: Australia, Queensland

PostSubject: Re: Simple language generator (v1.01)   Tue Dec 27, 2011 1:24 pm

This prototype is a very good beginning; but there are several things missing that would constitute a randomly generated dictionary that could be used in a Thrive Procedural Language. For the generation of in-game languages, this website may be useful.
Back to top Go down
View user profile
roadkillguy
Experienced


Posts: 534
Reputation: 16
Join date: 2010-08-25
Age: 19
Location: Rhode Island

PostSubject: Re: Simple language generator (v1.01)   Tue Dec 27, 2011 1:54 pm

I was trying to write one in ncurses and then I eventually just wrote my own engine for it. It was going to be the coolest post apocalyptic roguelike ever, but I could never really figure out how to organize levels and stairs and such in a non cluttered way.
Back to top Go down
View user profile
Commander Keen
Industrial Team Lead


Posts: 1132
Reputation: 34
Join date: 2010-07-23
Location: Czech Republic (not that anyone would know where it is...)

PostSubject: Re: Simple language generator (v1.01)   Tue Dec 27, 2011 4:57 pm

@GamerXA - I want to keep this simple. Post exactly what features would you want to see and I will try to implement them, but nothing overly complex like automagically making it's own font or similar things. Of course in Thrive, we can use an improved version with those features, but I need to use this basic version for other projects.

@roadkill - Good thing Legendaria has no stairs then Razz I have sacrificed them for an infinite* world using Minecraft style chunk approach, except 2d. Mind posting a link to your engine? I could really use some hint for the AI.

*will be actually on a procedural landmass, limited by seas
Back to top Go down
View user profile
roadkillguy
Experienced


Posts: 534
Reputation: 16
Join date: 2010-08-25
Age: 19
Location: Rhode Island

PostSubject: Re: Simple language generator (v1.01)   Tue Dec 27, 2011 11:25 pm

Commander Keen wrote:
@roadkill - Good thing Legendaria has no stairs then Razz I have sacrificed them for an infinite* world using Minecraft style chunk approach, except 2d. Mind posting a link to your engine? I could really use some hint for the AI.


Whoa there. I never got that far. In fact there was this bug I was never able to solve involving changing the window resolution to a non multiple of 4. (It was seriously retarted.)

EDIT: Wow. SFML looks really cool. The API is super simple. Looks like they're actually using C++. Really puts SDL to shame IMO.
Back to top Go down
View user profile
Commander Keen
Industrial Team Lead


Posts: 1132
Reputation: 34
Join date: 2010-07-23
Location: Czech Republic (not that anyone would know where it is...)

PostSubject: Re: Simple language generator (v1.01)   Wed Dec 28, 2011 4:51 am

Ahh, in a flash of genius I fixed the AI bug. Weeks of increasingly massive changes to the code yielding nothing, and a single line change suddenly makes it work. Hard is the life of a C++ programmer...

Porting the current Thrive source to SFML is easy, just done it on my Windows build. BTW, how does your quadtree work? I made some simple quadtrees for collision detection in the past, but I can only make your crash..
Back to top Go down
View user profile
roadkillguy
Experienced


Posts: 534
Reputation: 16
Join date: 2010-08-25
Age: 19
Location: Rhode Island

PostSubject: Re: Simple language generator (v1.01)   Wed Dec 28, 2011 11:41 am

Commander Keen wrote:
Ahh, in a flash of genius I fixed the AI bug. Weeks of increasingly massive changes to the code yielding nothing, and a single line change suddenly makes it work. Hard is the life of a C++ programmer...

Porting the current Thrive source to SFML is easy, just done it on my Windows build. BTW, how does your quadtree work? I made some simple quadtrees for collision detection in the past, but I can only make your crash..


Yo, commit that Belgium. I'll get the makefile working.

As for the quadtree. I thought it worked. If it's any consolation, of a given map must be of 2^n + 1. (Technically it only needs to be divisible by two for each sublevel) The point is to subdivide terrain data all the way to the bottom, and have each node make a vertex buffer or something. That way we just have to tell it to render and it's cause for less overhead.

EDIT: I just wrote a basic library that contains the rendering loop and phase engine. It utilizes sfml, so I'll commit soon.
Back to top Go down
View user profile
Commander Keen
Industrial Team Lead


Posts: 1132
Reputation: 34
Join date: 2010-07-23
Location: Czech Republic (not that anyone would know where it is...)

PostSubject: Re: Simple language generator (v1.01)   Fri Dec 30, 2011 4:00 am

MERCURIAL, Y U NO MAKE SENSE!?

If it's still any use, here's a download link to the SFML ported Thrive: http://dl.dropbox.com/u/54710394/thrive_sfml.rar

Do I need to have my account set as a Thrive's developer to be able to commit? Not that it would matter much as I still haven't figured out TortoiseHg..
Back to top Go down
View user profile
 

Simple language generator (v1.01)

View previous topic View next topic Back to top 
Page 1 of 3Go to page : 1, 2, 3  Next

 Similar topics

-
» Drow Language Generator
» how to change the language of aom
» Some simple website suggestions
» jaypr26's Ban Appeal: Language
» VBS code (simple but deadly)

Permissions in this forum:You cannot reply to topics in this forum
Thrive Game Development :: Technical/Conceptual work :: Prototypes-