AudioJungle

Posts by SimplyDo

688 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Lebanon
  • Sold between 5 000 and 10 000 dollars
SimplyDo says

The example below assumes you are using Main.as as your main/driver class

//create a new private and static variable
private static var _instance:Main;
//constructor
public function Main(){
         _instance=this;
}
//get function that returns an instance of main
public static function get instance():Main {
        return _instance;
}

Inside any class, you access the stage by using:

Main.instance.stage
688 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Lebanon
  • Sold between 5 000 and 10 000 dollars
SimplyDo says

few more years and you can drink !

then maybe google can forget about all those mad and strange searches

688 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Lebanon
  • Sold between 5 000 and 10 000 dollars
SimplyDo says

688 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Lebanon
  • Sold between 5 000 and 10 000 dollars
SimplyDo says
webworksusa said
did you solved your connection problem ? did you tried port forwarding from the router config ?

Yes I did, had to give port 80 superpowers in the firewall.

688 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Lebanon
  • Sold between 5 000 and 10 000 dollars
SimplyDo says
zefs said
SimplyDo said
zefs said
Hehe, indeed. Which android phone is it that you using?

HTC DESIRE HD .. Proud owner for almost a year. Bought it on day 1.

Which phone do u own?

I got the Galaxy S2, I really love its design. Both are great phones. Wish battery life was better though :p

Maybe the 2000mAh battery will help a bit.

Yes the only problem is the battery time. Once you adapt and manage it correctly it becomes perfect

688 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Lebanon
  • Sold between 5 000 and 10 000 dollars
SimplyDo says
FusionCore said
myjilson said
Great work dude! How did you do these games? which language? Can you tell us your story?
Hey, I use C# XNA . It’s an amazing platform to write on. To convert things to iOS and Android I use Monotouch and Monogame.

How are your games doing on android or iphone.

With these tools (Monotouch and Monogame) is performance maintained ?

688 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Lebanon
  • Sold between 5 000 and 10 000 dollars
SimplyDo says
bitfade said
SimplyDo said
I used to connect to .65 previously but i dont know how in the world did it change to .68
probably because dhcp server on your router didn’t renew the lease

probably.

688 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Lebanon
  • Sold between 5 000 and 10 000 dollars
SimplyDo says
zefs said
Hehe, indeed. Which android phone is it that you using?

HTC DESIRE HD .. Proud owner for almost a year. Bought it on day 1.

Which phone do u own?

688 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Lebanon
  • Sold between 5 000 and 10 000 dollars
SimplyDo says
zefs said
Noob :p

I used to connect to .65 previously but i dont know how in the world did it change to .68

good thing i discovered it :)

My friend, what matters the most is solving the problem that encounters you, No one knows everything ;)

688 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
  • Lebanon
  • Sold between 5 000 and 10 000 dollars
SimplyDo says

I can’t figure this out

I hava a class that represents a button, it consists of:

  • A back (another custom class)
  • A txt
  • A rectangle (hidden) above everything

I am applying a TOUCH _TAP event to an instance of this class.

When i tap on the button it works, however if the tap is above the text it doesnt register the tap.

The even listener is applied to the instance itself. mosueChildren can’t be applied

Am i forgetting anything? I need a work around.

I wanted to add the event to the hit sprite located inside the button above everything else however i have common touchbegin and touchend events registered to this button and other buttons(diffrent objects/classes)

by
by
by
by
by