Be a Supporter!
Response to: I want to learn Java Programming Posted December 17th, 2013 in Programming

At 12/15/13 03:18 PM, Justemon wrote: Please help, I have tried time and time again over the course of a year to try and learn java game programming. I know the basics of java from thenewboston, but his game development tutorial is unfinished. I have tried others such as eddie vanhalen's tutorials with libgdx, I couldn't get it to install. I tried other tutorials on youtube but I couldn't find any that I could understand. Do you have any suggestions? Please I'm absolutely desperate. Ever since I was a kid I wanted to learn how to program games and I don't want to have come this far just to run into another wall. Thank you to any that answer.

i want a book for java game programing too if you found one please let me know..but if you want to learn java programing the best book i found is "Head first java" is an excellent book it explains very well you just need to found another book to for the exercise that helps you a lot for practicing..I am learning from that book so for when i want to start whit game programing i will know what im doing because most game programing books assume that you know how to program.. but one excelent book for gme programing that i found is "Game design whit actionScript 3" is for actionscript and flash but i think is a excelent one

Response to: What are Good Books to Get? Posted December 11th, 2013 in Programming

At 11/24/13 04:58 PM, DCzerkies42 wrote: What are some good books to read that could get me to understand how to program games overall, and through flash any recommendations????

the best of book i found thaht is for absolute begginers is "game design whit actiosnScript 3 ". Is very easy to read and understand

Response to: I have no idea what I'm doing. Posted August 21st, 2012 in Game Development

if you want to learn aboute making games in flash here is a exelnt book that teach me a lot and that i understand
"Game Design whit actionscript 3 second edition"

or ask what do you need so i try to help you
sorry for my english i speak spanish haha

Response to: accesing stage from another class Posted July 4th, 2012 in Game Development

thanks!


first of all sorry for my english is not my native lenguaje..i need to acces to the stage from another class that is not the Main class

//this is my main class
package
{
import flash.display.Sprite;

[SWF(width="550", height="400", backgroundColor="#FFFFFF", frameRate="60")]

public class EJ_MonsterMayhem extends Sprite
{
private var _nivelUno:NivelUno;

public function EJ_MonsterMayhem()
{
_nivelUno = new NivelUno(stage);
stage.addChild(_nivelUno)
}
}
}

//and this is the _nivelUno class
package
{
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.display.Stage;
import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.ui.Keyboard;

public class NivelUno extends Sprite
{
private var _background:Background = new Background();
private var _personaje:Personaje = new Personaje();
private var _monstruo:Monstruo = new Monstruo();

public var _stage:Stage = new Stage()

public function NivelUno(stage:Object)
{
_stage = stage;
this.addEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
}

private function addedToStageHandler(event:Event):void
{
this.addChild(_background);
this.addChild(_personaje);
setUpEventListeners();
this.removeEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
}

private function setUpEventListeners():void
{
_stage.addEventListner(KeyboardEvent.KEY_DOWN, keyDownHandler);
_stage.addEventListener(KeyboardEvent.KEY_UP, keyUpHandler);

//para mi que este event no se agrega al stage xq hace cosas diferentes en otra clase
this.addEventListener(Event.ENTER_FRAME, enterFrameHandler);
}

private function enterFrameHandler(event:Event):void
{
_personaje.x += _personaje.vx;
_personaje.y += _personaje.vy;
}

private function keyDownHandler(event:KeyboardEvent):void
{
if(event.keyCode == Keyboard.UP)
{
_personaje.vy = -5
}
else if(event.keyCode == Keyboard.DOWN)
{
_personaje.vy = 5
}

if(event.keyCode == Keyboard.LEFT)
{
_personaje.vx = -5
}
else if(event.keyCode == Keyboard.RIGHT)
{
_personaje.vx = 5
}
}

private function keyUpHandler(event:KeyboardEvent):void
{
if(event.keyCode == Keyboard.RIGHT || event.keyCode == Keyboard.LEFT)
{
_personaje.vx = 0;
}

if (event.keyCode == Keyboard.UP || event.keyCode == Keyboard.DOWN)
{
_personaje.vy = 0;
}
}

}
}

pleaseeeee can you tell me what im doing wrong?