Recent posts by lautaro52 on Kongregate

Subscribe to Recent posts by lautaro52 on Kongregate

avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / New Project - Need Some Help

Like @feartehstickman said, why different swf and other thing, don’t try to do a rpg in the first project or test, try to find a great class of actionscript and start with something more simple.

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Is sometimes good code on timeline?

Hi guys, i want to know if code on timeline is good. I use the timeline to do some tests but in a project is good? In projects i do i just write stops or gotoAndPlays and all the other code on classes. Is bad what i’m doing?

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Problem with Battle Characters Display

Hi developers, my problem is the next: I want to do a RPG game, i have the characters, the menus, the story, the world-map but i have to do a battle system.
I know how to do a battle system but i don’t know how to display the enemies.
I was thinking to make a different keyframe in the timeline for each enemie but if i have 50 enemies i won’t do 50 keyframes because you will have to wait a lot in the preloader. Anyway, i was thinking in much more ways but they won’t work.

What i want is know how do you display your characters and know how give them actions. Thanks

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / [AS3] Virtual Pet Game

mmm but i think the players won’t cheat because the only thing this “realtime” mechanism will do is descrease the hungry and happiness of your Pet. Do you think is a good idea?

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / [AS3] Virtual Pet Game

Hello Kongregate! I want to do a virtual pet game, all good. But i want this game was like in realtime or something like that. In my mind i was planning do this:
create 3 vars: hours, minutes and seconds that will say, well obviously hours,minutes and seconds. Ok, the game will autosave before you leave and when you come back, the script will compare the hour you left and the hour you came. Already compared, the hungry of you pet will descrease. Example: You left the game at 10:30:51 with 0 Hungry, and you come back at 12:08:43 watching that your Pet’s hungry is.. 5. Now… is this a good way to do a “realtime” pet game or is there another way?

Sorry for my bad English and i hope this explanation is understandable.

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Flash Develop Having issues

Try to install Java 7, i think that’s the problem.

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Best places to learn AS3?

I think the Shootorial it’s the best place to start : http://www.kongregate.com/games/Kongregate/shootorial-1?acomplete=shootori . good luck!

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Right Click with Flash Player 11.2

I found in the web a source code of Right Click in the new flash player 11.2
See this link if you are interested:

http://www.emanueleferonato.com/2012/06/04/easily-handle-right-mouse-button-in-flash-movies/

I wanted to share it with the developers to help them with their games. Have a good day!

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Writing codes for Flash Develop

Another software for writing codes is Notepad ++.
Start with tutorials of Flash Develop if you have not experience with it.

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / On Achievements...

@Aesica, when the player start the game, you can do an option asking “Do you want global achievements or slot-specific achievements?”. If you don’t like this idea, it’s better global achievements, for my.

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / [AS3] Error 1061 (Solved)

The problem is solve, this is the good code:

package
{
import flash.display.MovieClip;
import flash.events.MouseEvent;

public class botoncito extends MovieClip
{
public function botoncito()
{
this.addEventListener(MouseEvent.CLICK, doaclick);
}
public function doaclick(mouseevent:MouseEvent):void{
this.gotoAndStop(2);
}
}

}

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / [AS3] Error 1061 (Solved)

jasonjie, the code still bad. But now there are 2 errors:
Error #1061: Call to a possibly undefined method GotoAndStop through a reference with static type Class.
Error #1061: Call to a possibly undefined method addEventListener through a reference with static type Class.
mmm… Is there any import flash for these errors?

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / [AS3] Error 1061 (Solved)

Hello! i am starting to use classes in as3, but i find an error in this code:
package {
import flash.events.MouseEvent;
import flash.display.MovieClip;

public class Main extends MovieClip{
public function clicky(MouseEvent){
botoncito.gotoAndStop(2);
}

public function Main() {
botoncito.addEventListener(MouseEvent.CLICK, clicky);
}

}

}

/i have in my stage a button called botoncito for actionscript.
/here is the error line:
public function Main() {

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Attack idea's...

You can add a pet, too, like a reinforcement.

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Attack idea's...

You can add Summons to some mages, a group skill (a skill where all the group are involved), Double attacks, Triple Attacks.
Here are some skill/magic names: Fire Strike, Luminara, Omega, Soul drain, Energy Evacuation.

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Flash Processing

I think 25 mb is high

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Kongregate / How can I report a cheater?

ok,thanks

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Good Dimensions

I recommend you 550 * 400 or 600 * 450.

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Where can I find free music for my game?

If you want loop, watch this page:
http://www.playonloop.com/

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Design / Good music composer?

If you want to create simple music, download Guitar Pro 5 or 6. But it isn’t very good.

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Kongregate / How can I report a cheater?

Or send a e-mail to Kongregate.
E-mail: inquiries@kongregate.com

Or contact them:
http://www.kongregate.com/feedbacks/new

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Dynamic text click counter for AS3

1- Do a dynamic text with an instance name. Example : texto
2- Do a button with other instance name. Example : buton
3- Open the actions window and write:

var anumber:Number = 0;

buton.addEventListener(MouseEvent.CLICK, counter);

function counter(MouseEvent){
anumber =+ 1; //or += 1
texto.text = anumber.toString();
}

// if you want delete the button function just write:
buton.removeEventListener(MouseEvent.CLICK, counter);

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Anti-Hack

Hello! If i submit a game to Kongregate, how i do to protect it from thieves who submit it to an other page of games?
-Is there a code for it?

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / Game monetisation

You can do an android game (for telephones) and submit in the Android Market or Play Store and sell it.

 
avatar for lautaro52 lautaro52 35 posts
Flag Post

Topic: Game Programming / AS3-Manipulate Scene 1 inside a MC.

Draco, the _root doesn’t work