Recent posts by AMD_Paulius_J on Kongregate

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!

 
Flag Post

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

I’m tired of you close minded people just saying things like ‘oh no this won’t work because it’s not mainstream enough’.

Close minded? i don’t even know where to begin correcting you, if they just said “no, this won’t work” then you could call them close minded, but they are actually telling you WHY this isn’t a good idea, and it’s not about mainstream at all. You will never get a real 3d effect without 3d technologies, you can’t do that with mere pictures, unless you use something like stereograms
Yet another thing about gaming is that it’s not realistic view that makes games engaging, actually i think that fantasy graphics makes games more engaging, mysterious it doesn’t have to look like reality, because reality is boring and “dry”.

 
Flag Post

Topic: Game Programming / Free amateur sound designer

Very good, if this music was just for listening I would say that it lacks melody, but since this music is for games it fits perfectly, good job! “Tormented Lullaby” is the best :)

 
Flag Post

Topic: Game Programming / Will it be possible to export AS3 to HMTL5?

Yeah, that’s some good news indeed, it means that we can still use flash IDE for animations, graphics, and we can code in Haxe using flash IDE (if i understood correctly) and then compile to HTML5, if that really works then it really is some good news for us flashers.

 
Flag Post

Topic: Game Programming / Will it be possible to export AS3 to HMTL5?

Aesica, have you used it? and maybe you could explain in short terms what does openfl do? because as i understand it’s not a plugin for flash, it’s a separate platform which uses Haxe as it’s primary language. But i want to find out if it will be possible to create games in flash IDE and export them to HTML5, mainly because building in flash IDE is extremely efficient.

 
Flag Post

Topic: Game Programming / Will it be possible to export AS3 to HMTL5?

Hello, long time no see. I want to ask for your opinions, how do you guys think, will it ever be possible to fully export AS3 game to HTML5 canvas & JavaScript? Right now there is a Flash CS6 plugin called “CreateJS” but it only converts things like motion tweens and etc. So how do you think, will we ever have AS3 to HTML5, JS exporter?

 
Flag Post

Topic: Game Programming / What's with all the hate on Unity?

Originally posted by Glutenfree4u:

Nope, I’ve followed some tutorials before, you just code like you’d normally do. It exports the code and everything.

Well, but then you still have to code in javascript.

 
Flag Post

Topic: Game Programming / What's with all the hate on Unity?


In Flash just export with the CreateJs feature, it’ll export it as a javascript/html5 game.

As far as i know you can’t export flash game to HTML game using CreateJs, it’s only for buttons, music and timeline animations, someone corrrect me if i’m wrong.

 
Flag Post

Topic: Game Programming / GiTD #40 - *Congratulations Zoib*

1st. Zoib Blood and Sand
2nd. Kewry Tutle the Turtle

Because Zoib’s game was more fun, i really liked how he sync’ed music with increasing enemy atacks. Anyway, both games are pretty good!

 
Flag Post

Topic: Game Programming / GiTD #28 t-shirt already arrived:)

Here it is! for everyone to see:

Well, although it is only L sized, it is still designed for fat people, i can’t wear it:] I would probably look like I was dressed with a sack:\ But all in all colors are pretty good, and I’m very happy with this souvenir.

 
Flag Post

Topic: Game Programming / GiTD [#31] Winners Announced!

1st. Feartehstickman
2nd. Saybox

//And don’t invert my vote, I noticed mixed entries too//

 
Flag Post

Topic: Game Programming / GiTD [#30] Winners Announced!

Originally posted by feartehstickman:

Yes, I garnered a vote from the Lure or Die guy. Hopefully it wasn’t just because he was too sick to think straight.
Get well with haste.

No it wasn’t a mistake, I really liked your game!

 
Flag Post

Topic: Game Programming / GiTD [#30] Winners Announced!

1st. place – Kewry – Crawling Through Weird Places

Kewry your game is superb! it is very engaging, and here we have a fine example of how much can a good music increase addiction to the game, I think I played it for more than half an hour, and got switched to cybernetic world so much, later I found out that I didn’t even realise that one person came to me to ask for something, and I didn’t even notice someone standing behind me:) but I got stuck in the last dungeon, I think it’s not finished yet.
For me, this game is a clear winner. By the way you should add credits to musician who composed this soundtrack.

2nd. place – feartehstickman – Escape the Dungeon

Sorry, can’t give any more feedback, I feel a “little” dizzy, because I caught some nasty virus (in real life) and to erase a reallife virus isn’t as easy as to do so for a virtual one:)

By the way, Senekis, I think I’m being ignorant and I’m not catching or I’m missing something about your game:)

 
Flag Post

Topic: Game Programming / FlashDevelop and Flash Professional

This is probably not what you are looking for, but may be useful too if you don’t want to have difficult time working with both Flash Professional and Flash Develop.

If your school’s computer has an external IP, set up a VPN connection, then connect from your home and use remote desktop connection to work on flash, if it doesn’t have external IP then you can use TeamViewer, but VPN + RDC works better. Plus if you have a VPN you can map a network drive and send/receive files easily.

I use VPN and remote desktops daily, and must say that it works very smooth (thanks to huge network development), sometimes I even forget that I’m working on remote desktop.

 
Flag Post

Topic: Game Programming / Flash animation problem

Originally posted by Draco18s:
Originally posted by AMD_Paulius_J:

I don’t see why would it be bad to use timeline code, if it is not a big project.

Some people seem to think otherwise

Yes I read that thread, but didn’t participate because my opinion differs from majority. If it is a small project I believe that procedural programming is the way to go, especially when one is learning things.

But yeah, that’s only a personal opinion, it may be wrong.

 
Flag Post

Topic: Game Programming / Flash animation problem

I don’t see why would it be bad to use timeline code, if it is not a big project.

And to solve your problem, i couldn’t read your code but maybe you have a stop() statement at the end of your object, and maybe your animation is playing in the background and when you addChild it is at the last frame, try adding stop(); in the first frame of your object, and exactly after you add it to stage use yourObjectName.play();

 
Flag Post

Topic: Game Programming / GiTD [#29] Voting

Originally posted by Gengii:


AMD_Paulius_J several big names made both of those games as well as Wasteland, and the Fallout series. Hope you’re not developing anything at the moment. That game has ton’s of content! Enjoy~

Well, when one knows how to manage time. games, development and work are easily compatible:)

 
Flag Post

Topic: Game Programming / GiTD [#29] Voting

AMD_Paulius_J, Yes! I’ve played that game and the sequel, I still have a screenshot of the man holding the chain. Beautiful stuff. I like the dialog system in that game, not sure if it’s been an influence however. I’d like to recommend back Planescape:Torment. Roll a character with high INT and WIS. I swear it’s changed the way I think and who I am.

Oh my, how didn’t I know about such a game, it looks very similar to Icewind Dale, thanks for sharing.

 
Flag Post

Topic: Game Programming / GiTD [#29] Voting

BobJanova: Well, strategy and rpg games are my favorites, I liked this game very much! Although I’m not noob at strategy it wasn’t that easy, if I build lights nearby bases, enemy would cut off power supply and still destroy me, so I must build lights to protect power supply lines too. It was interesting, I have just a very few minor reports. Selected tile should have some indication that it is selected, and of course after if player is going back to menu you should reset time skipping speed, oh and I want a better “close menu” button, something that’s easier to hit.

Gengii: Somehow your game reminded me one of the most mythical game I have ever had “The longest journey” (If you haven’t played it, I greatly recommend it)

Hmm perhaps, because of all these philosophical concepts, I must say, I really really like these themes. But there were many bugs, like getting stuck in market and then having to reload the page.

feartehstickman: Ahh, I played your first version and in it animals were spawning automatically, and this time I killed this only 1 animal, and after this event my people were doomed to starve:) Well, yes this game needs more strategic elements, maybe you should make trees grow slower so that player should measure how many can he cut.

Aceeri: Your game needs explanation about what is exact benefit from upgrading mines, and it also needs timer to know when the night is coming. And a huge suggestion:
Do not make instructions like that, a wall of text is the worst scenario for instructions. You need to work on this game, and you can make it pretty good.

I give 1st place to BobJanova, it is a clear winner.
2nd. place goes to Gengii, feartehstickman’s game was very close 2nd place too, but the fact that Gengii’s game had a storyline made it easier for me to decide.

 
Flag Post

Topic: Game Programming / I'm looking for a better way to parse XML data

Hmm, I will try that, thanks.

 
Flag Post

Topic: Game Programming / I'm looking for a better way to parse XML data

Originally posted by Kewry:

have you taken a look at JSON? it could ease up the trouble seeing as data comes in arrays

Well yes, I read a lot about JSON it’s a lot better than XML, but I’m not good enough yet to implement JSON, so this time I’m going with XML.

 
Flag Post

Topic: Game Programming / I'm looking for a better way to parse XML data

Hmm, maybe that’s why I couldn’t find any proper documentation on this, all articles are for web developers, and they don’t have tileMaps:)

 
Flag Post

Topic: Game Programming / I'm looking for a better way to parse XML data

Right now I have an XML tile map in this format

<tile>b1</tile>
<tile>b1</tile>
<tile>t2</tile>
<tile>t2</tile>
<tile>t2</tile>
<tile>t2</tile>

Well it’s only a part of it, it actually is more than 1000 rows. And I parse it like this:

var mapTiles:XMLList = new XMLList();
var xml:XML;

xml = new XML(xmlLoader.data);
mapTiles = xml.tile.children();

for(var a:int = 0; a < mapTiles.length(); a++)
	{
		testingArray[a] = mapTiles.text()[a]; //Looping through array and adding values
	}

But well, I believe it is not a very effective method, the question is:

if I had an XML file like this:

<tile>b1, b1, t2, t2, t2, t2, t2, t2</tile>

How would i parse it? How could I insert into array each element separated by “,”?