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

#341
Have you ever met anyone from around the Birmingham area in the UK?

Sexy and suave kind of breaks now there... ;)
#342
I know what orders of magnitude are, I'm a Physicist! ;) I meant in terms of the program it's nonsense. I doubt many data files have a number of lines < 1.
#343
I have a file with a big long list of numbers in.

I want to count the number of lines in the file up to the number closest (rounded down) to one inputted by the user.

So say I have: "upper_lim" the number entered by the user.
                        "num_lines" the number of lines counted.
                        "num_on_line" the number on the file of the file.

I've done this while() loop, but I'm getting a nonsense number.

Code: ags


        while (num_on_line <= upper_lim) 
        {
                fscanf(input, "%f", &num_on_line);
		num_lines++;
	}



I've also tried this:

Code: ags


        while (!EOF) 
	{
               fscanf(input, "%f", &num_on_line);
		
               if ( num_on_line <= upper_lim )
               {
                      num_lines++;
               }
	}



Help! Why am I getting a nonsense number like 2.07e-310 ?
#344
Anybody got any ideas?

I'm a bit stuck with this one. Even a manual link because I've been an idiot and missed something? :D
#345
Quote from: Calin Leafshade on Sun 29/11/2009 22:35:27
yeah this wont play on your average 1.2ghz atom processor.

but it seems to cope fine with most desktop processors. anything above a 2ghz should be ok.

Oh, I'm sure my desktop will handle it... :) And it does look very nice!

Is the
Spoiler
big long corridor full of locked doors
[close]
a general adventure reference?
#346
Enjoying it so far. Really good.

Playing on my netbook though and it doesn't like the effects - very laggy. Which suggests maybe they are a little over the top. They look very very nice, though! ;)
#347
Well done on the release, I'll give it a go as soon as pos! ;)
#348
Thanks.

I don't that's the problem, hopefully someone here will know...
#349
Quote from: wonkyth on Thu 26/11/2009 22:30:11
Yeah, there's some funky stuff about using alpha channels with GUI's, but I cant remember the specifics.

Any idea where I can find them? I think I've narrowed it down to the fact it's a text window GUI.
#350
I've got a 50% transparency black background for all my GUIs, they all work fine apart from the text window one if made for dialog options.

Basically, I import a background image and I'm asked whether to use the alpha channel. For all the other GUIs I click yes and it works fine. For the text window one, I click yes and it displays in-game as a purely black background...  :-\

Any ideas what I'm doing wrong?
#351
I'm sure I could write an article on dealing with your first game being in the works for 4 years. It's a common experience I'm sure. Though I'd like to try and argue it isn't ALL that bad an idea to aim high first time. ;)
#352
I'm planning a big push over the Christmas break from Uni. So I should be on track for the first half of next year, for part 1 :)

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=38542.0
#353
Hints & Tips / Re: Featherweight
Thu 19/11/2009 21:03:36
Spoiler
Totally defeated by the lights and rings puzzle. I've got the indicator lights lined up, and if I move the spotlight round I can get a rectangular light to come on but nothing happens... :S

What do I do?
[close]
#354
Born on the 30th of April?

I really like the idea of pixelising the objects so characters and objects are the same style. It would solve the problem perfectly...
#355
Fab so far! :) bit stuck though, predictably!

One thing, it is a little hard to see the objects you can pick up. I think I've found everything I should, but sometimes it was by luck.

The backgrounds are very well composed though, I'm enjoying just seeing what the next background is!
#356
I hope someone hasn't said this already because I'll look silly. This isn't a medical or scientific issue, really. It's a political issue, driven by the general public's historically led, rather than scientifically led, views of various drugs i.e. tobacco, alcohol, cannabis.

The government knows all three can be as dangerous as each other, and it makes no sense for them to be separated so widely in law. But legalising cannabis would be a political and social disaster. It doesn't have the same history as alcohol or tobacco, and so equally cannot be treated purely from a scientific/medical basis.

In this light, it is still difficult to understand the move to class B, but it is by no means difficult to understand a class C classification. On balance, it should have been kept there, really.

I think the problem the government really faces is maintaining a firm and coherent stance on drug use, whatever the form. Listening only to the science in this circumstance (and most others) would have sent all the wrong messages. Their adviser was an idiot. If he really wanted to promote a rational and balanced approach to decision making, he shouldn't have made a comment so easily misunderstood or taken out of context.

Doing his job properly would have involved reminding the government of what cannabis is in a scientific context, and in relation to alcohol and tobacco and let the government then decide what the best course of action was. The action taken had to be taken in a social context, and due to the nature of politics (especially at this moment in time) had to be taken in political context as well.

And that's what they did, of course. And if it helps them win the next election and we don't lose all power in Europe as a result, then so be it. Then in term four they can stop playing politics and re-classify it back to class C again.
#357
I've pre-ordered! :)

You've done a really good job of the fund-raising, and the rewards are matched with the donations perfectly!
#358
That's looks stunning! Well done!
#359
Quote from: Mods on Wed 23/09/2009 17:06:39
Resonance
Teh final Ben Jordan!
Frantic Franko
Puzzle bots!
Teh Longevity Gene

There's a lot upcoming on the table these days which I'm sure will be awesome!! Question is are any of these going to be out before the awards :O

Just spotted this, thanks Mods! It's quite an honour being mentioned in this thread, I always used to check it to see what games to look out for...

In response to the awards, maybe next time? :D

I reckon, at the moment:

Resonance
Rise of the Hidden Sun
Star Wars: Guardians of the Galaxy
The Forgotten Element
The Darksiders Part 1
Revenge of the Baloon-Headed Mexican (new Ben and Dan game)
All of Ben304's upcoming projects!

There really are loads of great looking games in production!
#360
I'm really glad you haven't rushed this out, it sounds like you are adding layer upon layer of extra stuff (voice pack, etc). And for this it just keeps sounding better and better!

Then again, I hope you get it finished fairly soon, I'm looking forward to Bookish Hunt-Down Event if it hasn't been abandoned?  ???
SMF spam blocked by CleanTalk