|
301
|
Developer / Creative / Re: Today I created...
|
on: February 15, 2011, 10:00:44 AM
|
I've created a small app for reating rotational sprite sheets:  download here: http://itsmelol.com/blog/?page_id=124Current build: -supports PNG transparency -supports images up to 128 x 128 pixels -supports direction rotation -supports anti aliasing -JPEG & PNG file formats Future builds will support -customizable origin point (now set to center of the image) -random image sizes yay 
|
|
|
|
|
304
|
Developer / Technical / Re: The happy programmer room
|
on: February 10, 2011, 10:19:30 AM
|
read data from fb - done get data from fb into actionscript 3 - done manipulate data in flash - done insert data from flash to php - done read data on php - done YAAAAAAAAY, i don't remember when i last felt so good as i do right now 
|
|
|
|
|
305
|
Developer / Technical / Re: Actionscript 3 + PHP
|
on: February 10, 2011, 09:37:29 AM
|
|
already solved it
i had unique key on user_id so it inserted only unique variables.
as for the null - it inserted when flash loaded faster than underlying FB javascript query.
so it inserted null and user_id and never again, coz i was trying out only with one user.
|
|
|
|
|
306
|
Developer / Technical / Actionscript 3 + PHP (SOLVED)
|
on: February 10, 2011, 09:25:04 AM
|
so i have this function to send data to php and insert into table: var myVars:URLVariables = new URLVariables(); myVars.user_id = playerID; myVars.username = playerName; var _request:URLRequest = new URLRequest("xxxx.php"); _request.data = myVars; _request.method = URLRequestMethod.POST;
var _loader:URLLoader = new URLLoader() _loader.dataFormat = URLLoaderDataFormat.TEXT; _loader.load(_request); (php is a general mysql / php stuff, so no need to post it here) and everything works well when i load the game for the 1st time. if i refresh the page and restart the game it inserts nulls for userID and username and if i further refresh page and restart the game it wont insert anymore. so my php call works only for the first and second time (2nd time with null values)? basically what i get is: empty table - 1st run > insert goes ok 1 row of data - 2nd run > nulls 2 rows of data - 3rd, 4th, 5th run... > doesn't insert truncate table, start all over again: empty table - 1st run > insert goes ok 1 row of data - 2nd run > nulls 2 rows of data - 3rd, 4th, 5th run... > doesn't insert ... you get the idea. any thoughts, ideas, suggestions? it's really stupid, coz everything so far works flawlessly (im reading data from fb, then displaying it in game, then inserting scores and players into tables) until i reach this insertion and everything stops 
|
|
|
|
|
308
|
Developer / Tutorials / Re: Game Maker For Beginners: Part IV
|
on: February 09, 2011, 06:56:48 AM
|
if i recall correctly it is something like this: collision_line(x1, y1, x2, y2, obj, prec, notme) if collision_line(object1.x, object1.y, object2.x, object2.y, true, true) stuff happens; try gm manual for correct code, it's been a while since i last used gm
|
|
|
|
|
310
|
Developer / Business / Re: Game Zebo ads (sort of) post mortem.
|
on: February 08, 2011, 11:57:13 PM
|
Your style is nice, real colorful and crisp, it is the arrangement and balance in the image that is bad. There are a lot of things to consider when making an ad image but I can give you a few basic ideas based on the one you posted.  If you blur your add image really well you can see that the most potent color groups in the image aren't the text and the girl's defining features (which should be the focus of the add) but instead it is the green of the ball, the orange of the hat, and the bright lighting on her face. This is largely due to saturation and hue contrasting (highly saturated colors against dull colors and orange over its blue complement). It is really important that you manage your hue (the spectrum color) and saturation (the color intensity) levels so that the most important aspects of your image give off the greatest degree of contrast. It is also best to try for some sort of color harmony (researching color theory will pay off there), a random mishmash of color really creates a lot of visual chaos.  The next issue is the values (black, white, and the grays in between). If you desaturate the image you can see there is no real balance in value, rather than nice defined blocks of lights and darks you've kind of got this swirl of contrasts that really makes it hard to pick out any visual landmarks. This is especially bad for advertising because this means nothing in the ad is jumping out at the viewer and grabbing their attention.  If you up the contrast and brightness you can see that although the words are now a little more readable you have hard lines going every which way, there is no real flow. Rather than a nice contour leading the viewer to the point of the advertisement it is more like a maze, and when you've only got a brief glance's worth of time to snare your viewer's attention that is a very bad thing.  This last image here insn't a fantastic example, but hopefully you get the gist of it. You can see how careful value balance has allowed me to control which elements of the picture stand out the most (in a sort of visual hierarchy). Color saturation and warmth balances in a similar manner. I've used the dark "letter box" bordering to sort of corral the viewer's attention and narrow the focus to the girl and the text and to help the edge flow. There are lots of other things you do, even just a little bit of research will go a long ways, but hopefully this at least gives you an idea of where to start. whoa, i never thought colors can make such a difference, this is going into my bookmarks! 
|
|
|
|
|
311
|
Developer / Creative / Re: Today I created...
|
on: February 08, 2011, 01:55:33 PM
|
I've completed a collision checking for platformer game i'll be working on, playable here: http://itsmelol.com/beta/platformer.htmlit's an empty level now, you can place or destroy blocks with mouse click and then start the game with S key. the idea is that player will have to place few missing objects in level in order to complete it. now it's just placing blocks and then jumping around (player follows mouse x and jumps with click). i'm also working on a unnamed shmup, playable here: http://itsmelol.com/beta/shmup.htmlthe idea is to have a intense fights with max 3 enemies on screen at the time and lots of enemy attack patterns and all, but it feels like a regular shmup for now, just enemies flying from one side of the screen to another. I'm also working on another shmup with the friend of mine, availible here: http://itsmelol.com/test_app/index.html(fb authentication will be prompted, no need to login)
|
|
|
|
|
313
|
Developer / Technical / Re: What are you programming RIGHT NOW?
|
on: February 04, 2011, 02:26:09 PM
|
|
i'm working on a level editor, which is going to be a half of the game... you get half build level, get some stuff, place it on the level and the play that level and try to finish it.
i've just spent 2 hours fixing my arrays and stuff, coz shit hit the fan and everything failed miserably. now i've somehow solved all infinite loops, out of bounds errors and stuff and now i'm working on a platforming part of the engine, yay.
|
|
|
|
|
315
|
Feedback / DevLogs / Re: Pure Rocket Ownage
|
on: February 01, 2011, 06:10:05 AM
|
oook, i'll try it the second i come home you've made some nice progress since the start, but i'm not really fond of in-built default gm effects - they are generally overused all the way to being cheap. not in your game, in general. base defense could prove to be interesting, if you merge tds with tower defense nicely 
|
|
|
|
|
316
|
Developer / Art / Re: show us some of your pixel work
|
on: February 01, 2011, 05:42:36 AM
|
 WIP, obviously. No idea when/if it'll be done, but it was nice to have some pixel practice. Also: Damn son that's a lot of sharks! this is sweet
|
|
|
|
|
320
|
Developer / Technical / Re: [Actionscript3]Reading data from html?
|
on: January 21, 2011, 04:28:42 PM
|
|
I don't know, i've been messing around will everything for the last 4, 5 hours or so and i'm really sick of everything right now.
but it all works okay for now - i've compiled everything and put it on my server, tried it via fb and everything loads, functions get called, etc. so i really need to sleep over everything to get the full idea of what the heck is going on.
|
|
|
|
|