Recent posts by AMD_Paulius_J on Kongregate

Flag Post

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

Thank you! you made me look more into the details, and i found out that it wasn’t a allowScriptAccess that was blocking me, but my adBlock:D i was blocking myself. So here is a conclusion (correct me if i’m wrong):

allowScriptAccess has 3 different options – never, sameDomain, always. And this property is not for XML or JSON calls but for javascript, so if it is set to never, that means that flash can’t use javascript files, even if it’s included in a current page, if it’s sameDomain then flash can use javascript, but can get .js files only from a current domain, and if it’s always, then you can load javascript even from your server (which is insecure, because then a flash game could start messing even with the current page). I’m not sure about using php files, does allowScriptAccess also go for php? i will have to experiment with that probably.

 
Flag Post

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

I inspected some games on Kong, and they have allowScriptAccess value set to never, so it’s a no to crossdomain:( but is there a way to go around this?

 
Flag Post

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

Originally posted by Draco18s:

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. <a href="http://www.whatever.com/crossdomain.xml" rel="nofollow">www.whatever.com/crossdomain.xml</a>)

Thanks, i didn’t knew about whitelisting sites, that’s some really useful information. However there is still one thing that is not clear to me, here is an example of object tab:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="example" align="middle" height="650" width="800">
				<param name="movie" value="example.swf">
				<param name="quality" value="high">
				<param name="bgcolor" value="#ffffff">
				<param name="play" value="true">
				<param name="loop" value="true">
				<param name="wmode" value="window">
				<param name="scale" value="showall">
				<param name="menu" value="true">
				<param name="devicefont" value="false">
				<param name="salign" value="">
				<param name="allowScriptAccess" value="always">
			</object>

There is “allowScriptAccess” variable at the bottom set to always, if this variable is not set to always then it will not be possible to access crossdomain.xml so i wonder, is it possible to ask Kongregate admins to add this parameter to a flash game? How do others go about getting some data from a personal server?

 
Flag Post

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

Yeah, you can mix ram modules, and you can even mix ram modules with different frequencies, if you have 1 RAM module that is faster and other that is slower – your system will simply downclock your faster RAM, however there are recommended RAM module lists for every mainboard, i know someone who had problem with incompatible RAM.

In your case though, i’m positive (like Draco mentioned) you just set SATA cable or SATA power cable loose, that’s why you are experiencing this problem, just check the cables, you could also connect your SATA cable to a different SATA slot on your MB.

 
Flag Post

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

So maybe i should correct the question to – does Kongregate and other similar sites allow scriptaccess to different domains?

 
Flag Post

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

Hmm, what is Crossdomain.xml? is it something specific on Kongregate? because i can make XML to work with my domains and it’s crossdomain, works fine, as long as flash html object tab has property “allowscriptaccess=always”

 
Flag Post

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

I want to add a function in my flash game where it loads external xml file from my domain, and based on acquired info it would load some external images also from my domain, but in order for this to work scriptaccess property must be set to ‘always’ in object tag, my question is does Kongregate support this? and how about other sites like Newgrounds, FGL?

 
Flag Post

Topic: Game Programming / Releasing a flash game demo version?

Originally posted by archipel1:

Why do you want to release a demo ?

I want to release demo, because i think that a feedback from players could help to make final version much much better, and maybe a demo version could make a final game more noticeable.

momoguru, thank you! thank you! for such a valuable post, it’s the same as you gave me some gold coins to collect:] I really wanted to hear an opinion from someone who has tried it before, it’s so true that players can greatly help to make a final version much better than it would be without their input. For example, why is dota2 (defense of the ancients) such a genius game? because it was made from a warcraft III mod, which was polished by lots of players.

So, yes, if the meaning of success is to create a fun, interesting game, then releasing a demo version is probably a good choice. But demo version could have some bad impact too i guess, i read at fgl.com that if a sponsor can find your game in google then they may not be interested anymore, so finding a demo version may have a bad impact.

 
Flag Post

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

Actually somehow it started working now, if i create a model with UV map in blender and add a texture for example skin.png (still in blender), and when i copy skin.png to my unity’s project folder → prefabs/textures, then unity will add this texture once i import .blend file, but i don’t understand how did unity started to find textures, i created textures folder on my own, maybe because i used to add textures from my textures folder, maybe after several times unity started checking if the right texture already exists in that folder, and if it does then unity adds this texture on its own.

 
Flag Post

Topic: Game Programming / Releasing a flash game demo version?

I’m thinking about releasing a demo for a flash game, but i want to hear your opinions is it a good or bad idea? maybe i should just upload it to fgl.com and make it visible only for other game devs, or maybe i should release it to the wide public at many sites like newgrounds, kongregate and others? But won’t there be any problems at getting full game sponsored if the demo is already available? your opinions please.

 
Flag Post

Topic: Game Programming / {AS3} Game Help ?

LOL, why didn’t you ask for help in your “all-in-one-help-post”?

 
Flag Post

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

Originally posted by Draco18s:

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

Yeah, most likely you are right.

 
Flag Post

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

Yeah, that’s probably the way to do it, but as i recall i think i once saw one guy at youtube creating textured model and importing to unity and he already had texture on, but i’m not sure maybe he cut his video?:] so i’m searching if it’s possible, personally i was never able to import already textured model to unity.

 
Flag Post

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

I have a very basic question, I just started learning Unity3D and Blender. The question is:

Where do you texture your model? can you texture it in blender and then import to unity and have that model already textured or you just save blender model with UV map without texture applied and then apply texture inside unity? If it is possible to this both ways, which one is better?

 
Flag Post

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


No no, it was just my fail, it’s even embarrassing to admit it, casual visitors will never see unpublished game, i just tried to see your game by ‘messing’ with url, but i failed.

Phew! Jesus, don’t scare me like that Paul! Our current build stuck on Kong server is a huge mess… i don’t want anybody to see that. It’s like someone would see you pooping and singing The Queen’s “We Are The Champions”. Not that i actually do such thing but… umm yeah you got the picture.

Yup i get the picture, and perfectly understand you :D i’m glad that you resolved it.

 
Flag Post

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

Anyway, how can you view our game at all? Its not published, you are not supposed to see it at all.

No no, it was just my fail, it’s even embarrassing to admit it, casual visitors will never see unpublished game, i just tried to see your game by ‘messing’ with url, but i failed.

 
Flag Post

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

My bad, i was at work and in a hurry so it was my mistake, your game wasn’t listed as unity. And yeah i can understand how you feel, as i’m part of small indie team too, but i’m pretty sure that your issue will be resolved, you should try to contact with support as much as you can, even double mail if necessary, and of course this forum is also observed by kongregate admins so i’m sure you’ll get noticed.

 
Flag Post

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

Could someone explain me this:

SadCatStudio said “Our game is made in HTML5 engine Construct 2” but when I checked out this game, I noticed that it’s engine is Unity3D, so what am I missing? I’m really curious, why can you call Unity3D game a HTML5 game?

 
Flag Post

Topic: Game Programming / [HELPER] Post For All

Warning! trolls are invading kongregate programming forum!

 
Flag Post

Topic: Game Programming / Help Out !

Why are you writing each word with first uppercase letter? isn’t it a waste of time and resources? :D

First you should tell us what are you using, AS2? AS3? where do you want to save your username? does it has to have a database or is it only for one game?

So i suggest you to stop writing words with uppercase letters and add more details instead;]

 
Flag Post

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

Vesperbot and Draco18s that was some really interesting info that you two shared, I appreciate that, especially with domino circuits, they could teach that in schools, would be so much more interesting! very cool. And yeah, I personaly never built a cpu inside minecraft, but I remember seeing some youtube videos where people built multi-core cpu’s there:]

 
Flag Post

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

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?

 
Flag Post

Topic: Game Programming / Web development - processing on server

Well it depends on what you want to do with images, but I think you should be fine with PHP.

Here is a tutorial for file upload, form is created with HTML, then PHP takes selected file:

http://www.w3schools.com/php/php_file_upload.asp

You would only need JavaScript for file upload if you want to upload image without having to reload page, it’s called AJAX, it means that JavaScript will take your file, then it will send it to remote .php file and will get feedback from that file, all asynchronous, it means that you can send image and continue doing your business.

And you can process image with PHP too, so I think you should be fine with HTML & PHP. Of course you’ll need some CSS to style everything.

 
Flag Post

Topic: Game Programming / URL Question. . .

It is possible to use php in flash, so I think you could do that with GET statements, for example if url was www.whatever.com/?myParam=100 you would get your var like this in php:

$variable = $_GET["myParam"]; // 100

And then transfer you php var to AS3 var and you are done:)

 
Flag Post

Topic: Game Programming / 3D model search engine

This is so very cool!