Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Calin Leafshade

#261
Code: ags

    String dirtyString = "Jesus, Fuck this shit"
    String newString = dirtyString.Replace("jesus", "jeezy")
    newString = newString.Replace("fuck", "fig") // note we edit the new string
    newString = newString.Replace("shit", "shoe")
    Display(newString); // Displays "jeezy, fig this shoe"


If you have a list of bad words to replace in an array then you can iterate through them to avoid a lot of code duplication.

Note you also have to deal with restoring capitalisation but if its just for chat sanitizing then i doubt it matter.s
#262
I generally wont bother with an AGS game thats distributed as an EXE. That might seem petty but it just annoys me and most AGS games are on a knifes edge anyway with regards to whether or not i'll give them a shot.
#263
I'm trying to come up with a decent way of modelling the surface temperature of a planet given it's distance from the sun, size, albedo and atmosphere.

Now I have the first 3 things down and can calculate the black body temperature fairly easily but I am struggling with coming up with a model for the greenhouse effect and googling it is a wearisome task.

"CLIMATE CHANGE HOAX: WHAT THE EXPERTS ARENT TELLING YOU!"

Any ideas?

It seems to me there are 2 major components, atmopheric composition and atmospheric pressure bt I'm not sure how to model either of those.

Note that my modelling doesnt need to be accurate, it doesnt need to conform with actual data. It just needs to give a fairly accurate idea of how hot a planet would be and provide a rationale for that temp.
#264
Super butthurt man.

#265
I am generally sceptical of all GUI solutions because they invariably turn out to not be quite flexible enough for what you want to do.

Especially when it comes down to stuff like that variable panel thing where you specify conditions based upon bools and ints... it's just not flexible enough for someone who wants to break new ground a little.
#266
When it comes to making large games a lot of devs *do* make their own engine because its faster than retooling their pipeline to fit existing tech.
#267
Oh wow, yea I didn't notice that. Sorry.
#268
You know, all this stuff about "modern adventure game engine" is a little silly.

Think about what you really need for a 2D adventure game. To display some sprites on the screen, catch clicks and do some pathfinding.
The pathfinding is the only thing that is even remotely difficult.

I mocked up the version of Adore used for White Wedding in a few hours. Admittedly it's not very well tested but it's fairly robust for a couple of hours work.
AGS was made at a time when resources were scarce and there were very few simple tools to make games but these days it's as simple as:

Code: lua

local image = love.graphics.newImage("myImage.png")
love.graphics.draw(image,x,y)


That's all you need to do to draw something to the screen in love2d. Combine that with animations and mouse clicking and you're about 25% of the way there.

I think the days of a specific "engine" are going away because it's so easy to customise existing systems.

Give it a try!
#269
I'm with OG.

Don't you realise that these things you make are all about us, the audience? I don't *care* if you had fun making it why don't you put your effort into something that *I*, the paying consumer, will enjoy?

I'm not what your shareholders will think of this...
#270
The Rumpus Room / Re: A Quiz!
Fri 18/10/2013 21:22:25
Yes that was correct.

I will whip up another one shortly.
#271
Reflexion filters are awesome!
#272
Try hanging a thick duvet a metre or so *behind* the actress.

A thin towel will likely absorb too much of the high end making the whole thing sound "boxy".

2 pence from a former sound tech. :D

EDIT:

Also, if thats a reflexion filter or something similar thats not a pop shield, it goes *behind* the microphone.
#273
The Rumpus Room / Re: A Quiz!
Fri 18/10/2013 09:21:16
Are they particularly anglocentric?

So far we've had American movies, American buildings, American state capitols, Greek mythology, an Irish play and Shakespeare
#274
The Rumpus Room / Re: A Quiz!
Wed 16/10/2013 05:57:24
All correct but you didnt answer the question.

Why would Deborah Kerr be envious?

EDIT: Also you lose points for blatant wikipedia use! You're supposed to pool your cultural knowledge damnit!
#275
Bit creepy to be honest...

But I'm glad you have a friend.
#276
The Rumpus Room / Re: A Quiz!
Tue 15/10/2013 23:47:29
Both wrong, CaptainD.

All three are film/book references.
#277
The Rumpus Room / Re: A Quiz!
Tue 15/10/2013 21:46:49
Atelier is not correct. Wrong Wallace I'm afraid.
#278
The Rumpus Room / Re: A Quiz!
Tue 15/10/2013 20:55:13
Oh hey, you got it.

Well done. Yes
Spoiler
Ganymede is the cup bearer of olympus!
[close]

Ok second round:

You're going to need a film buff for this one.

In which Affair might Deborah Kerr be envious of a fruit coming down, a Wallace creation going up, and Tom Hanks taking the lift?
#279
Quote from: monkey_05_06 on Tue 15/10/2013 01:35:03
In terms of organizing this project, I refuse to take any part in it. I will not participate in discussions about such things.

Am I permitted a lol?

lol.

As to point 2, I agree. 3.3.0 needs to have a feature freeze starting now.

We don't want to fall prey to feature creep before this version is stable.
#280
+1 internet point for mature and responsible reply.
SMF spam blocked by CleanTalk