Recent posts by Draco18s on Kongregate

Flag Post

Topic: Game Programming / AS3 help - removeChild of a different class

Originally posted by a3lex33:

I use ‘Global’ class for this kind of tasks. This approach is hated by this forum and is ‘bad’ and stuff, but still:

If you didn’t call it Global and instead made it your document class (which is a singleton!), people wouldn’t complain so much.

public class MainClass {
    public static MainClass instance;
    public MainClass() {
        instance = this;
    }
}
 
Flag Post

Topic: Game Programming / as3: how do i write this? (part 2)

You can also combine them. Get the object from the dictionary, if its not there, get it by reflection and save it to the dictionary.

 
Flag Post

Topic: Game Programming / Does Kongregate allow scriptaccess to my domain?

I don’t think that has any effect on what hope trying to do. I did a remote file load before and didn’t have to jiggle that lever. 1

 
Flag Post

Topic: Game Programming / Does Kongregate allow scriptaccess to my domain?

It’s not Kongregate that allows access out. Its the remote site allowing access in. Your site needs to whitelist Kongregate (and the crossdomain.xml file must be at the site’s root directory, eg. www.whatever.com/crossdomain.xml)

 
Flag Post

Topic: Game Programming / Can adding RAM cause driver issues?

Originally posted by EndlessSporadic:

This means that if your original RAM was 2 4GB sticks, you are NOT allowed to add 1 8GB stick. If you have two 8GB sticks, they go in slots 2 and 4 in the motherboard (or 1 and 3), not slots 1 and 2.

Just to jump in:
You can put them in whatever slots you want. But there’s an ideal configuration that lets the hardware run optimally. Mismatching sizes and speeds won’t break anything, but your computer will probably treat the mismatched sticks as being a smaller size than they actually are.

A coworker of mine had some RAM go bad and didn’t have a paired stick to replace. So he ended up with 4/4/8 (which should total to 16 GB using normal math) but the computer treated it as 12 GB. Still better than what he started with (8GB), but it was being used suboptimally.

That said, it is possible that something weird happened as a result of mismatched frequency, size, or channels. I’m not an expert, so I can’t say what your experiencing is a result of. My guess was that something unrelated to the RAM happened while you were fiddling about. You could have knocked a SATA cable loose, you might’ve jiggled the video card, causing a short, you might’ve static-shocked something.

(Now there’s a TV show I forgot about)

 
Flag Post

Topic: Game Programming / AS3 - Ensuring Shared Objects still exist

Yes

 
Flag Post

Topic: Game Design / Bring an old game up to date

Anyway, I’m am hoping someone could be persuaded to contact this guy to get the rights to his games(s) — he made more than one but “A Mess O’ Trouble” was my favorite — and update them to be played online.

Yeah no. No one’s going to do that for you.

Closest I’ve come to agreeing to something like that was for a friend, who’d tried contacting the original developers himself (no response) and was going to try and code it himself if he did get the rights.

 
Flag Post

Topic: Game Programming / Unity and blender, simple quick texturing question

Originally posted by Narinik:

If you create the materials in blender and export to fbx there is an option in the unity importer to also import materials

You have to fix them most of the time though. It’ll create the material and the object will have the material on it, it might even have the right texture. It will, however, bet a Default Diffuse shader.

 
Flag Post

Topic: Game Programming / Cookie Question?

I think it’s based on the document. I.e. the URL the HTML page lives at gets one cookie.

 
Flag Post

Topic: Game Programming / How do you make a cookie-based save?

To write:

document.cookie = "key=value;key2=value2";

To read:

function getCookie(cname) {
    var name = cname + "=";
    var ca = document.cookie.split(';');
    for (var i = 0; i < ca.length; i++) {
        var c = ca[i];
        while (c.charAt(0) == ' ') c = c.substring(1);
        if (c.indexOf(name) != -1) return c.substring(name.length, c.length);
    }
    return "";
}
 
Flag Post

Topic: Game Design / Does my concept suck?

Reminds me of Roundabout.

 
Flag Post

Topic: Game Programming / Unity and blender, simple quick texturing question

He may have previously imported and set up the materials, so when he did it during recording it was already done.

 
Flag Post

Topic: Game Programming / [HTML5] Game refuse to update

Originally posted by SadCatStudio:

TL;DR: If you are not a Kongregate Admin then you can probably just ignore this thread.

http://www.kongregate.com/forums/7-technical-support
support@kongregate.com

 
Flag Post

Topic: Game Programming / Java Multiplayer RPG.

Kongregate, absolutely positively, does not support Java applets out of the box.

It supports iFrame HTML, Flash, and Unity. You could probably get a Java applet to work via iFrame, but you would have to play around with it.

 
Flag Post

Topic: Game Programming / [HELPER] Post For All

Originally posted by AliNasrallah:

I’m trying to help people for free .

Game Programming forum → all the help anyone could want for free.

Having a single thread is the worst idea imaginable even if we didn’t already have an entire forum dedicated to it and a chat room.

 
Flag Post

Topic: Game Programming / AS3: Syntax error

if (level1data[j] – 1 !== 2 || level1data[j] – 1 !== 0) <— missing {

 
Flag Post

Topic: Game Programming / How to make a 3D game without C++ (HTML, no WebGL)

Originally posted by AMD_Paulius_J:

But I wonder how then binary code is processed, it still has to have some kind of logic, for example how would an IF statement look in binary? and who processes it? there still has to be some backend software that handles binary?

Have you built any kind of redstone contraption in Minecraft? That’s how binary processing works.

It’s why people can say, “I built a computer in Minecraft” because they did.
See also:
Domino Half-Adder
and
3 and 4 bit Domino Full Adder

 
Flag Post

Topic: Game Programming / How to make a 3D game without C++ (HTML, no WebGL)

Actually there’s several of those. Every processor architecture has its own. Assembler generally refers to the version for x86 computers. There’s also assembler for Mac (prior to the switch to Intel processors) and assembeler for x64.

And then there’s the raw binary. Even assembler has a compiler.

 
Flag Post

Topic: Game Programming / How to make a 3D game without C++ (HTML, no WebGL)

Creating a programming language is a non-trivial task. I had a class on it in college (which I did none of the work for on account of understanding Jack Shit about what I was supposed to be doing and got a D).

Also,

 
Flag Post

Topic: Game Programming / NexScript tutorial

/ignore user=“PuerMagnum” reason=“Countess useless ideas presented as tutorials.”

 
Flag Post

Topic: Game Programming / How to make a 3D game without C++ (HTML, no WebGL)

Originally posted by PuerMagnum:

They failed. They’re not doing it on every inch of the street. This idea will involve a camera that takes a panoramic picture of EVERY SINGLE inch of the room.

*Watches file size of a simple game balloon exponentially*

 
Flag Post

Topic: Game Programming / How to make a 3D game without C++ (HTML, no WebGL)

Actually, yes you can. It looks 100% more realistic.

Go use Google Streetview. Tell me how realistic that looks.

And that’s a multibillion dollar company trying to do what you’re advertising.

 
Flag Post

Topic: Game Programming / Question about arrays

Originally posted by PuerMagnum:

I’ve also seen people on here with questions about Unity3D, C#, and HTML5, so you’d have to forgive me for not assuming he’s using an outdated language.

Outdated? AS3 is quite current, TYVM.

 
Flag Post

Topic: Game Programming / How to make a 3D game without C++ (HTML, no WebGL)

And how do you propose moving around objects or through doors? Zooming in on an image isn’t really going to work.

Not to mention that when you zoom in, now your left-right panning action will be slower (because the image is now larger) which makes the visual affect of making “turning” slower.

You can’t fake 3D environments like this, it won’t work.

 
Flag Post

Topic: Game Programming / 3D model search engine

Cool :)