Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

877275 Posts in 32855 Topics- by 24294 Members - Latest Member: RopeDrink

May 19, 2013, 03:26:05 AM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)The happy programmer room
Pages: 1 ... 175 176 [177] 178 179 ... 227
Print
Author Topic: The happy programmer room  (Read 263083 times)
Liosan
Level 2
**


View Profile
« Reply #2640 on: May 27, 2012, 10:46:42 PM »

I just integrated Jython into my Java game. Consisted of dropping the jar into lib and pointing it at my python files; presto! everything integrated. All classes visible, everything works. That's exactly why I switched from C++ to Java Hand Metal RightGrin

Liosan
Logged

Ludophonic
Level 1
*


View Profile
« Reply #2641 on: May 28, 2012, 01:43:20 PM »

Hello, what's this?



I'll have to try this on my Windows box when I get home.
Logged
Fallsburg
Level 10
*****


Fear the CircleCat


View Profile WWW
« Reply #2642 on: May 29, 2012, 04:11:05 PM »

Just got the first big step of my level generation code working.

Woohoo context-sensitive graph rewriting language that displays planar (or nearly planar) graphs.
Logged

Liosan
Level 2
**


View Profile
« Reply #2643 on: May 29, 2012, 11:31:59 PM »

Woohoo context-sensitive graph rewriting language
... what...? Shocked

Liosan
Logged

Fallsburg
Level 10
*****


Fear the CircleCat


View Profile WWW
« Reply #2644 on: May 30, 2012, 05:38:26 AM »

Well, let me elaborate.

Context-free grammars are things like L-Systems and take the form:
Code:
a -> (a)
a -> (A + a)
a -> A

which given an initial seed of "a" could produce strings like:
"(A + (A + (A)))"

A context-sensitive grammar is different in that it allows for multiple characters in a specific order on the left hand side of the rule:
Code:
aB -> Ba
a -> BaB
a -> A

which given an initial seed of "a" could produce strings like:
"BBBBA"

But those are only for string like languages.  I'm making a Zeldalike, so a directed graph is the best way to do procedural generation (using a language like this).  This allows for nodes (rooms) to connect to multiple other nodes instead of just touching its two neighbors (obviously something that a Zeldalike needs)

So, here is what I have:
1) The graph/node/connection system -- not hard to do
2) The rule rewriting system -- a little bit trickier (has to find patterns that match the left hand side, choose a match at random [if it exists], and then apply the rewriting rule)
3) A graph plotting tool -- Once I have a graph in place, now I have to draw it in a way that it is planar (no edges cross) or as close to planar as I can.  I'm doing this with a spring-based force solver as it seems to be the easiest option that produces decent results (at least, I'm liking them so far)


Logged

Liosan
Level 2
**


View Profile
« Reply #2645 on: May 30, 2012, 06:14:56 AM »

Wooow. Cool Durr...?

I didn't make the connection with context-sensitive grammars. I was like, "what's a context-sensitive graph and why would you need a language to rewrite it...?" Smiley

Liosan
Logged

JMickle
Level 10
*****


lqikq come home


View Profile
« Reply #2646 on: May 30, 2012, 12:55:50 PM »

I'm now a convert to Haxe+NME Smiley
Logged

pixhead
Level 4
****


fish_master57@hotmail.com
View Profile Email
« Reply #2647 on: May 30, 2012, 07:55:02 PM »

Came across a bug in my code, took  me 30 minutes to solve.

Its the best feeling in the world to solve a minor bug after spending days on a major bug. Feels like im on a roll Cheesy
Logged

"Games are made by artists, so to not consider them art is an insult to the artists who work on them." - Some guy on IGN.
eigenbom
Level 10
*****



View Profile WWW
« Reply #2648 on: May 30, 2012, 08:11:53 PM »

My latest commit message made me laugh: "Added banana logic."

Yeh I should get out more..
Logged

BlueSweatshirt
Level 10
*****


the void


View Profile WWW
« Reply #2649 on: May 30, 2012, 09:52:23 PM »

It's that Australian heat.(stfu I know it's Winter)
Logged

eigenbom
Level 10
*****



View Profile WWW
« Reply #2650 on: May 30, 2012, 10:14:53 PM »

'twas a balmy 15C today mr jack
Logged

Geti
Level 10
*****



View Profile WWW
« Reply #2651 on: May 31, 2012, 12:42:30 AM »

Melbourne's crappy at the moment. Waiting for summer and its only the end of May...

However, feels good to actually be able to work now that we've more or less got this blocking bug out of the way. Can actually test everything in a multiplayer setting again, thank god.
Logged

eigenbom
Level 10
*****



View Profile WWW
« Reply #2652 on: May 31, 2012, 01:25:19 AM »

Melbourne's crappy at the moment. Waiting for summer and its only the end of May...

However, feels good to actually be able to work now that we've more or less got this blocking bug out of the way. Can actually test everything in a multiplayer setting again, thank god.

i like the rainy days of melbourne, good for coding.. Smiley
Logged

Geti
Level 10
*****



View Profile WWW
« Reply #2653 on: May 31, 2012, 02:28:19 AM »

Haha, maybe so, but you've still got to go outside to get to uni or see friends or w/e. Not that that dampens the spirits if you're heading down to belgrave for a few brews with mates Beer!
Logged

R.D.
Level 1
*


Hats = Awesome


View Profile
« Reply #2654 on: May 31, 2012, 01:38:52 PM »

Finally got my debug engine running. super flexible and easy to use... for me :D



On to the Shader /o
Logged

Pages: 1 ... 175 176 [177] 178 179 ... 227
Print
Jump to:  

Theme orange-lt created by panic