Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - scott11164

#1
Wow that is perfect just got to make it turn based now and my battle scene will be complete baring the music and sound effects thank for the enormous help much appreciated
#2
That seems like a simpler way thankyou for your reply ill give it a try tonight when i get home and update this if i come across any problems
#3
Im new to this so i just thought that would be the the way to do it if i did want to have some sort of attack feature how would i go about doing it iv got a game on the local area i live and it could do with some sort of external file for each character on the game to have different attacks and with that each attack having a certain strength
#4
Hi this is my first post not sure if this should be in the advanced forum or not but here goes

what i am trying to do is make an adventure game where i have a player character that every now and again will have to battle through stages, the way i was going to do this is have an external text file for each of the characters with the name of the attack and the power of that attack, iv looked through some posts on the forum and had i look through the help files then give it my best shot but cant get it to work, here is my code please can some1 show me my amature errors ;-D;

Global Script
Code: ags
function Attack_OnClick(GUIControl *control, MouseButton button)
{
int number;
File *input = File.Open("ScottAttack.txt", eFileRead);
number = input.ReadInt(2);
input.Close(0);
}


Text File
Code: ags
# Scott-Attack
 Bite: 10
 Uppercut: 15
 Lowblow: 15
}


At the moment this seems like im biting more than i can chew but if any1 can help me script this right then my demo game will be near completion :)
SMF spam blocked by CleanTalk