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 1451 registered users
The newest registered user is levmegs5

Our users have posted a total of 29601 messages in 1324 subjects
Who is online?
In total there are 3 users online :: 2 Registered, 0 Hidden and 1 Guest :: 2 Bots

HariboTer, Oliveriver

Most users ever online was 443 on Sun Mar 17, 2013 4:41 pm
Application System
Fri Jan 31, 2014 2:33 am by NickTheNick
Just note that this devblog is meant to elaborate the point made by the previous devblog.

As you have probably noticed by now, there have been some revisions to the structure of the forum, and primarily, the team. Several developers have discussed and decided to implement these changes, because we feel they are an improvement over what we had before.

What Changed and Why?

All new users begin …

[ Full reading ]
Comments: 0
Keywords
date evolution biomes spore prototype tech Aware Devblog progress tree creature multiplayer planet stage releases editor space organism game video music nickthenick cell Thrive concept Gameplay
Latest topics
» Microbe GUI Finalisation
by NickTheNick Today at 12:53 am

» Miscellaneous Bugs And Questions That Don't Deserve Their Own Thread Thread
by MitochondriaBox Yesterday at 1:17 pm

» Fighting idea
by Scottnov Sat Jul 19, 2014 8:54 pm

» Soundtrack Completion
by T0N12 Sat Jul 19, 2014 10:04 am

» Microbe Stage GDD
by Tritium Sat Jul 19, 2014 9:42 am

» 3, 2, 1! We have lift- I mean application-I MEAN, re-application!
by DeanDactyl Sat Jul 19, 2014 8:36 am

» Music List Thread (Post New Themes Here)
by Madero Sat Jul 19, 2014 7:41 am

» Application here!
by Hergotzer Fri Jul 18, 2014 12:39 pm

» Etnias/subraces.
by ariel1 Thu Jul 17, 2014 8:50 pm

» Action Idea
by AwesomeSiebren Thu Jul 17, 2014 9:01 am

» Thrive Task List
by moopli Wed Jul 16, 2014 9:50 pm

» Earthium Awakens.
by NickTheNick Mon Jul 14, 2014 7:30 pm

» Outreach Discussion
by Oliveriver Tue Jul 08, 2014 1:47 pm

» Graphics for Thrive
by TheRabiesGuineaPig Tue Jul 08, 2014 11:56 am

» Concept Art Thread v2
by TheRabiesGuineaPig Tue Jul 08, 2014 11:22 am

» Concept Art Thread
by moopli Tue Jul 08, 2014 9:55 am

» Re-application (I've got some useful skills now).
by AwesomeSiebren Tue Jul 08, 2014 9:34 am

» Crash Course Evolution
by NickTheNick Mon Jul 07, 2014 2:16 pm

» On Leave (Offline thread)
by NickTheNick Mon Jul 07, 2014 2:28 am

» Art Assets
by moopli Sun Jul 06, 2014 9:35 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: 1128
Reputation: 35
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: 3428
Reputation: 134
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: 1128
Reputation: 35
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: 3428
Reputation: 134
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: 1128
Reputation: 35
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: 3428
Reputation: 134
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: 17
Join date: 2010-08-25
Age: 21
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: 1128
Reputation: 35
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: 12
Join date: 2010-07-06
Age: 25
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: 17
Join date: 2010-08-25
Age: 21
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: 1128
Reputation: 35
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: 17
Join date: 2010-08-25
Age: 21
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: 1128
Reputation: 35
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: 17
Join date: 2010-08-25
Age: 21
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: 1128
Reputation: 35
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

-
» Making a SImple Port Scanner In Different languages
» aqworlds member and acs generator 2012
» Xpango Credit Generator 2013 3.0v New
» Prevent From Gout - Simple Ideas In Order To Avoid Gout Attacks
» Microsoft Office Professional Plus 2013 Confirmation Id Generator

Permissions in this forum:You cannot reply to topics in this forum
Thrive Game Development :: Development :: Design :: Prototypes-