S_I
August 12th, 2008, 04:57 AM
First let me introduce myself as not a great programmer, I am an artist that wants to create a fun game that highlights my skills. I have had a flash programming class a year ago and have been working with notes and some tutorials.
I started out with the top down room and the enemy moving in random directions with a trigger at the exit that after a hit test, had the player enter at an x_y coordinate in the next frame. Worked great.
I then created the melee frame and had the player enter that after a collision with the enemy. Once the enemy dies in the melee the player is sent back to the top down frame. Worked OK, except I couldn't remove the enemy from the room so I created another frame with the same background as the top down but without the enemy. The next problem is the exit trigger. It works fine if you don't enter the melee frame but if you enter the melee frame it will just send you to the x_y coordinates of the same frame rather than the next. I made sure the frame number is the correct one.
Is this type of script doable in AS2?
I thought it was going to be a simple script. I have seen similar ideas in games such as DragonFable and Murloc RPG. I intend on just leaving it as a dungeon romp without all the xp and level gaining of the mentioned games. I don't want to make the game-play longer than half an hour.
Thanks if you can help.
S_I
I started out with the top down room and the enemy moving in random directions with a trigger at the exit that after a hit test, had the player enter at an x_y coordinate in the next frame. Worked great.
I then created the melee frame and had the player enter that after a collision with the enemy. Once the enemy dies in the melee the player is sent back to the top down frame. Worked OK, except I couldn't remove the enemy from the room so I created another frame with the same background as the top down but without the enemy. The next problem is the exit trigger. It works fine if you don't enter the melee frame but if you enter the melee frame it will just send you to the x_y coordinates of the same frame rather than the next. I made sure the frame number is the correct one.
Is this type of script doable in AS2?
I thought it was going to be a simple script. I have seen similar ideas in games such as DragonFable and Murloc RPG. I intend on just leaving it as a dungeon romp without all the xp and level gaining of the mentioned games. I don't want to make the game-play longer than half an hour.
Thanks if you can help.
S_I