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

#2681
so.... nobody?
#2682
Looking forward to test this one Bill  ;)
#2684
Yeeh!  :D
#2685
That works except that the first 2 lines + the "else" line are giving an error: "undifined symbol 'event'":
---
if (event == eEventEnterRoomBeforeFadein) {
    if ((data >= 1) && (data <= 6)) { // only set the timer for the rooms that are going to use it
      SetTimer(1, GetGameSpeed() * sldSpeed.Value);
    }
    else SetTimer(1, 0); // disable the timer for other rooms
}
---

So if I remove the room check lines, having this:
---
SetTimer(1, GetGameSpeed() * sldSpeed.Value);
    }
---
it does works until it reach a room that doesn't exist, because it just counts up until it reach such non-existing room....

*help needed again*  :(
#2686
AGS Archives / Re: AGS Archives
Wed 24/03/2010 16:11:34
Peder, any news on the AGS Archive beta status?
#2687
No, the only thing that should happen for now is showing random rooms immediately
from the start of "the game". This works fine until I go to the gPanel GUI and change
the game speed slider followed by clicking Resume, the random showing rooms stops...
#2688
Darth, that would be great.
I've got these 3 entries done by you already, so if you can dig up more of your BB'z...:

2005_11-30_12-13_POST-APOCALYPTIC DINER-Darth Mandarb-bgblitz_2Dec2005.gif
2006_01-01_01-15_HOSPITAL INTERIOR-Darth Mandarb-bgblitz_2Jan2006.png
2007_06-10_07-01_Antique-Darth Mandarb-screenie_inside.png
#2689
But, when changing the game speed this way by slider and resuming the game has as result that the randomizing-the-rooms doesn't work anymore...
#2690
Is there anyone who has collected the [or some of the] background blitzes that are lost now?
Lost of hosting places for these pictures are gone for example.

The oldest background blitz in the forum starts here

Thanx.
#2691
Thanx again monkey, this does suit to what I was looking for  ;)


#2692
Quote from: monkey_05_06 on Sat 20/03/2010 18:32:26
Well technically there's no need for a dummy room at all. Say in the editor your player is set to start in room 1. Then you could do this:

Code: ags
// room1.asc

function room_FirstLoad() {
  player.ChangeRoom(Random(5) + 1);
}

// GlobalScript.asc

function on_event(EventType event, int data) {
  if (event == eEventEnterRoomBeforeFadein) {
    if ((data >= 1) && (data <= 6)) { // only set the timer for the rooms that are going to use it
      SetTimer(1, GetGameSpeed() * 10); // 10 seconds the proper way :P
    }
    else SetTimer(1, 0); // disable the timer for other rooms
  }
}

function repeatedly_execute() {
  if (IsTimerExpired(1)) player.ChangeRoom(Random(5) + 1);
}


Monkey [or someone else], is it posible to use a slider, like the music slider with the "SetMusicMasterVolume(sldMusic.Value); function",  to be able to manually change the seconds from a static "*10" into something between 1 and 15 for example?
#2693
The Rumpus Room / Re: Happy Birthday Thread!
Tue 23/03/2010 08:03:10
Herzlichen Glückwunsch zum ihren Geburtstag Ghost  ;)
#2694
Khris, tzachs & monkey_05_06: thanx!
Works like a charm  ;)
#2695
I'd like to use this code when the game starts, so I guess it should be in "function room_FirstLoad()"
Is that true and how do I change it to make it work?
#2696
Thanx Khris, will test it when i'm back home again.  :)
#2697
I would like to load a random room with a certain time to show this room and then switch to another random room and repeat this as in a loop. The rooms have no specific connection with each ther and there is no player character.
I'm sure there needs to be more code, cause the "certain time" is also missing...

player.ChangeRoom(Random(5) + 1); //Changes room to a random room between 1 and 6

#2698
Quote from: Radiant on Tue 16/03/2010 15:28:38
And hey, I even know Castle Adventure! I used to play that and want to add extra features and stuff, that's one of the things that got me into game design. Looks like it already has a remake, although it's missing now.
Maybe this one?
#2699
AGS Games in Production / Re: Open Eyes
Wed 17/03/2010 08:00:10
Very nice Crimson, looking forward to this one  ;)
#2700
Lovely game, how's the progress going?
SMF spam blocked by CleanTalk