Recent posts by 422537 on Kongregate

Flag Post

Topic: Game Programming / x,y coordinates

Thanks. Almost forgot it needs to be in an enterFrameHandler

 
Flag Post

Topic: Game Programming / x,y coordinates

How could I go about outputting or tracing the mouses x and y coordinates? I am trying to get a similar result to this. (as shown in the top right corner in this game)

http://www.kongregate.com/games/monsterkillu/an-epic-minimal-adventure

 
Flag Post

Topic: Collaborations / free video game music

You should see if you can find a way to show your music, where people don’t have to sign up for myspace to hear it.

 
Flag Post

Topic: Game Programming / Gaze Framework - first sneak peek

This looks really cool. I hope you finish it.

 
Flag Post

Topic: Game Programming / Actionscript 3.0 X Y coordinates

Thanks guys.

 
Flag Post

Topic: Game Programming / Actionscript 3.0 X Y coordinates

Ok thanks. So what would the word be for tracing the cursor coordinates?

 
Flag Post

Topic: Game Programming / Actionscript 3.0 X Y coordinates

Hi,

Does anybody know a directive for displaying x and y coordinates on the stage or in the output window?

 
Flag Post

Topic: Game Programming / void data type

Originally posted by UnknownGuardian:

No, not at all. That info was mainly just stated cause it was cool. I tried to avoid answering the question since I posted that information (thus confusing you anyways I guess).



I think I’ll try here.

Void doesn’t return a value:

public function moveCarFoward():void {
   y += 5;
}

Other types (example uses Number) return a value:

public function getRemainingFuel():Number {
  return _remainingFuel;
}

For the first, we want to tell a car to move forward. We don’t really need to know anything about the car, after it moved, for that method. Hence, we don’t have to return anything (:void). However, for the second, we are asking how much fuel does the car have. So we need to get a value. We get this value by returning it in a function. The function has a :Number type at the end, and has the statement return _remainingFuel; in it.

Oh right that makes sense. I guess I just hadn’t used functions in that way so the whole value return thing confused me. Thanks.

Originally posted by NineFiveThree:
Originally posted by 422537:

Hi,

Does it mean it’s assigned to methods that don’t return a value to a variable?

It’s not necessarily returned to a variable, could also be another function, operator, etc…
But if it’s a void function, you cannot do that, because – well – there’s nothing returned.

Right of course. I guess I would have naturally acknowledged this sooner or later but I can’t stand working with concepts that I don’t understand so I had to ask. Thanks.

 
Flag Post

Topic: Game Programming / void data type

Ok I think I kinda get it. if it’s similar to the == operator, then it’s essentially saying that the directives contained within that method are equal to it. So next time the method is called on it’s own, it’s calling everything that was contained within it because they are one and the same i.e identical in information? That makes sense I think.

 
Flag Post

Topic: Game Programming / void data type

Hi,

I often hear people say that the void data type is used for methods that don’t return a value, however that sounds pretty vague. A value for what? Does it mean it’s assigned to methods that don’t return a value to a variable?

Event if that was the case, I’m failing to see the logic behind their use at all. Can someone please clear this up for me?

 
Flag Post

Topic: Kongregate / How do you get sponsored by Kongregate

I thought recoil was pretty good: http://www.kongregate.com/games/mirosurabu/recoil-1-3-noobs-edition

 
Flag Post

Topic: Kongregate / How do you get sponsored by Kongregate

The game might need more polishing. It could do with it. Mainly graphics.

 
Flag Post

Topic: Serious Discussion / Practicing Math in the Classroom

Personally I think his arrogance and insults are hilarious.

 
Flag Post

Topic: Serious Discussion / Practicing Math in the Classroom

Personally I don’t hate math I’ve just never been good at it. It seems that I needed things explained to me a bit more than the average candidate. Unfortunately it seems that teachers misread this as meaning I have a low level IQ and need to be in a lower level class set. I’m sure this has probably been similar for others. But I’m actually quite fascinated by maths and wish I didn’t need things explained to me so much during secondary/high school, because now I find myself interested in most of the compulsory subjects I struggled learning back then but, I have very little foundation to build upon.

However, I did notice a dramatic shift of perspective and understanding when I had things explained to me one on one. When it was getting close to my final Maths exams, I would pay a visit to my Maths teacher’s classroom at the end of the school day to get things directly explained to me. Maths seemed a lot easier than I had originally thought when I took this approach, my only problem now was memorizing formulas and methods to solving equations. I didn’t do great in my exams as I only got to get these things explained to me a few times but I believe I did much better than I would have without taking this approach.

1) So personally I would advise to spend short one to one periods (when possible) with the students that appear less able in the class. To find out whether they really are less able or are just struggling to understand your phonetic explanation of the mathematical formula to given problems.

2) Also I think it may be very beneficial to emphasize the importance to the class that they understand what you just explained or taught, before moving on with a lesson. And then like you said with your second question – if you anticipate or suspect particular students are not quite getting it, ask them directly if they got it or not. If you get the vibe that they’re getting it, I guess it’s all good. If not, you could always try a different approach to explaining a particular equation or something.

3) Personally I’ve always found examples and scenarios useful when trying to understand something.

 
Flag Post

Topic: Off-topic / What will you do at 12/12/12?

Go to bed.

 
Flag Post

Topic: Off-topic / Unfortunate accidents at home.

Originally posted by denamo:

My existence is pretty unfortunate if i say so myself.

You know how to make pancakes. Seems like your existence is pretty fortunate after all.

 
Flag Post

Topic: Off-topic / So you're stranded on an island

The red guy from Cow and Chicken.

 

Topic: Serious Discussion / Are you a good person?

This post has been removed by an administrator or moderator
 
Flag Post

Topic: Game Programming / GiTD [#27] Entries and Discussion

ah yes of course, that makes sense.

 
Flag Post

Topic: Game Programming / GiTD [#27] Entries and Discussion

When should we be expecting the theme?

 
Flag Post

Topic: Game Programming / noob question

Thanks for all the feedback, I’ll take the advice.

 
Flag Post

Topic: Game Programming / noob question

fair enough, I’ll take your advice. Seems to be the way everyone else does it anyway.

 
Flag Post

Topic: Game Programming / noob question

I’d rather just work in one file rather than multiple.

 
Flag Post

Topic: Game Programming / noob question

Can I keep all my Packages and Classes in one AS file instead of creating an AS file for each Class?

 
Flag Post

Topic: Game Programming / Any good AS3 Tutorials?

Oh my bad. If you want a game tutorial, this is a pretty good quality one: http://www.youtube.com/playlist?list=PL5A9B8F405B31823A&feature=plcp