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 - Calin Leafshade

#3201
A missing event handler will compile but error.

#3202
These are not my entry (though i will definately be entering) but i thought id share

My version: http://www.thethoughtradar.com/blog/?p=27
the original: http://www.youtube.com/watch?v=o_1n6DpUkjw

and also

My version: http://www.thethoughtradar.com/blog/?p=74 (top one)
The original: http://www.youtube.com/watch?v=6Pf1zYwpSWQ
#3203
Advanced Technical Forum / Possible Minor Bug
Thu 26/11/2009 19:27:50
Guis seem to stay non clickable after being made visible until the mouse is moved.

So you have gActions which has a button "End Turn".
You press end turn and the gui is made invisible and the turns moves are carried out.
After the turn has finished the gui is made visible again.
If you then try to click a button on the gui WITHOUT moving the mouse (i.e the same button you just clicked, in this case "End Turn") the mouse click is ignored.
If you move the mouse and then click again the button becomes responsive again.

I can upload my game if you need to see it reproduced.. its only small since ive only really just started it.
#3204
The above code will make time move 40 times faster (or what ever the game speed)

Remember that rep_ex runs every game loop, not every second.
#3205
Quote from: monkey_05_06 on Thu 26/11/2009 15:06:54
No I don't have any idea what such an absurd algorithm would be used for. I just made it up as I was going along. It's just a proof of concept. :P

Its used for calculating awesomeness in terms of its prime factors. Congratulations.
#3206
Yeah! Losers.

Although i have kinda solved my problem by placing a while loop within one of the functions to rerun it when necessary.

The point really was that you cant have the following

Code: ags

function A(){

B();
}

function B(){

A();
}


obviously that would result in infinite recursion but add a condition in there and thats solved.

but function A cant 'see' function B because it's lower in the script.

I wondered if its possible to define the function template at the top of the script somehow.
#3207
its called a lost positive.

You also cant say something is 'maculate' (which would be latin for 'spotty' since immaculate means 'without spots' or 'spotless')

also there's no couth from uncouth plus lots more.
#3208
General Discussion / Re: A new car.
Thu 26/11/2009 00:56:06
Yeah there are chevys here.. although quite rare.

For the interested I bought a 3 Series BMW :p
#3209
Actually i've just realised that this is impossible.. you obviously cant call a function from within function which is within the same function...

#3210
Advanced Technical Forum / Defining Functions
Wed 25/11/2009 23:47:48
So, I have two functions which call each other a couple of times.

the problem is that functions need to be defined higher in the script than the place they are called.

Obviously the two scripts cant be higher than each other so is there a way to define the functions in the general defs like a global script variable?
#3211
ha ha not specifically you, no :p

Although i didnt really manage to disguise my britishyness in your audition either :p
#3212
maybe i should stick with being british and hope people need villains :p

Quote from: ShonenAiGuy on Wed 25/11/2009 20:25:06
Awesome.
<3your voice.

You're so kind.  8)
#3213
well thats what i was aiming for i guess..

I think we should bring back the voice acting comp.. its good practice.
#3214
Critics' Lounge / Critique my american accent.
Wed 25/11/2009 14:55:12
British voice actors on the internet are not really in massive demand so i decided i needed to perfect my american accent.

Do i sound american? or like a british boy faking it?

http://www.thethoughtradar.com/AGS/american.mp3
#3215
much obliged wizard.. that is alarmingly simple.

I feel stupid now.
#3216
Advanced Technical Forum / Sorting Algorithm
Wed 25/11/2009 00:59:25
I'm having a kind of mental block.
I know this is a simple thing to do but for some reason my brain isnt working.

I have an array of characters with various attributes (agility etc. Characters[0].Agl )
however they also have a boolean flag which indicates whether or not they have had their turn in combat yet. (Characters[0].HadTurn)

I need to find which character in the array has the highest agility but also has not had their turn yet.

Helpz? lolz ^___^ kthxbi
#3217
I pressed F1 for help.. but nobody came.
#3218
General Discussion / Re: Gotta Go To Greggs?
Tue 24/11/2009 23:16:11
how about cooplands?

they make better sausage rolls.
#3219
Probably been mentioned before but how about overlays with an alpha channel?

also a transparency control on the text overlay would be nice. Specifically for fading text (i.e damage numbers :D)
#3220
Is there an open audition for guybrush?
SMF spam blocked by CleanTalk