Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.


Messages - Gurok

Pages: [1] 2 3 ... 85
1
The Rumpus Room / Re: What's on TV?
« on: 13 Jul 2018, 01:05 »
Supernatural?

2
Hmmmm... you're right, Mantle. #4 is mine. Was it existential enough?

3
I think #2 is Snarky and by a process of elimination, #6 is CaptainD?

Also, I am the secret entrant!

4
Congrats on the release, Blondbraid! Man, it's been a long time. Hope to try this out on the weeekend.

5
#2. I'm interested in the mystery surrounding the main character, but as with all of these, it might be a bit too dark. I really like the idea of using DeepDream for art.

6
Competitions & Activities / Re: Coloring Ball: W.O.W.
« on: 05 Jul 2018, 02:10 »
1st: 8 - It took me a while to see this one, but it's actually really clever
2nd: 3 - Delightfully gruesome
3rd: 23 - An awesomely cute character

7
The Rumpus Room / Re: The 4 word story thread
« on: 03 Jul 2018, 03:31 »
Goat. "Have ye any

8
The Rumpus Room / Re: The 4 word story thread
« on: 03 Jul 2018, 00:17 »
It was Captain Jack

9
The Rumpus Room / Re: *Guess the Movie Title*
« on: 29 Jun 2018, 00:24 »
Remember the Titans?

10
I've wanted something like this for a long time. Would be very handy for colouring balls!

11
The Rumpus Room / Re: Happy Birthday Thread!
« on: 27 Jun 2018, 05:13 »
Thanks, Slasher! I will hold on to it, but I'm hoping I won't need it for a few more years.

Thanks, tzachs! Hope you had a good one too.

Thanks, AnasAbdin! Is that a tribute to the green shirt I wore so long ago when I was posing for my avatar? https://i.imgur.com/THeZt76.jpg

12
The Rumpus Room / Re: Happy Birthday Thread!
« on: 27 Jun 2018, 04:25 »
*feels old*

Thank you, Mandle!!

13
A queue? I thought it was a stack! Change the direction of your Pop method's loop. Better yet, use a variable as I suggested to track the cursor (circular queue).

14
I will add that normally for this sort of limited-sized stack structure, you use a variable to keep track of the cursor and let it wrap around when it reaches the end of the array. Saves shifting N variables across whenever you push a value.

15
Well, your push function is a little strange. Ignore my previous comments, it's late here.

EDIT: Here is something a little closer to standard for a fixed-capacity stack:

Code: Adventure Game Studio
  1.     function Push(String array, PathNode* to_add)
  2.     {
  3.        for (int n = TOTAL_NODES - 2; n >= 0; n--)
  4.        {
  5.           if (array == "frontier")
  6.           {
  7.              if (frontier[n].valid == true)
  8.              {
  9.                 frontier[n+1].valid = true;
  10.                 frontier[n+1] = frontier[n];
  11.              }
  12.           }
  13.        }
  14.         if (array == "frontier")
  15.             frontier[0] = to_add;
  16.     }

Haven't checked it thoroughly, but I think the Pop function should be fine though it would normally return a value.

16
Either that or copy the new PathNode's values when it's pushed instead of assigning it.

17
You are pushing current to the array 3 times. It's the same instance and so all three are being overwritten when the first item in the array is overwritten.

18
The Rumpus Room / Re: Can you solve this riddle?
« on: 21 Jun 2018, 05:18 »
A barber?

19
Competitions & Activities / Re: Coloring Ball: W.O.W.
« on: 21 Jun 2018, 03:50 »
I have this amazing item from a parallel universe for Fester, a Max head. Unfortuantely, someone stuck gum to it.



and umm... a universal power adapter.


20
The Rumpus Room / Re: Name the Game
« on: 21 Jun 2018, 00:12 »
Yes, Atavismus! Well done!

Pages: [1] 2 3 ... 85