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 - budsmoka

#1
YAY!!!

It is fixed.. I completely forgot to think about the fact that it was being repeatedly executed.  It works exactly how I intended now.

Thank you.
#2
My apologies for the double post. Here is the exact code from the game.

function repeatedly_execute_always()
{
  if(player.Animating == false)
  {
    if(player.View == 2)
    {
      player.LockView(1);
    }
   
  }
 
  if(IsKeyPressed(90) == true)
  {
   
   
    if(player.Loop == 1)
    {
   player.LockView(2);
   player.Animate(0, 4, eOnce, eNoBlock);
    }
   
   if(player.Loop == 2)
    {
   player.LockView(2);
   player.Animate(1, 4, eOnce, eNoBlock);
    }
  }
   
   
}

What i was talking about earlier is that if I change the player.loop == 1, and player.loop == 2 around then it works. but obviously its set to play the punch animation in the wrong direction if i change them..

So I tried changing the  - player.Animate(1, 4, eOnce, eNoBlock); parts around to fit the right animation in the right direction however when I do that it quits working again.
#3
Im not sure I completely understand the question.

The loop of the character im trying to detect is whichever loops its currently on like if the character is currently facing towards the right of the screen, its loop 1, if he is facing left all the left walking animations are set for loop 2.

There are no up or down movements.

all Im trying to do is find which direction is currently being faced it has to be either 1 or 2 because those are the only loops in the normal view.

I have noticed something very odd.

if i change these around

   if(cCharacter.Loop == 2)  #Should be the loop which faces left.

  if(cCharacter.Loop == 1)  #Should be the loop which faces right.

it works but when the punch animations play the go in the opposite direction that they are supposed to, so i tried changing the

cCharacter.Animate(1,4,norepeat Etc Etc bits around too to match the right directions, but for some reason when i change those around too it quits working again.   IM LOST

#4
Okay so basicly Im putting together a mortal kombat style fighter(snes version) Where you only move two directions. Each direction is on a different loop.

I got a second view with a couple of punching animations on it.

execute repeatedly looks something like this. (i know some of the syntax doesnt make sense, but its just to give you an idea since its a very short script you shouldnt have trouble.

If(KeyPressed == true)
{

  if(cCharacter.Loop == 1)  #Should be the loop which faces left.
{
    cCharacter.LockView(2);
   cCharacter.Animate(0,4,norepeat Etc Etc

}

 if(cCharacter.Loop == 2)  #Should be the loop which faces right.
{
    cCharacter.LockView(2);
   cCharacter.Animate(1,4,norepeat Etc Etc

}
}

Okay its something extremely similar, except with an additional if to tell when the animating is done, and to switch back to the normal view.

However for some reason it always comes back as loop 1(the facing left loop) Even when the loop that is really being used is 2 (The right loop)  So as you can see something isnt going as planned.

Any help would be greatly appreciated, and if this is too sloppy or something Im sure I can comeup with the exact codeI'm using, its just on another computer right now.

Thanks in advance.


#5
neither seems to help. Im thinking maybe my room size being so large has something to do with it.

Its odd its like the mouse.x and mouse.y are not capturing right, because sometimes it just moves in the oddest directions. Im gonna try making the bullet a character or something. I also found some old threads relating to bullets, its mostly over my head, but im gonna try some of the idea there.
#6
Okay, at the moment the script, and everything is on another pc, with me unable to get to it. So I will try and explain my problem as best as I can, and maybe someone has ran into something similar.

Okay so basicly I have a game with a flying saucer, your floating around space, and I have meteor objects that fly all around the place moving around in random spots.

Now I set up a hotspot that covers the entire room, and put for any look(Because in spaceship mode there will be no look only shoot!) to move another invisible object to right under the ship, then make it visible, then make it animate and move and pretty miuch "fire" at where the mouse was when it clicked.

However, and heres the problem.

When the object has to touch the flying saucer character to get to the x,y of the mouse it sometimes makes its own "creative" little routes. By going one way, then looping back another.

also at some spots of the screen even when the character sprite isnt in the way it will go in funky directions or not quite where it was supposed to.

Anyway I know thats vague, and Im trying to get the script on this pc as we speak. Any help you can offer is greatly appreciated.
#7
Critics' Lounge / Re: first sprite ever
Sat 15/01/2005 13:06:18
oops i forgot , i tried to draw legs but, they sucked , but if someone wants to make the walkcycles, they can feel free to modify him in anyway.
#8
Critics' Lounge / first sprite ever
Sat 15/01/2005 11:40:13
this is the first sprite ive ever made, and i zero artistic talent so i was wondering if someone could make a walkcycle for this character....

www.geocities.com/budsmoka2k/demon.gif
#9
i made this about 15 mins , its just a little game game, if youll notice the dialogue when you look at yahtzee brand it say's :
this was named after some self abosorbed prick, and then when you pick up the dynamite, it blows up and kills everyone ,
breaking the dont kill established characters rule.
#10
Completed Game Announcements / ron - end game
Fri 14/01/2005 16:26:03
this is my first completed game with ags , and it is a ron game.

i dont really know how to describe it , exept its a ron game and you play as davy... well anyway check it out.

get it here: www.geocities.com/budsmoka2k/ronend.zip
#11
alrigt just wanted to make sure, before i started making it then someone say hey "you cant do that you little whore" or something like that, anyway what i actually have in mind is a full length game,.....

say for example , you play as like 4 or 5 differnt ron characters you finish ones part of then game then, you take control of the next....

well anyway im gonna go start writing up a story, then dialogue , then ill work on cutscenes , interactions , and such , i should have a beta ready in a month or so..
#12
would anyone be pissed if i made a ron game?? , i half all the backgrounds ad characters and gui and stuff. but i wouldnt wont to make anyone made, if there no objections ill start writing a story..

#13
yeah im sure.... the Display i had right it , i capitalized the H and now everything works fine...
#14
well apparently "anything" as long as the first letters capitalized .... i swear that h is the only thing i changed and it made it work.
#15
 // script for hotspot1: Look at hotspot
Display("hello from the script.");   

okay  thats what i had then when i changed it to...

 
  // script for hotspot1: Look at hotspot
Display("Hello from the script.");   

just the h capitalized it work,,, i think i just realized i may be the dumbest person, on the planet..... anyway thanx , and ill try to make up for the stupid question by making a fun game.
 
#16
okay i have version 2.62 and i want to learn the scripting language , but the problem is the tutorials listed arnt working for some reason , the example scripts in the tutorial , say to put something like, display ("message") ; but when i try it out it doesnt work and i do exactly as the tutorial says, is the information in the tutorial incorrect, or is it for a later version,?

also besides the tutorial that says, "getting started with scripting" the rest of the websites that say they have info on scripting , dont even load up.

is they any other tutorials besides the one's listed ?
#17
i dont really have much of the game done at all  and when i was looking around the site and reading tutorials and stuff it said not to post about a gip until you have someone to show for it , and since i dont i posted here,  also since i dont know how to make cutscenes , and this game wont have them, im using sprites from  reality on the norm , ill try to find a way to add some credit for there sprites somehow.   and one quik question, is there any other tutorials for the scripting language besides the ones in the tutorials section half of the sites that it says has them dont work and the other scripting tutorial's example scripts dont work,, the

display ("some text") ; dont work , and in places it says to use a simi colon then on the example it has a : and everytime i try one of the example scripts i get error's and id really like to learn the scripting language
#18
Adventure Related Talk & Chat / first game.
Fri 07/01/2005 07:40:56
alright im working on my first game, its actually a pretty stupid concept,

its called zeb lost his weed, i just figured since in completely new here and i dont have much of the game finish id, say something about it here rather than announce it, anyway its basicly,

your a guy name zeb, you wake up and decide to have a little morning bake, but your weeds missing... so you go on this little hunt for it,,,,,

thats pretty much it, just wondering if anyone had any suggestions to make the plot better...
SMF spam blocked by CleanTalk