Jump to content


Snopel

Member Since 03 Jun 2010
Offline Last Active Oct 23 2012 10:26 PM

Posts I've Made

In Topic: Not a Good Programmer

23 October 2012 - 04:53 AM

Create Event
player_Direction= 0 //0 for left and 1 for right

Step Event
if (keyboard_check(ord("A"))) {

         Movement Code //whatever you may be using
         sprite_index="left walking animation";
         player_Direction=0;

         } else if (keyboard_check(ord("D"))) {

         Movement Code //whatever you may be using
         sprite_index="right walking animation";
         player_Direction=1;

         } else if (keyboard_check(ord("W"))) {

         Jump Code //whatever you may be using

         If player_Direction=0 {
                sprite_index="left jumping animation"
         } else if player_Direction=1 {
                sprite_index="right jumping animation";
         }

         } else {

         If player_Direction=0 {
                sprite_index="left Standing animation"
         } else if player_Direction=1 {
                sprite_index="right standing animation"

         }
}




Sorry if this is either wrong or looks odd as I'm doing it both off memory and on my iPod so formatting might be wrong

In Topic: Easy Tutorials On Building and resource collection

02 May 2011 - 12:50 PM

thanks, Still if anyone wants to know how to do something else I will make a tutorial for it.

In Topic: Easy Tutorials On Building and resource collection

30 April 2011 - 02:59 AM

Your welcome, I'm glad to see that people find my tutorials useful :rolleyes:

In Topic: Easy Tutorials On Building and resource collection

18 April 2011 - 11:31 PM

I used your tutorial as the basis to create my game for my thesis. Thanks very much it was very helpful and exactly what I wanted. You can view it at http://www.yoyogames.com/games/171562

Thanks



I'm happy to be of help and your game looks great!
One thing though when you hit the load button and type in a wrong username the load button moves to the left.

In Topic: Easy Tutorials On Building and resource collection

07 April 2011 - 10:34 PM

!!Update!!

-Added an rts extension