|
362
|
Developer / Technical / Re: Mouse click on whole movie, not just single movie clip
|
on: November 10, 2010, 01:44:45 PM
|
okay, i've added mouse_down event listener in my document class (stage.eventliste...) and now i control shooting via dc > levelc > playerc, everything fine. now i'm having trouble finding out which event handles mouse_release? i'm looking through adobe's documents about the subject, but can't find anything relevant, or am i missing something? i have it so that when player holds mouse button down i change fireButton to true and when he releases the button i want fireButton to change to false (like keyboard events have key_up). edit: omg, i feel so stupid: MOUSE_UP Constant public static const MOUSE_UP:String = "mouseUp"
Language Version : ActionScript 3.0 Runtime Versions : AIR 1.0, Flash Player 9
Defines the value of the type property of a mouseUp event object.
|
|
|
|
|
364
|
Developer / Technical / Mouse click on whole movie, not just single movie clip
|
on: November 09, 2010, 01:56:26 PM
|
This time I'm using CS4. Anyway my "game" is current made out of three layers: -- main game control-- press enter to start -- level -- -- player -- main movie clip creates level movie clip in enter press and level then creates player movie clip (32x32 circle). now i have press mouse event on level mc like this: public function Level():void { ... addEventListener(MouseEvent.MOUSE_DOWN, buttonPressed); } public function buttonPressed(e:MouseEvent):void { create bullet stuff } it creates bullet and everything, BUT only if i click on player mc. how would i make it react on mouse press anywhere on the LEVEL layer (this is bugging me, as everything happens in a code of level mc).
|
|
|
|
|
365
|
Player / Games / Re: League of Legends
|
on: November 04, 2010, 04:54:00 AM
|
i like league exactly because it isnt true to the feeling of dota
+over 9000 it's similar to dota in terms of gameplay, but still different. and that's awesome.
|
|
|
|
|
370
|
Feedback / DevLogs / Re: Invaders: Corruption
|
on: October 28, 2010, 08:35:53 AM
|
holy shit, i read through the whole topic on work today (yea, totally counterproductive i know) and my fingers really started to itch when lookin over screens and videos and man, this game is sweeeeeet, when i finally got the chance to play it. my seed was holyshit, now i'll try something different, to see if i notice any changes in randomness  anyway, it ran smooth, fluid, it looks awesome, it sounds awesome and it's awesome in general. can't wait to play that data defend game mode great game!
|
|
|
|
|
372
|
Feedback / DevLogs / Re: Platform Explorer [simple platforming game]
|
on: October 21, 2010, 12:02:00 PM
|
I have always beleived that your game have tons of potential, just missing good art execution:   OH MY GOD you guys seriously need to team up! edit: eh, didn't read the post about game being completed and stuff. anyway, it works smoothly on my laptop, and difficulty isn't that hard. game loaded a bit slow, but that's my lousy connection, so no biggies here imo.
|
|
|
|
|
379
|
Player / General / Re: A scene in which the weather changes abruptly.
|
on: October 04, 2010, 03:15:49 AM
|
In cold weather, you can put on as many clothes as you need to be nice and warm. And, failing that, you can stay inside with a nice fire or some warm heaters and a cup of hot chocolate/coffee/tea/whatever. Huddle around a comforting flame with your loved ones and sing songs to warm your spirits.
this is absolutely true. still i prefer fall with leaves falling off, red / green / yellow trees and stuff, like 15-20 degrees (celsius obviously) and all that, not windy, rain, 5 degrees all the freaking time etc in the beginning of october what the-
|
|
|
|
|
380
|
Player / General / Re: What's your fave console?
|
on: October 04, 2010, 03:09:13 AM
|
|
so i came in this topic, about consoles, armed with all kinds of nonsensical facts and numbers about xbox360, ready to pwn some ps3 owners and then see this and go "wtf is this i dont even"
|
|
|
|
|