Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Ryan Timothy B

#821
The Rumpus Room / Re: *Guess the Movie Title*
Mon 23/04/2012 06:19:46
Quote from: Iceboty V7000a on Mon 23/04/2012 02:15:01
Meet the Applegates?

lol Yup. That's the movie. I didn't want to post any scenes that would give away too much, like the praying mantis shots of the family.

I downloaded the movie just for posting these images and decided to watch it again. I can't believe how terrible it is compared to what I remember it being when I was like 7. Very corny. I also didn't remember that movies were as sexual back in 1990. For instance a quote from one of the guys "She needs her temperature taken with an all beef thermometer". Not that I have any issues with it, I just never would have expected the 90's movies to have more sexual innuendo/jokes than today's movies. I guess I was just too young to know what they were talking about.  :=
#822
Quote from: Tabata on Sun 22/04/2012 21:14:30
healing hiccup

Really? I've never heard of anyone asking for water when they have the hiccups. I've always heard the two: "hold your breath" or "have someone scare you" (which the latter explains the shotgun working).
#823
Armageddon, I don't get it... what am I missing?
#824
The Rumpus Room / Re: *Guess the Movie Title*
Sun 22/04/2012 18:54:48
Here's another screenshot:



This falls under exactly the same weirdness as LimpingFish's movie. lol Yes, what you're thinking is correct, she just gave birth to that thing.
#825
Are you still anti-struct? I remember many months ago you were being taught how to use a struct to make it universal between any character without having to deal with:
snakeHealth = 100;
scorpionHealth = 200;

Instead you could simply use:
mob[eMobSnake].Health = 100;
mob[eMobScorpion].Health = 200;

etc. etc. Of course that's a very basic way of showing what you could do with a struct for your purposes.
I remember you turning it down saying your method was better. I might be mistaken though.
#826
The Rumpus Room / Re: *Guess the Movie Title*
Sun 22/04/2012 00:36:32
Haha nope.


Edit: I'll put it on this post because I don't like it spreading to another page.
#827
The Rumpus Room / Re: *Guess the Movie Title*
Sat 21/04/2012 23:36:31
Alright let's keep with the same style of old and odd movies.

#828
What everyone is basically saying is: learn the scripting before you attempt to make the advanced games.

We're not saying your games are shit. We're not saying you have no business making them. We're saying you need to learn proper coding to make something as advanced as an RPG in AGS (or any engine). That's all we're saying.
#829
The Rumpus Room / Re: *Guess the Movie Title*
Sat 21/04/2012 19:28:47
That wasn't so hard with that 1981 and British hints:

Inseminoid (1981)

Even found the YouTube video featuring the mysterious green goo and whatever the fleshy thing is.
#830
It kinda throws that impression that it was cutout from a white background from someone who doesn't know anything about image editing. Otherwise, like I said, they're perfect and I would definitely welcome them.

The reason I've disliked these roger smileys so much is the orange/green coloring to them. It's very 90's looking. lol
#831
Those are by far the best ones yet. I'm just not sure about the white outline though.
#832
The Rumpus Room / Re: *Guess the Movie Title*
Sat 21/04/2012 05:37:19
Is it:  Alien: Resurrection?

I did some research and came up with these that kinda answer the one screenshot and your two clues.

There's a robot in it. Which explains the hand picture. There's also a "human/Alien hybrid clone"? I have no idea if it's British. It wasn't directed by Ridley Scott. It has an Alien in it. It also has "Alien worm/lobster sex" as it places eggs in the mouth of this guy:



I may have seen this movie years ago, but I certainly don't remember it.
#833
Edited: Problem has been solved. Solution below.

Has anyone experienced this issue with Twitter on Firefox?



It started several months ago and it's the only site that has this problem. I got tired of trying to figure it out months ago that I ended up downloading Chrome. I decided to move back to Firefox because I still enjoy it better.

The only time it doesn't do this is when I restart Firefox with all Add Ons Disabled. I've gone through and disabled every single add on manually, but it still only only works properly when it's in safe mode. I've reinstalled it twice. I've deleted everything that I had with it. Cookies, Cache, Bookmarks. Everything.

What the hell is wrong with it? I've done a virus scan with Avast! but it hasn't found anything. It's seriously getting me very angry. I want to reinstall windows, if it wasn't such a pain in the ass. Argh.


Edit: I actually thought about looking for the Firefox forum and signed up for an account. Looks like someone else has the same problem. I'm going to read the solutions offered to him and see if it'll help.

Edit2: Damn that's priceless. I discovered the issue is hardware related using their advice. I turned off: Use hardware acceleration when available.
Twitter works like a charm.  Sorry guys!
#834
Site & Forum Reports / Re: Forum Restructuring
Fri 20/04/2012 18:10:47
I didn't realize it could be done on a moderator level. Just in case you didn't know what I was talking about, I meant the rules that show up between the Subject and Message within the Message Icon when you're posting a new thread.
#835
The Rumpus Room / Re: *Guess the Movie Title*
Fri 20/04/2012 17:31:20
Just because we don't know it, don't just give up and give away the answer.
You could always say who one of the main characters are and people can guess from that. Or the director. etc.
#836
Site & Forum Reports / Re: Forum Restructuring
Fri 20/04/2012 17:03:01
Don't forget to add the useful tips when you click to start a new post in the recruitment section.

Like:
Read the BOARD RULES on recruitment.
Subject Example: Bovine Intrusion - Looking for: Animators, Musician
Don't forget to edit your post changing the Subject to add: [Position Filled]  to let the moderators know to lock the thread.

etc..
#837
Good points. I'm not sure which route I'm willing to take, perhaps I'll keep the external ones for the "good practice" reasons.
#838
They're all being made slightly too small. And as Chicky mentioned, I agree on keeping the color counts low because half of them I have a hard time recognizing.

I definitely don't see that as Limey other than the green.
#839
Alright, that's mainly what I figured but I kept wondering what's the difference? Using a getter/setter within the class or as the public interface, you'd think both would be just as slow and calling the variable itself would be faster.
Ie: AccelerometerHandler.accelX vs AccelerometerHandler.getExcelX()

But I have no idea what the eclipse compiler does. As far as I know it removes the use of the public getter/setter function and makes it direct upon compile. I doubt it.

To me it just looks like bad practice, but I've never taken any programming classes since high school and I was never taught proper coding methods. On a mobile device I can't afford to hog the CPU.
#840
General Discussion / Java on Android
Thu 19/04/2012 04:48:55
So I'm currently learning programming for the AndroidOS when I ran into some contradictions between the author of the book I'm reading, what he says and then does in his own code.

He says in a quick best practices summary at the end of the chapter:
QuoteBest Practices
[..]  You should maybe avoid getters and setters as well.


I did a little research and found this on the Android Developer website on getters and setters:

QuoteAvoid Internal Getters/Setters

In native languages like C++ it's common practice to use getters (e.g. i = getCount()) instead of accessing the field directly (i = mCount). This is an excellent habit for C++, because the compiler can usually inline the access, and if you need to restrict or debug field access you can add the code at any time.

On Android, this is a bad idea. Virtual method calls are expensive, much more so than instance field lookups. It's reasonable to follow common object-oriented programming practices and have getters and setters in the public interface, but within a class you should always access fields directly.

Without a JIT, direct field access is about 3x faster than invoking a trivial getter. With the JIT (where direct field access is as cheap as accessing a local), direct field access is about 7x faster than invoking a trivial getter. This is true in Froyo, but will improve in the future when the JIT inlines getter methods.



Then a lot of his code in the book uses getters and setters for no apparent reason (I'm not done the book yet - so perhaps he adds more to these getters and setters throughout but I doubt it)?

Here's an example:

Code: ags
public class AccelerometerHandler implements SensorEventListener {
	float accelX;
	float accelY;
	float accelZ;
	
        // [.. removed nonessential code that took the accelerometer changes and values and set them to the accelXYZ variables ..]
	
	public float getAccelX()
	{
		return accelX;
	}
	
	public float getAccelY()
	{
		return accelY;
	}
	
	public float getAccelZ()
	{
		return accelZ;
	}
}


I don't want to learn bad habits from someone who is supposed to be teaching me not to do something a certain way and then does it himself.

So why is it he suggests not to use getters and setters then he uses them all over his code? Just to encapsulate his code? To keep things looking neat for those learning from him? Should I change these to public variables and ditch the getters and setters he has in all his code examples?

Edit: Or does internal mean from within the class? Does it still apply in this instance?
SMF spam blocked by CleanTalk