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

Login with username, password and session length

 
Advanced search

1056351 Posts in 42898 Topics- by 34849 Members - Latest Member: WillBarr

October 23, 2014, 02:07:24 AM
  Show Posts
Pages: 1 [2] 3 4 ... 69
21  Feedback / DevLogs / Re: Return of the Obra Dinn on: July 26, 2014, 02:04:28 PM
This is good. Very good.

Outrageously good.
22  Developer / Technical / Re: You've got a gun to your head: Ogre3D, Irrlicht, or Horde3D? on: July 20, 2014, 01:50:07 AM
Ask the gunman to let you wait for polycode's binaries.

...

And while waiting for them, you will probably create your own successful 3D library.

Dual profits.

But if I had to choose out of those three, I'd say Ogre3D.
23  Developer / Technical / Re: The happy programmer room on: July 16, 2014, 07:51:55 AM
yeah I kind of went the other direction, discovering SDL after using SFML

Did you cry? Tongue
24  Feedback / DevLogs / Re: moonman on: July 14, 2014, 11:45:34 AM
It's not the same moonman as initially designed. Release this as moonman 2.

Well, hello there!


Mooman 2 - the sequel to one of the most popular devlogs on tigsource Tongue
25  Developer / Technical / Re: What's your favorite programming language? on: July 13, 2014, 09:32:15 PM
Quote
is it possible to make standalone applications with JavaScript? Like is there a library or framework that does this.

Game Dev Tycoon is made in JavaScript. You can make an .exe (with C++, for example) that is a web browser ( just put chromium inside ), then make it read all javascript code (you should obfuscate it / minimize it) from the end of the .exe itself, and you're good to go.

This way you can not only use javascript, but CSS and HTML too, if you want.
26  Developer / Technical / Re: What's your favorite programming language? on: July 12, 2014, 02:01:17 PM
I think that this should be a poll Crazy

C++.
27  Feedback / DevLogs / Re: Kuiper 2 on: July 11, 2014, 12:22:46 PM
Thanks for the small tutorial on how you did that sprite Smiley Nifty thingie.
28  Developer / Art / Re: show us some of your pixel work on: July 11, 2014, 01:21:00 AM
@Jamsus Yep, that's very noisy. You should typically try to avoid single isolated pixels, except when patterning or highlighting.

Here's a simple figure I drew this morning, and its construction sequence.





I love that style.
29  Developer / Art / Re: GIFs of games being worked on on: July 10, 2014, 09:35:13 AM
Do it. Doooo it.
30  Developer / Technical / Re: GameMaker is a step back? on: July 09, 2014, 08:15:35 AM
If procedural language design is a step back, and object oriented design is a step forward.. Then functional programming is... a side step?
31  Developer / Technical / Re: GameMaker is a step back? on: July 09, 2014, 07:11:27 AM
Quote
@kamac - Programming in Game Maker can also be considered a step forward in case you prefer procedural ( opposed to object-oriented ), non-strict languages.

Didn't consider that. I view everything in programming by "the lower level the better" principle. (As do you, I suppose Tongue)

I guess it's all matter of perception
32  Developer / Technical / Re: GameMaker is a step back? on: July 09, 2014, 07:01:38 AM
In terms of programming, game maker would not be a step backwards, but most likely would not push you forward, while unity would be a significant step forward as it's widely used now. Go with C#, though.

In terms of game making, both are a step forward if you weren't too productive with obj-c / didn't know how to use it.

Whatever the case, I'd go with unity.
33  Developer / Technical / Re: Hotline miami like effect? on: July 06, 2014, 09:24:35 PM
Code:
//a - table of rgbs. Those are the colors you will be getting, one after another.
//t - time passed (starting from 0)
//d - time it takes to go from one color to another
//a_size - number of elements in a

rgb colorInterpolation(rgb a[], float t, float d, unsigned int a_size) {
    int i1 = (int)t;
    if(i1 >= a_size - 1)
        return a[a_size - 1];
    int i2 = i1 + 1;
    return a[i1] + (a[i2]-a[i1])/((t - i1)*d);
}

Assuming you are using C / C++, and got some kind of rgb class that has operator +, - and / defined.

That is for the text color interpolation. This is how you would use it (Assuming C/C++):

Code:
rgb colors[3];
colors[0].Set(255,255,255);
colors[1].Set(255,0,255);
colors[2].Set(0,255,0);

clock_t startTime = clock();

while(/* some main loop condition */) {
    rgb my_current_color = colorInterpolation(colors,clock()-startTime,1.0f,3);
}

Is that what you wanted?
34  Feedback / DevLogs / Re: moonman on: June 24, 2014, 12:10:18 AM
Do I get a badge for being around at the start? Smiley

Yes you do, so does Belimoth, Ashkin, etc. You guys will definitely be getting the game for free. That's the least I can do.. Smiley

I have a post on 1st page, where I admire I would love to possess your power.
Do I qualify for free moon planet, yet?

 Epileptic

Yeah of course kamac Smiley I'll either post here or PM everyone with a code to get the game for free, but it's still quite a few months off yet!

I STILL REMEMBER.
35  Developer / Technical / Re: Float DataStructure on: May 23, 2014, 02:40:21 AM
Why not use hashtables and turn your floats to strings?
36  Developer / Technical / Re: Beautiful fails. on: May 05, 2014, 12:22:27 PM
That reminds me of a persian rug
37  Developer / Technical / Re: Planes Do Not Render As Visable on: April 22, 2014, 03:31:29 AM
You could make a copy of the shader you are currently using, and modify it by simply adding the line:

Code:
Cull Off

( Here's a document on that: https://docs.unity3d.com/Documentation/Components/SL-CullAndDepth.html )

So, you have to download built-in shader sources according to your unity version:
https://unity3d.com/unity/download/archive

Then, in that package find the shader you use for your leaves, copy it's contents, make a new shader and paste the contents there, and simply modify it with what I mentioned above.

This is the best option, I think.


So, if you are using Transparent/Diffuse shader, you have to find the shader Alpha-Diffuse.shader in the downloaded package, and turn this:

Code:
Shader "Transparent/Diffuse" {
Properties {
_Color ("Main Color", Color) = (1,1,1,1)
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
}

SubShader {
Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
LOD 200

CGPROGRAM
#pragma surface surf Lambert alpha

sampler2D _MainTex;
fixed4 _Color;

struct Input {
float2 uv_MainTex;
};

void surf (Input IN, inout SurfaceOutput o) {
fixed4 c = tex2D(_MainTex, IN.uv_MainTex) * _Color;
o.Albedo = c.rgb;
o.Alpha = c.a;
}
ENDCG
}

Fallback "Transparent/VertexLit"
}

Into this:

Code:
Shader "Transparent/Diffuse" {
Properties {
_Color ("Main Color", Color) = (1,1,1,1)
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
}

SubShader {
Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
LOD 200
Cull Off

CGPROGRAM
#pragma surface surf Lambert alpha

sampler2D _MainTex;
fixed4 _Color;

struct Input {
float2 uv_MainTex;
};

void surf (Input IN, inout SurfaceOutput o) {
fixed4 c = tex2D(_MainTex, IN.uv_MainTex) * _Color;
o.Albedo = c.rgb;
o.Alpha = c.a;
}
ENDCG
}

Fallback "Transparent/VertexLit"
}

Should do it.
38  Developer / Technical / Re: Creating a new programming language from scratch? on: April 12, 2014, 11:32:41 AM
Maybe this is mostly humorous, but might add a little perspective on the topic for someone reading: http://colinm.org/language_checklist.html

Code:
Unfortunately, your language (has/lacks):
...
[ ] goto

Lol.
39  Developer / Technical / Re: Unreal Engine 4 for 19$ a month including source code on: March 27, 2014, 07:52:45 AM
I'm not even sure you need an active subscription to put things out. It's only a prediction, though.
40  Feedback / DevLogs / Re: Dungeoneering on: March 19, 2014, 09:54:47 AM
the atmosphere music was good

What music? Durr...?
I guess you mean something like how shitty the youtube one was (and is).

Quote
This looks amazing so far! I seriously have a hard time this is actually being developed for android, I had no idea that with was a possibility for mobile devices. While it would probably take a considerable amount of time before I was java fluent enough to design something like this, it gives me a lot of hope and ideas for the future Smiley Thanks for linking me to this thread sir, I appreciate being sown such a good example of the possibilities of java on android!

Glad to have helped Tongue
Pages: 1 [2] 3 4 ... 69
Theme orange-lt created by panic