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

Topics - mport2004

#1
Adventure Related Talk & Chat / Sprites, how?
Sat 19/07/2008 02:57:49
So how exactly do you make your own sprites.
What program do you use?
Also is there an easy to use 3d program that can create sprites from the models you make in it?
#2
Advanced Technical Forum / Error: room to tall
Mon 14/07/2008 05:32:04
While testing a huge room I when I tried to move it gave me the error message
Error: room to tall for pathfinder.
And the game quit.
So my question is exactly how tall can my rooms be?
#3
It says that it just checks the baselines of the characters for the character collide and for the things overlapping it does a rectangular check so is there a nontransparent pixel based collision code I could use so my characters look like they are touching.
#4
I saw the game Dangerous Lands on the games list but cant seem to download it.
is there any way to download it or does someone have a copy?
#5
The character control system won't work for me, it says something about can't convert string.
#6
BOTH is an RTS
It's about 3 Factions, CRT,Ã,  TACT, and HAR.
You play as a HAR commander fighting CRT and TACT forces.

Yuo can get the demo from
http://www.freewebs.com/mport2004/downloads.htm

Here are my 2 screenshots

#7
In my game i have a gard tower that shoots your guys when they get near it.
I have this script for when you attack it.


if (GetGlobalInt(14) == 1) {
character[BB].Animate(4, 1, 0, eBlock, eForwards);
int ran=Random(3);
if (ran==0) character[GT].Animate(1, 1, 0, eBlock, eForwards);SetGlobalInt(2,1);
if (ran==1) character[GT].Say("1");
if (ran==2) character[GT].Say("2");
if (ran==3) character[GT].Say("3");
}

when my guys attack it even if it dosent get a 0 for the random # it still uses SetGlobalInt(2,1);Ã,  ???
#8
I was wondering if there was a command thats the opposite of the command. if (player.ID == CSR) {SetGlobalInt(11,1);}
Or in other words I need my game to change the variable to 11,0 if the player character is not CSR.
#9
I was wondering how to make a character follow the player character when the player character changes.


For ex. i have three characters(A,B,and C) and the player character is A.
Player A tells player B to follow,
but when i switch to player C and use the follow command on player B i want B to follow C not A.
#10
Completed Game Announcements / AVP
Wed 04/05/2005 02:48:48
my new game is Alien Vs Predator
its short you have to shoot bugs and aliens comming at you

you can get it at
http://www.freewebs.com/mport2004/downloads.htm
#11
im trying to make a 2player pong like game, but the code for the moving (for player one the arrow keys for player2 W is up S is down A is left  and D is right) when i move player one player 2 starts to move too.
heres my code


int cleft;  //flags to see if button is still pressed
int cright;
int cup;
int cdown;



                //the arrowkey code .
  if (IsKeyPressed(375)==1 && cleft==0) {
    cleft=1;
    MoveCharacterStraight(PA,-1000,character[PA].y);
  }
  if (IsKeyPressed(375)==0 && cleft==1){
    StopMoving(PA);
    cleft=0;
  }

  if (IsKeyPressed(377)==1 && cright==0) {
    cright=1;
    MoveCharacterStraight(PA,1000,character[PA].y);
  }
  if (IsKeyPressed(377)==0 && cright==1){
    StopMoving(PA);
    cright=0;
  }

  if (IsKeyPressed(372)==1 && cup==0) {
    cup=1;
    MoveCharacterStraight(PA,character[PA].x,-1000);
  }
  if (IsKeyPressed(372)==0 && cup==1){
    StopMoving(PA);
    cup=0;
  }

  if (IsKeyPressed(380)==1 && cdown==0) {
    cdown=1;
    MoveCharacterStraight(PA,character[PA].x,1000);
  }
  if (IsKeyPressed(380)==0 && cdown==1){
    StopMoving(PA);
    cdown=0;
}
//PB
int cleftb;
int crightb;
int cupb;
int cdownb;
           
  if (IsKeyPressed(65)==1 && cleftb==0) {
    cleftb=1;
    MoveCharacterStraight(PB,-1000,character[PB].y);
  }
  if (IsKeyPressed(65)==0 && cleftb==1){
    StopMoving(PB);
    cleftb=0;
  }

  if (IsKeyPressed(68)==1 && crightb==0) {
    crightb=1;
    MoveCharacterStraight(PB,1000,character[PB].y);
  }
  if (IsKeyPressed(68)==0 && crightb==1){
    StopMoving(PB);
    crightb=0;
  }

  if (IsKeyPressed(87)==1 && cupb==0) {
    cupb=1;
    MoveCharacterStraight(PB,character[PB].x,-1000);
  }
  if (IsKeyPressed(87)==0 && cupb==1){
    StopMoving(PB);
    cupb=0;
  }

  if (IsKeyPressed(83)==1 && cdownb==0) {
    cdownb=1;
    MoveCharacterStraight(PB,character[PB].x,1000);
  }
  if (IsKeyPressed(83)==0 && cdownb==1){
    StopMoving(PB);
    cdownb=0;
}
???
#12
Beginners' Technical Questions / 2 scores
Wed 04/05/2005 01:54:16
is it posable to show two diffrent scores at once
ex. player1 score and player2 score
#13
im making a game where im going to use the arrow keys for movment but i dont know how to do that.
I have the keycode # for the keys
#14
Beginners' Technical Questions / Keycodes?
Tue 03/05/2005 23:04:46
I was wondering what the keycodes were for the letters
W
A
S
D

and also the arrow keys

for ex. F9 is keycode  367
???
#15
i have a game thats almost finished but i came acrossed a problem in the game you have to guide some people to a village but i want them to stop when they get to the village.
#16
General Discussion / an rts
Tue 15/03/2005 23:53:40
has any one ever made a rts (real time stratigy) game in ags?
#17
in my game im dident even click on the code for
function show_inventory_window
and it was working fine but now when i try to save this comes up.

nested functions not supported

and this is the script


function show_inventory_window () {
  // This demonstrates both types of inventory window - the first part is how to
  // show the built-in inventory window, the second part uses the custom one.
  // Un-comment one section or the other below.
 
  // ** DEFAULT INVENTORY WINDOW
InventoryScreen();
/* 
  // ** CUSTOM INVENTORY WINDOW
  GUIOn (INVENTORY); 
  // switch to the Use cursor (to select items with)
  SetCursorMode (MODE_USE);
  // But, override the appearance to look like the arrow
  SetMouseCursor (6);
*/
}


  >:( ??? >:( ???
#18
this is my ccs code when i try to test my game it says

error:ccCreatecommand(): SET control command error!

and this is all of my ccs codes i have

function game_start() {

ccDebug(0);
ccSetBlankView(5);

ccCreateCommand(1, "MOVE: 200, 115; MOVE: 310, 118; ROOM:4,13,110; MOVE: 155, 115; MOVE: 150, 180; MOVE: 10, 188; ROOM:3, 300,180; MOVE: 250, 180; MOVE: 70, 140; GOTO:1;");
ccCreateCommand(2, "MOVE: 150, 140; MOVE: 150, 110;
SET:Global(11)=0; ROOM:16,150,190; SET:Global(10)=0; MOVE: 150, 140; MOVE: 150, 110; MOVE: 150, 140; MOVE: 150, 190; SET:Global(10)=0; WAIT:120; ROOM:14,150,110; SET:Global(11)=1; MOVE: 150, 140;");
ccAppendCommand(2, "MOVE: 150, 190; SET:Global(11)=1; MOVE: 150, 140; MOVE: 150, 190; GOTO:2;");



}




i cant see wats wrong with it it was working fine a day ago. ??? ??? ??? ??? ???
#19
General Discussion / plugins
Fri 18/02/2005 01:47:59
i cant seem to findwhere the plugin downloads are i found them before and i was wondering where to get them. ???
#20
how do you post your games on this site? ???
SMF spam blocked by CleanTalk