Game Development

Game development and other polite discussion. Game development...
Nov 29, 2016 13:46
Twine is bad at this. I can make it import (JSON) game state, but damn does it like to put everything in the global name space ...
Nov 29, 2016 13:45
There are two data sets at play here, actually: The game state itself (which needs the export/import, and which needs to be able to deal with booleans, ints, strings and floating-point values at least), and a local state, which should not pollute the game state.
Nov 29, 2016 13:43
That's why import/export of any random structured data (JSON or XML would be my preferences) would be ideal.
Nov 29, 2016 13:33
Location matters, time matters, player statistics matter and so on ...
Nov 29, 2016 13:33
Yes, but also which allows me to feed the state-before-start into it, and possibly allow me for easy recording on how the state changed (though I can code that part myself if I have some debug logging methods).
Nov 29, 2016 13:30
It's not much about an engine but a tool, really. I need something for the content creation part, something which helps with testing and debugging just that part, then exporting that. Which leaves me with commercial offerings only like ChatMapper, it seems.
Nov 29, 2016 13:28
With Undum ... I'm back to coding in JavaScript. Oh joy.
Nov 29, 2016 13:27
Well, StoryNexus is "dead", I can't use it, it seems.
Nov 29, 2016 13:25
So, nothing like if(player.constitution + player.willpower >= 130) { offer_choice("Power through, no matter the costs"); }
Nov 29, 2016 13:25
I tried Inkle (and many others I didn't mention). It very much suffers from not having a way to do points 1 and 4 (import an external game state and export the changed state after the end) during the story design, and besides the little capability for branching based on state they have relies entirely on flags and simple checks if they are set or not set.
Nov 29, 2016 13:20
Say ... if you go through the woods to meet your grandmother, you might encounter a big bad wolf. The encounter is such a story fragment. Or you might encounter Robin Hood, which is another. They both alter the game state and need to know the game state (for example, if you happen to have a shotgun, you end up with a wolf pelt or can join Hood's merry band).
Nov 29, 2016 13:19
@AlexandreVaillancourt It's simple, really. Say you want to have a narrative-driven game with small pieces of story triggered by events, choices of the player, and/or pure randomness. Now I'd like to have a simple way to author those story fragments in a simple way.
Nov 29, 2016 12:47
Time to check out Undum and StoryNexus, I guess ...
Nov 29, 2016 11:37
I just want something that allows me to: 1. import ("load") the game state from some external source, 2. easily change the state, 3. record interactive snippets using that state in a CYOA style, 4. return the state after the snippets are done and 5. export it in some format I can use elsewhere, ideally a textual format like XML or JSON.
Nov 29, 2016 11:24
Damn it, why is it so hard to find some useful "CYOA"-style game engine suitable for recording your ideas for future use, with some game logic beneath it? ChatMapper is nice, but wants money to be able to export the results. Using Twine means I could as well code directly in JS. Using Ren'py means I could as well code directly in Python. Inform7 really wants me to use command line like input instead of multiple-choice (though at least I get things like rooms, items and so on for free).
Nov 27, 2016 12:53
Speaking of graphics, I like the (relatively stable) mesh gradients that are in the 0.92pre3 Inkscape version. Finally, it makes it so easy to create nice gradients without overlaying a ton of "simple" ones.
Nov 27, 2016 12:33
I'd go with "blueish-white with colourful brown grass springing here and there" myself for a general display.
Nov 27, 2016 12:32
@PearsonArtPhoto Tundra is more reddish- or yellowish-brown in the summer (needs more saturation) with patches of blueish-white snow in the fall and spring, and simply snowy in winter.
Nov 27, 2016 10:21
@PearsonArtPhoto Sweet, but why the white outline on what I think is desert in the lower right corner?
Nov 25, 2016 17:39
Well, I hope not.
Nov 25, 2016 17:39
I know about PIV, PIA and PIM, but I don't think we're talking about sexual intercourse here ...
Nov 25, 2016 16:03
Anyway, I was around - and behind the Iron Curtain - back when Brezhnev was the leader of the USSR. The people in the USA didn't yet and likely won't see the worst a superpower's leader can do. Still, whoever here is from there: hang on tight and take care of the people around you, family and friends and the ones most vulnerable of your community first.
3
Nov 25, 2016 15:56
(... well, if I had one)
Nov 25, 2016 15:56
You have my vote!
Nov 25, 2016 15:50
I have to say, I quite enjoyed this year's US election circus ... from far away. On the other hand, having Putin and Erdoğan basically on our doorsteps means that whatever shenanigans the US will get to in terms of its foreign policy in the next four years pales in importance to our "local" problems, really. It even made Lukashenko and his crap into someone we need to remind ourselves of lest we forget he exists. My condolences to the people actually in the USA, though.
Nov 25, 2016 10:58
Reminds me of a cousin's husband, who lets their two boys (7 and 9 year olds) play Age of Wonders III. That game has succubi, sirens, and items like "Wicked Leather of the Harlot". I mean, the boys are great and quite clever, but I'm not sure about their father's judgement ...
Nov 25, 2016 10:33
Yeah, looks slippery.
Nov 25, 2016 09:46
Well, have "fun" debugging. Sadly my knowledge level of iOS is at 0%, so I can't help more than doing some wild guessing.
Nov 25, 2016 09:43
Because Unity is notoriously bad at enforcing coding practices which don't fill your heap with trash ...
Nov 25, 2016 09:42
Some background task going crazy, like GC?
Nov 25, 2016 09:39
And yes, that's real code someone wrote.
Nov 25, 2016 09:38
The "idea" seem to be that you have an instance of that class, named dice or similar, and every time you need to throw a d6 you go: int result = dice % 6;
Nov 25, 2016 09:36
	int operator %(int n) {
		return  random(n);
	}
Nov 25, 2016 09:36
How to quickly make me hate your guts:
Oct 26, 2016 13:11
I can only agree. Turkey is awesome. Fuck the current political climate there though.
Oct 26, 2016 12:48
This is from FreeCiv's Wiki, by the way. To be fair, it is a free, open-source game; not a commercial one.
Oct 26, 2016 12:47
Oct 26, 2016 12:46
"How to not present a technology tree."
Oct 26, 2016 11:06
I might just have created a very expensive algorithm for skin or leather texture.
Oct 26, 2016 11:05
Oct 26, 2016 11:05
Sometimes, coding stuff for the hell of it ends up in ... surprising results. I'm not sure they are useful results, but it's something I really didn't expect. Specifically, the "stuff" was "running Lloyd's relaxation algorithm on a set of 10k random points in a square 20 times, then rendering the resulting Voronoi diagram."
Oct 19, 2016 12:50
After 40 years, I still struggle with relatively simple sounds as well. You just never stop learning. Like for example the palatal lateral approximant (as Bulgarian "любов" for example, or the Berlin dialect of German, Spanish "ll" or Portuguese "lh") - I know how to pronounce that, I can do it when I pay attention, but usually it just ends up as "ly" when I don't.
Oct 19, 2016 12:40
Poish has some unique features which make it hard for even Czechs and Slovaks to learn (they are the only major Slavic language which has nasalised vocals, for example), but I don't think it's that hard. On the other hand, I was born there ...
Oct 19, 2016 10:12
Voiced bilabial plosive it's called, I think.
Oct 19, 2016 10:11
Yeah, Polish has one form for 2, 3, 4, 22, 23, 24, 32, 33, 34, ... and another for the other plurals.
Oct 19, 2016 10:09
@UriPopov Isn't the plural always "риби" there though?
Oct 19, 2016 10:04
Funny enough, a dream is not an abstract concept - it has the same gender as an animal.
Oct 19, 2016 10:02
There are plurals for all of those but the last one.
Oct 19, 2016 10:01
Swahili for example has a gender for "a person", "a tree or natural force", "a group", "an artefact", "an animal, and everything else", "an extension" and "an abstract concept".
Oct 19, 2016 10:00
No; grammatical genders.