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

#1
Ok i need rather urgent for someone to solve this. Im trying to make a background to fade from white to black slowly, thats why i just didnt make another room and put crossfade..

My game is hi-color, so no problems about that. The problem is that when executing this script in the room:

// room script file

function room_a() {
Ã,  // script for room: Player enters screen (before fadein)
SetBackgroundFrame(1);
RawDrawFrameTransparent(1, 99);Ã, 
}

function room_b() {
Ã,  // script for room: Player enters screen (after fadein)
SetCharacterView(EGO, 7);
Wait(20);
RawDrawFrameTransparent(1, 95);
RawDrawFrameTransparent(1, 90);
RawDrawFrameTransparent(1, 85);
RawDrawFrameTransparent(1, 80);
RawDrawFrameTransparent(1, 75);
RawDrawFrameTransparent(1, 70);
RawDrawFrameTransparent(1, 65);
RawDrawFrameTransparent(1, 60);
RawDrawFrameTransparent(1, 55);
RawDrawFrameTransparent(1, 50);
RawDrawFrameTransparent(1, 45);
RawDrawFrameTransparent(1, 40);
RawDrawFrameTransparent(1, 35);
RawDrawFrameTransparent(1, 30);
RawDrawFrameTransparent(1, 25);
RawDrawFrameTransparent(1, 20);
RawDrawFrameTransparent(1, 15);
RawDrawFrameTransparent(1, 10);
RawDrawFrameTransparent(1, 05);
RawDrawFrameTransparent(1, 00);Ã,  Ã, 
}


it gives this error message:

---------------------------
Adventure Game Studio
---------------------------
An error has occured. Please contact the game author for support, as this
problem is caused by the game rather than the interpreter.
(ACI version 2.56.627)

(Room 13 script line 6)
Error: RawDrawFrameTransparent: cannot draw current background onto itself

---------------------------
OKÃ,  Ã, 
---------------------------


I dunno how to not draw it on itself.... didnt get it.. someone can help me?

EDIT: by the way, the background is a white image and the frame is black. Ive put one frame only.
#2
DISCLAIMER:
Hi, im making my first game in 256 colors and ive read the manual for help. But it doenst helped me so thats why im asking u guys.



So how do you import a color in the pallete without importing an existing pallete?


Why does the maximum number of the RGB is 63? shouldnt it be 255?? now i cant just put the colors in the game!


How do you import  pcx palletes?
ive selected the pallete entries, un-checked the room depedent thing and imported the pcx file. it just happens nothing. Whats wrong with the pcx? how do i import pcx palletes?
#3
Ive noticed that when ure making a movecharacther thing, theres the option to wait for move to finish.

checking TRUE or FALSE in it makes no difference in the equivalent text script in the box below.

how do you make that in scripting?
#4
well how do i make the game start with the intro.crm room? ive saved the room as "intro" and it was supposed to start in it, isnt it?

i should define that the player starts in intro? but how? it doenst acccept letters! ???

****===****

And how do i set variables using a dialog scripting? sounds easy and all (its in thte manual too i know) but look at its explanation:

"set-globalint GI VAL

Changes text script GlobalInt number GI to have the value VAL. This is equivalent to the SetGlobalInt text script command, and allows you to quickly set things without having to go through a run-script just to set an int value. "

The name of the global variable im using is QUEST. So ive done this in the dialog:

// dialog script file
@S  // dialog startup entry point
EGO: Hi!
Q: What are you? A Sphero?! HAHAHA
EGO: Im an owl... Well:
set-globalint QUEST 511
return

and it doenst work. NOTE: 511 is the number of the global message i want to change to. The normal value of QUEST is 510 and i want to change it to 511! its simple someone help me!
#5
hi all im new and this is my first post so im sort of newbie.

well i have these questions:

1- how to make an object like a map thats in your inventory and you can see it anytime at all. ive done that using the map image as a room hiding the player characther and creating an area where anywhere you click it would go to a certain room. thats the trouble.
how to make that when you finish to see the "map" (that is a room) you go back to the place that you were before when you clicked the map object?

2- what are the possible room names? only roomXXX?

3- when you create a new game there a thing were you select the icon. how do i add more?

(an extra question)
4- how to make the keyboard usable in the game like a first player game where you shoot as a sniper like "6dayassassin" 8) ?

EDIT:wtf is this automatically editing to remove txt spelling?!
SMF spam blocked by CleanTalk