Be a Supporter!
Response to: camera tearing Posted November 2nd, 2010 in Game Development

At 11/2/10 06:54 PM, Version2 wrote: What do you mean when you say the background is tearing? Do you mean the light blue square in the background is supposed to follow the camera and cover up the black parts?

No, the light blue square is just background it could as well has been a mountain. What i mean is that sometimes, when you move fast you see the vertical lines (e.g. one of the borders of the blue collumns) like cut by horizontal lines. Someone told me it was a vsync problem or something like that, i also saw someone calling it "camera jittering", like the screen is not refreshing fast enough.

Response to: AS2 Score bar?making it followVcam? Posted November 2nd, 2010 in Game Development

you should put the register point of the bar at the middle-left, and then change it's _xscale, then if you're using AS2, bar._xscale = 100; would be the bar at it's full size. If you get hit and get, lets say 10 points of damage you do something like bar. _xscale -= 10; If you pick up a coin and heal (weird :S ) you do bar._xscale += 10;
if you want the bar to follow the camera you just have to update it's position according to the camera. Inside some enterframe you have around there put something like bar._x = vcam._x; and offset that or you'll have the bar in the middle of the screen.
it was a little vague, hope it helps anyway.

Response to: camera tearing Posted November 2nd, 2010 in Game Development

anybody? :(

camera tearing Posted October 31st, 2010 in Game Development

hi, i'm having some really ugly problems with my attempts of having a camera.
when my player moves, the camera follows and the background looks odd, it seems to suffer some tearing.
You may have a look at my .swfs here:
this two using flixel:
http://www.newgrounds.com/dump/item/f077 5edef7d0cf8c0652e06b6e24a045
http://www.newgrounds.com/dump/item/36c8 003c2c49a2bcfc7b6524d36568bb
this using the vCam AS3 v1.1 (downloaded from http://bryanheisey.com/blog/?p=1):
http://www.newgrounds.com/dump/item/1f04 43d8e34b7affca24bee0e6702a71
(arrows, spacebar, A, S, D, X)

The code i'm using for the first two is this:

FlxG.follow(player,5);
FlxG.followBounds(0, -240, 2000, 240);

i've tried using different values of FlxG.followAdjust and differet values in the second parameter of FlxG.follow but nothing has worked

i used an AS2 vCam once and it worked just fine but that was some time ago. Now i want to do something with AS3 and all my attemps of using a camera are failing and i don't know why. if someone could help i'd be really grateful

Response to: Ndc: 2010, Art Collab. Posted October 28th, 2010 in Art

congratz to the co-authors !!
can't wait to see the collab realesed i'll be waiting for it

Response to: Ndc: 2010, Art Collab. Posted October 15th, 2010 in Art

I can't belive i almost forgot about the collab, i knew there was something going on this october.
I've looked at all the additions people has made since the last time i looked at the thread and there's some awesome ones there. I see people keep finding inspiration in tentacles around here.
Now i'm anxious for it to get submitted... is there a date ?

Random sound effects for videogames Posted May 31st, 2010 in Audio

i found this around there, it's a free license software that can help you with some sfx for your videogame. It creates random retro-styled 8bit/16bit sounds, and you may happen to find something useful. At a first glance it may seem that it's too random and you'll never get what you want but if you take your time to read the readme file and learn how each of those bars work you'll be getting the sound you want in no time,
hope you find it useful

Response to: [as2] Swap Depths Issue Posted May 31st, 2010 in Game Development

hi, i don't know what you're trying to do but i think i had that same problem once and i found this .fla in some tutorial that helped me a lot, if you're problem is like mine you're trying to arrange the depths acording to the _y position
Here is an example
And here is the .fla
take a look at it
All you do is put everything you want to arrange in an array and then onEnterFrame you call that rearrange method with the array as argument. just try to avoid putting your code in the timeline it would work all the same but it makes everything messier

Response to: Vote Behemoth Posted March 22nd, 2010 in NG News

i totally agree with all those who said big companies vs small companies = fucking unfair
but what's even worse is that the tournament seems totally predictable, here's what it looks like to me:
_north division: the big match is gonna be square-enix vs rockstar though i'll bet for square with all the ff fans there are around
_east division ... this one i'm not really sure but i'd say the one getting to round 5 would be capcom, whoever wins anyway i think it is not gonna be a match for square-enix
_west division: blizzard is gonna have a hard time against bungie but it most certanly is gonna win, the really interesting match here is nintendo vs blizzards, this one is the one that's actually gonna decide the tournament cause in an match against any north/east company i think either would win
_south division: i like bioware.... but why even bother any south division company that gets to round 5 it's gonna be slaughtered

so that's how i see the tournament, what do you think?

Response to: Ndc: 2010, Art Collab. Posted March 2nd, 2010 in Art

At 3/2/10 01:33 AM, Are-You-Evil2 wrote: Ya, sorry for the double post. I would just want to let all you people know, that I'm done. It only took me 3 days to finish this.

Here it is!!!

pretty nice maybe it'd look better if you turn down a little the opacity of the background face so the lines can be seen

At 3/1/10 11:44 PM, ZaneZansorrow wrote: At first i thought im gonna have a problem figuring out how to control the opacity of the grass and stream but thank you layer duplication :D. I was wondering if you meant to see some of the line a little on the grass and stream part of the background.

man it's amazing how much effort your putting in it i'm sure when you decide it's finished it's gonna be awesome

At 3/1/10 11:13 PM, fireshade wrote: WIP

Alight so this is my newest version. A pencil sketch of the newgrounds tank insted of that thumbnail.
What ya think?

that tank looks much better now you did it yourself, i think it fits better with the color explosion too

Response to: Ndc: 2010, Art Collab. Posted February 28th, 2010 in Art

At 2/28/10 10:39 AM, zooominsh wrote: So yesterday I made another drawings.
Alien mafia yes I was stoned. :)

I hope someone likes a trippy art too.

like it a lot, wouldn't wanna find those guys in a corner

At 2/28/10 12:05 AM, ZaneZansorrow wrote: I need to figure out texturing a little more but what i got so far is added with shades, light shades(from what i examine of jonnyutah skills), and added texturing.

looking much better and clearer now it's colored, as someone already told you i think the grass and the stream look much too bright, i would tone them down a little

At 2/27/10 07:57 PM, Kaishu wrote: Still a WIP. Glad the due date's in October. Things are progressing very slowly. Figuring out how that right arm should look.

this is looking very good so far, if you refer to the right arm (the one in a fist) of the guy in the right(the smily one) i think both red and black options are ok i just would make the fist bigger

At 2/27/10 06:07 PM, well-grounded wrote: haha. was so fun with this. i just hope that there was more space, to continue draw somthing more ;D

u may want to see it larger? http://www.newgrounds.com/art/view/well-
grounded/handprint

that looks great, plz read first page and put it on the reglamented paper/format it would be a shame if it didn't make it into the collab just for this, it's an awesome drawing

Response to: Ndc: 2010, Art Collab. Posted February 21st, 2010 in Art

At 2/21/10 07:32 PM, Master-Samus wrote: I just watched... experienced the last collab of 09.

Suggestions for this year (may already have been mentioned)

- Transactions of pages could be in flip book format. (actually click or drag the page over)
- Different music tracks, from NGs authors instead of the 1 loop.
- Hot keys to flip pages (arrow keys)
- Less JKAMovies advertisement all over the thing, it's annoying. You actually can't get out of the drawing section.
- Author credits on every page not having to reveal it, with links to their profile.
- They don't need pictures or level pictures to be shown, just a strip of where you can find the artist and more of his work.

Still undecided about participation on my own behalf. Good luck though!

I made: FLASH FLIP BOOK EXAMPLE

that pages look awesome i can't even begin to imagine how it's coded or how it works, if you have some tutorial or something in this matter i would be interested in it

At 2/21/10 07:11 PM, Luxembourg wrote:
At 2/21/10 07:00 PM, kevinchewy wrote:
At 2/21/10 05:12 PM, ZaneZansorrow wrote:
At 2/21/10 04:17 PM, kevinchewy wrote: Damn it. I meant to respond to someone's picture directly but now I look like a dumbass posting right below my own pic. How do I remove this? I'm a newgrounds noob.
Well u can't delete the post u submitted unless you're a moderater ( or mod for short) but there are two simple way to continue on this conversation in the thread and that is by

A. reply post
or
B. reply with quotes

All u did was "A" but anywho, you never did told us who's art you liked.
Haha. Thanks. I'm starting to get the hang of it now. Anyways, I liked the "simple doodle" by Luxembourg. The original. The new one looks good too, but I just really liked the simplicity of the first one.
That's what I was thinking. The extra color-things don't seem like an improvement. They don't detract from it either, they're just there. So, now I'm wondering if I should find some other way to add to it, because some like the simple, some think it needs more, and I personally don't know.

i was looking to your other drawings and i think your answer is there, you may do something like the black thing in this one:
http://www.newgrounds.com/dump/item/4aea 2eb8171426a058d2cf0b4492cadd
or like the clouds on thi one:
http://www.newgrounds.com/dump/item/b64c 2796bbef3c7238d5a65e56a557c9
you should go that way

Response to: Ndc: 2010, Art Collab. Posted February 21st, 2010 in Art

At 2/21/10 01:30 AM, TheRealShadman wrote: I tought I might share some actual notepad drawings for the collab. I did them in school lately on a actual notepad, with a black ball pen. Heres a weird one, I might scan some more.

i was working on this... but i think that there's already enough raping tentacles in the collab now, besides yours are much better. i guess i'll start with something else

ok... even while writting this i check the thread and there's more tentacles on it, what's wrong with us people?

At 2/20/10 10:20 PM, Luxembourg wrote: Thanks for the response, guys! It was pretty quick, too.
Here, I tried throwing in a solid color backing onto the little character to make it look a little smoother. Still a WIP, but tell me how this looks, please.

i agree with someone up there it's a little too simple i really like it that's why i think you should go on with it and add something else

At 2/18/10 09:43 AM, NicKoLa93 wrote: this is a work in progress, and i don't really know :( ,what's the best color???

http://img237.imageshack.us/img237/5359/
acacca1.png
http://img709.imageshack.us/img709/2548/
acacca2.png

that looked so promising, still waiting for it

Ndc: 2010, Art Collab.

Response to: Bioshock 2 Art Contest - Poster Posted February 20th, 2010 in Art

this whole bioshock poster idea looks interesting maybe i draw something before march

Response to: Ndc: 2010, Art Collab. Posted February 19th, 2010 in Art

At 2/19/10 05:03 PM, Captain-Ben wrote:
At 2/19/10 03:16 PM, J-qb wrote: thanks, is that on both counts?
Ooops, didn't see the chicken before. I'm not as big of a fan of the chicken, think I'll pass on that one. The mouse one is really cool though, that one's in.

J-qb: if i were you, i'd re-do that chicken just for the fact you wrote for it, it's woth it....

Response to: Ndc: 2010, Art Collab. Posted February 19th, 2010 in Art

At 2/19/10 09:25 AM, J-qb wrote: 3; "Erotica is using a feather, pornography is using the whole chicken."

i think i'm still laughing...

i'm working on this:

as you see i've tried different thing for the...."legs" but i think i'm gonna stick with the tentacles, i just didn't feel that much into the collab without something with tentacles in it done by myself, since half the stuff in this collab already has tentacles

the idea is to try giving it some texture maybe something like scales...

Ndc: 2010, Art Collab.

Response to: Ndc: 2010, Art Collab. Posted February 18th, 2010 in Art

At 2/17/10 02:19 AM, Fifty-50 wrote:
I totally love it! Very good. :D
At 2/17/10 03:08 AM, JKAmovies wrote:
@vegetable-insanity: I really like the concept of this one. . . Cool idea! Approved.

thank you both i really appreciate it, i got to say i got inspired by this collab, it had been a while since i drew that much. i'm working on a new one with a totally different style we'll see how it goes

At 2/18/10 01:13 AM, JKAmovies wrote: NOTE2: People are starting to NOT name their submissions correctly, make sure to name your piece NDC_"YOUR-USERNAME".png.

sorry i guess i skipped that part, i'll rename mine and submit them again

At 2/18/10 09:43 AM, NicKoLa93 wrote: this is a work in progress, and i don't really know :( ,what's the best color???

i like much more the brow-ish, it looks rusty, it's cooler, awesome robot or mecha or whatever you wanna call it

Response to: Ndc: 2010, Art Collab. Posted February 17th, 2010 in Art

here's my second one: "Spirit Summoning"
PNG
http://www.newgrounds.com/dump/item/a95d c5be43ebdb26802e2a44f6565c4a

Fact: ...they're coming for you

all coments welcome

Ndc: 2010, Art Collab.

Response to: Ndc: 2010, Art Collab. Posted February 16th, 2010 in Art

i liked that donut better when both donut and guy were all gold ...

Response to: Ndc: 2010, Art Collab. Posted February 16th, 2010 in Art

At 2/15/10 07:10 PM, vegetable-insanity wrote: one question: is there any problem if i submit my drawing for the collab also in the art portal?
I'd rather you not since it would be better if people viewed as a collab project rather than seeing it before-hand. If you do go ahead and submit it to the Art_Portal, name your tag NDC_2010.

i think you're right maybe what i'll do is to submit my drawing to the portal but some time after the collab has been already submited

Response to: Ndc: 2010, Art Collab. Posted February 15th, 2010 in Art

thank for approving mine :)
one question: is there any problem if i submit my drawing for the collab also in the art portal?

Response to: Ndc: 2010, Art Collab. Posted February 15th, 2010 in Art

Here it is. I've been working on this all afternoon.

location: Buenos Aires, Argentina
age/gender: 21,male
fun fact: i wish i had been like the giraffe while drawing this.
title: Smile Explosion

png:
http://www.newgrounds.com/dump/item/673c 99b7292198d5e854028a8468840c

tell me what you think

Ndc: 2010, Art Collab.

Response to: Ndc: 2010, Art Collab. Posted February 15th, 2010 in Art

i just found out about this and i've been looking through the whole post (7 pages not that it was quick) i' ve seen preety nice things around and i got really inspired. i'll start doing something right away

Response to: sound pause problem Posted February 5th, 2010 in Game Development

thanks a lot man. I read that link and learned something really useful, i didn't exactly know how Date() worked and seems to be a solution to my problem, i didn't try it though. I found other solution looking around, it's almost the same but a bit different. You have to use these 2 magic words "position" and "duration" with mySound.position you get the total milliseconds(i think) the sound has been playing then you use it in the same way that the newstarttime in the link (you may have to convert it to seconds by dividing by 1000). And with mySound.duration you get the total lenght of the sound in milliseconds. this last thing was useful cause when the sound ended, let's say it's a short sound like a punch or a thunder, when i used mySound.position it gave me the total duration even though the sound had already ended and wasn't playing anymore then when i wanted the sound to play again it won't do it s i use this:
if(_root.windSound.position == _root.windSound.duration)
{
newstarttime = 0;
}
and problem solved

just another way
thanks again.

sound pause problem Posted February 4th, 2010 in Game Development

first of all i'm using flash CS3 and AS2

i'm having problems with a pause function in my game, i get the MC's to stop and the code to stop executing by putting everything into some if(!pause){everything} but i can't get the sounds to pause. Different things that happen:
1) the sounds keep playing while paused which is awful
2) the sounds stop. I get the sounds to stop by doing sound.stop() and when i resume the game the sounds won't start again wich is awful
3)same that before but when i resume the game i use sound.start() and the sounds start all over again from the beggining wich is awful

i'm adding my sounds like this:

_root.fireSound = new Sound();
_root.fireSound.attachSound("sflame");
_root.fireSound.start();

with linkage sflame

this way i can use getVolume() and setVolume().
i've looked in this post:
http://www.newgrounds.com/bbs/topic/2300 47
and find out i can add sounds through mc's

Then my other option is to use the Sound dropdown at the right-hand end of the PROPERTIES bar to select a sound in the mc frame, select stream and when i want the sound to play i attach the mc, and to pause the sound i stop() the mc. This way when i resume i play() the mc and the mc along with the sound start from where it stoped. But this way i can't access the sound to use setVolume() and getVolume() and then i can't add a mute button or volume sliders.

I also found out the start for sound has 2 parameters start(offset, times to loop) i thought there may be some way to save the offset in a var when pausing and then start the sound from there when resume but i don't know how to do it

Please help!
Wich is the best way?
How do YOU do it?

Response to: flash crashes solution Posted December 24th, 2009 in Game Development

At 12/24/09 08:08 AM, Unknown999 wrote: You should never use the drivers that comes bundled with hardware unless you, for whatever reason, absolutely have to. They are almost always outdated. The few extra minutes it takes to get the latest drivers from the manufacturer's website can save you a lot of frustrations.

I tried to download the drivers but i kept having the same problem, that's when i found out the drivers were used for different tablet models.

And i'm no computer wiz or whatever just found all this around there...
it was here:
http://www.file.net/process/wintab32.exe .html

and though it was .exe here i thought i should give it a try and it worcked :D

flash crashes solution Posted December 24th, 2009 in Game Development

My flash used to crash. The thing was that when my tablet was conected flash regularly crashed. It was kinda weird cause it wasn't that it didn't respond it instantly close and i didn't even get to save anything and as you can imagine it was beginning to get really annoying.
I tried different flash versions from mx2004 to cs4 in 2 different computers and I kept having the same problem. As it only happened when my tablet was connected I deduced it was a problem with the tablet. Looking through the internet I finally found out it was a problem with the tablet drivers. As far as i undertand it's some kind of incompatibility between the tablet drivers, the OS and flash. I have windows xp SP3 and the tablet is a genius g-pen f509 but i think the drivers that are called something like MacroKey Manager are used for some other tablets too. The solution finally was to delete a file named WINTAB32.dll that was in C:\WINDOWS\system32. I haven't had any problems since then.
Anyway i hope no one has this kind of problem but if you have hope you find this usefull.
just thought i should share it