344 Forum Posts by "CybexALT"
At 9/12/09 10:57 PM, Logidude wrote: Thank you, but I was asking if anyone knew a tutorial for a flash golf game.
As thats quite a complex and specific game, such tutorials don't exist, so i'll split it down into the easy steps that you'll need to do.
-First make a ball movieclip and a character movieclip.
-You're going to want to be able to detect when the ball is playable. I.e. it's playable when the ball is not moving and not in the hole.
-Then you'll want to make ti so that if the ball is playable, the character appears next to it and make it so the arrow keys (or mouse) rotate the character using trigonometry.
-Then make it so a button shoots the ball in whatever direction its facing (again using trigonometry).
-And finally for the ball movement, you'll have to make it so that the ball slows down over time. This is easily done by timesing the balls speed by a number between 0 and 1 every frame.
Right, thats the basics of hitting the ball, now you'll need a way of having collisions.
-The most basic way of doing this would be to have all the boundaries as rectangles, meaning with any collision, you'd only have to reflect the x or y speed.
-However, if you did use different angles, you'd probably have to draw out a diagram to see whats going on.
-Then you'll want to add all the stupid little bits like adding 1 to the score every time a shot is played, detecting when the ball hits the hole, and adding a multiplayer option or whatever.
Good luck.
I'm going to do my best to not be an asshole here, i Just want to make sure we're all on the same wavelength. I'm not entirely sure of the whole story, but is this along the right lines:
The government are for some reason against you and gave you a virus which almost killed you, presumably because you know too much. The government trying to kill you has pissed you off somewhat and you're deciding to retaliate by releasing all their secrets..... in a flash game...... on newgrounds. On top of that, this secret information will save humanity. And you're wondering if you can incorporate the newgrounds medals system?
First of all, I would like to personally thank you on the behalf of myself and humanity for saving us, although I do see a few ways in which you could save us more efficiently and effectively:
-For starters, you said this flash has taken you 5 years so far! I know you might be a perfectionist, but our planet is on the line here. I would be a lot more reassured if you would save the world ASAP instead of taking time to get walk cycles perfected.
-Secondly, generally people don't take flashes too seriously. It's going to take a lot of work to make sure people realise that this is much more than a game, and actually will save our lives. Maybe have a little foreword at the start to quickly go through all the details and evidence before we play the game.
-Also, i'd like to point out that although its too late, if the government are trying to kill you, its probably not the best idea to publish on the internet that you're going to release vital information against them. Its likely that they're monitoring your computer and phones, so i'd be extra secretive from now on just in case.
-My final idea you probably won't like much. I know it might seem like you're selling out, but you could make a lot of money and it would save a lot of time if you just sold your story to the papers. I think this would get your story across more effectively because more people read newspapers than play games on newgrounds. Now, I know what you're thinking: "I've already spent 5 years on this flash though! It would all be a waste of time if i released the news to the papers. Also, people wouldn't get to play my awesome game!". However, you could still release the flash game after releasing the information to the newspapers, and it would probably get more views that way.
Thanks once again for saving us! And good luck!
All this chiropractor talk has got me confused. Whats the one called that looks up vag?
At 9/2/09 09:43 AM, liaaaam wrote: I just received a letter from my bank offering me a student account and the only thing that they seemed to mention was the £3000 overdraft - that was plastered all over the 3 pieces of paper included in the letter. Fair enough, a £3000 overdraft is great.. but I managed to get through my first year without needing an overdraft, why would I need such a big one now? Plus of course the maintenance loan is only about £3000 so if I got the overdraft and blew it all I could only pay it back within the year if I didn't spend anything at all, so basically it's just a loan that they want to charge interest on when I finish uni and make it sound like they're doing me a favour.
Yeah, i know. Same with me. I've got a £1.5k overdraft, which I've only ever used £200 of. There's not much more to base student accounts on though. None of them have good interest or anything. I guess its nice just having a bigger safety net.
I think number 5 would look the best if there was a little overhang on the upper-lip.
What different debates could there be? I've never really seen people argue about different flash techniques. Most flash related 'arguments' i've seen are about moral issues, where one person is clearly wrong and so probably wouldn't want to animate their side of the argument.
At 8/29/09 04:42 AM, Deadclever23 wrote:At 8/29/09 02:34 AM, ImpotentBoy2 wrote: do i have to be famous to get a jar?No, you have to be a woman.
Women have more uses for them.
The best thing about working in a pub is that you can leave work drunk.
At 8/28/09 06:49 AM, Jin wrote:At 8/28/09 06:42 AM, CybexALT wrote: i=0;If the array is full, you'll get an index out of bounds error.
while(inventory[i]!=""){
i++
}
inventory[i] = "apple";
Yeah, true. I guess your way works better.
Yes, that would work, but it would take ages to type out and difficult to add new inventory spaces.
First of all, it'd makeit easier for you if you used if else statements. i.e instead of:
if(a==""){
// case1
}
if(a!=""){
// case2
}
you can use:
if(a==""){
// case1
}else{
// case2
}
But a much better way would be to use arrays. I haven't used AS in years, so I can't tell you the exact notation, but advise you look up a tutorial for them. Anyway, if you make an array called 'inventory' for example which has the same number of elements as you want there to be spaces in the inventory, then you can use a simple while loop to check to see the first empty slot. If you don't know about while loops, look up a tutorial on them too. Anyway, just to help you out a bit, the while loop would end up looking something like this.
i=0;
while(inventory[i]!=""){
i++
}
inventory[i] = "apple";
If you don't get how this code works after looking at tutorials on arrays and while loops, i can explain further.
If theres one sport that I actually like watching, its fmx. I've been watching red bull x-fighters on dave, and the stuff they do is actually insane!!!
At 8/27/09 03:58 PM, PowersClan wrote:At 8/27/09 02:04 PM, BasV wrote: gtahuh?
What sort of advice do you want? We can't really say anything except to look at how other games have done it, and try it for yourself. We can give you feedback on stuff you've done, but other than that its kinda all down to you.
At 8/27/09 03:49 PM, Saza wrote: YOU CANT PASS THE BALL FORWARD!
LETS ALL USE A MASSIVE FIELD FOR NOTHING
LETS HAVE A SMALL BREAK AFTER ANYTHING INTERESTING HAPPENS.
At 8/27/09 05:16 AM, GustTheASGuy wrote: I don't think it's an entirely bad idea, as long as he's willing to take the time to really polish it up. Although this must also apply to the programming of the game, you need to polish the feel too.
Yeah, but that involves changing the programming. If you want to end up with anything worth re-releasing, the programming has to be worked on as much as the art does.
http://people.uncw.edu/tompkinsj/112/Fla shActionScript/keyCodes.htm
At 8/26/09 04:41 PM, Apple-Juice wrote: As stated, that's just an offer, it is negotiable and this is not a trick to sponsors. Players may (and have) love games which are exactly the same as other games just with upgraded graphics.
I understand what you mean, but it's kind of not true. People don't like a game which is exactly the same as another game. Sure, people like remakes of popular games, with extra features added, but they don't want to see the same game with different graphics.
Sponsors are only in it for the money, if people play the game, they get it. That's all that matters.
Thats just wrong. Sponsors aren't just in it for the money. And even if they are, my point still holds. Sponsors are going to be pretty pissed off, if they sponsor your game, and then you re-release it with different graphics and sell it to a different sponsor. When someone sponsors a game, they are pretty much buying the rights to have their brand put over any release of said game. You are trying to find a loop hole such that you can sell it to multiple sponsors, which although could work, is just greedy and immoral.
It sounds to me like you as an individual want to make a game without all the difficulty of actually programming it. If this is the case, team up with a programmer and together create something original and actually deserving of the money you're trying to get.Yes I am, but most of the time an actionscripter will not follow through.
Well thats an issue that you need to sort out with whoever you agree to work with.
rip off would mean i had taken it with out their permission, and credit is still split 50/50, it's the money that would be adjusted. So i will be advertising and i will be paying.
A rip off means its a bad deal. If credit is distributed 50/50 and money is distributed 30/70, then you've got your money:credit ratio all fucked up.
I'm sure you wouldn't be ripping on some one who just made a game with the exact game play as another one if they re-wrote the code. The only was this is different is that im not making the AS'er do work.
On the contrary, I would. If someone copies a game completely apart from graphics, and makes money off it, they're effectively making money off of the original creator.
Imagine you're a game sponsor for a second. Imagine someone comes to you with a really good game and you give them loads of money to have an advert for your product at the start of their game. Lets say this game becomes really popular and you start getting loads of hits for your website. Then all of a sudden, another game is released. It is exactly the same game, made by the same people, but with different graphics and sponsored by someone else. Now, half the people that were playing the game you sponsored are playing that game instead and seeing the other sponsor's logo. Don't even pretend you would't be pissed off at that.
I know your example is far less extreme, but the principle is still there.
I'm not trying to tell you what to do, just giving my opinion. And my opinion is that if you want money, get a job and stop trying to find an easy way out.
What you're proposing is immoral and a step down for the flash community. You're basically asking programmers to sell-out as if its a good thing, as well as trying to trick sponsors into sponsoring the same game twice. And on top of this, you're asking for a 70% cut! Its just ridiculous.
It sounds to me like you as an individual want to make a game without all the difficulty of actually programming it. If this is the case, team up with a programmer and together create something original and actually deserving of the money you're trying to get.
Anyone would be a fool to let you rip-off their flash game and let you take most of the credit for it.
Sorry to ruin your day jmtb, but I'm pregnant and its yours!!!
Nah, I'm just kidding!!!!!! Happy Birthday!
At 8/25/09 10:41 PM, ShadowX123 wrote: can some1 tell me how i can make 1 cause iam a nooby which mean iam new
What's a flash port?
Nothings wrong with the code. You'll have to be more specific if you want help. What does the variable atk do, and what is _root.win? Also, what is in frame "next"?
At 8/25/09 12:20 PM, jmtb02 wrote: If you read it from a sponsor's perspective, its like a pitch. They are going to play it about a minute and decide if they like it or not before moving onto one of the hundreds of other games. Something has to catch them quick and things need to be right.
I think what jmtb is trying to say is that it needs boobs.
At 8/24/09 04:20 PM, Cooliam wrote:At 8/24/09 04:03 PM, ImpotentBoy2 wrote:style - looks quite alikeAt 8/24/09 03:58 PM, Cooliam wrote: how is it unoriginaldrawing style and "story" is basically the madness series.
story - no, mine is not about a guy called hank, killing a sheriff then killing jesus and a clown and smiths and zombies and all that, mine is a ninja
You can't try and claim the "story" is original. It seems to look as if it will prgress into a guy killing loads of people in a madness style way. It's definately unoriginal, but I don't think thats a bad thing. Its good to sometimes do projects purely to concentrate on animation skill, and a good way of doing this is trying out other peoples 'styles' which you've seemed to do alright. The only thing is, it seems to go too slow.
Yeah, as andrescamilo demonstrated, you're just missing the _root.
Without that flash will look for the array inside the button, but if in actual fact the array is on the main timeline, you'll need to tell it to look there with _root.
Similarly, if the array is in a movieclip with instance name "mc1", you'll need to tell it to look there with _root.mc1.fname[0];
Haha, also.
I bought three packets of crisps and a cake at the supermarket
translates to
Potato chips and three supermarkets, two or three one one one one one one one one one one one one one one one one one one one Packet cake
I went to the park and fed my dog biscuits.
is translated to
I park, I was given a dog biscuit.
At 8/24/09 02:15 PM, Luis wrote: I had a thought that crossed my mind just now and i was interested in reading everyones opinions.
Would you marry someone who is in the same line of work as you?
In general, yes I would. But as I'm doing a maths degree, i would hope not.
This is the right forum.
As for answering the question, you're first going to want to be able to detect when the character is up against a wall. You can do this with a simple hitTest. After that, you need to know what side of the wall it is on. You can easily do this by comparing registry points if needed. Once you've coded for it to be able to detect when you are on a wall, and know which side you're on, you should make it so that if you jump and press the required direction key, then it jumps again.
At 8/24/09 12:09 PM, zero579911 wrote: On topic: And i just like what, learned AS2 a month ago. And not even experienced at arrays or anything like that.
So if i can't fix this problem, then this tutorial can't help me :(. Even tho it has tons of Tutorials, it's only AS1 -.-
So can anyone here make a simple tutorial IN AS2? And not AS1.
Thx.
I'd say your best option is to look at some array tutorials. Even if that is in AS1, all the arrays stuff still holds, and the logic behind everything. Use the AS knowledge you have along with the principles used here for arrays and it should help.
At 8/24/09 07:01 AM, knugen wrote: Perhaps technically it will be a real number, it might however not have decimals and therefore a comparison with a specific integer still returns true.
Yeah, I was just trying to say that integers are real numbers.
At 8/24/09 06:32 AM, knugen wrote: Math.random() * x will most likely give you a real number, meaning that it has decimals, and therefore it will very rarely equal an integer. Use Math.round(), Math.floor(), and Math.ceil() to round the number for comparisons with integers.
Math.random()*x will always give you a real number.

