Going through another C++ book to jog my memory, made a guess the number program (1 to 100):
[img]http://i.imgur.com/cbTQr.png[/img]
I go to test it an DAMN! :v:
It's not even broken
You should make it so you pick a number and it guesses it.
[QUOTE=CarlBooth;29151187]You should make it so you pick a number and it guesses it.[/QUOTE]
That's the next part of the book :buddy:
[QUOTE=Dr Magnusson;29150083]You should really multiply the movement speed of anything with the change in time since the last update.[/QUOTE]
I didn't have it keep track of that, but I've sorted it now and the player moves fine.
[editline]13th April 2011[/editline]
[QUOTE=Kwaq;29151195]That's the next part of the book :buddy:[/QUOTE]
Make it so you can choose to do either (you guess the computer's number or it guesses yours) or choose to play with a friend.
[QUOTE=Staneh;29150934]Yeah theyre not so smart, but they are good friends.
I just hope I meet someone who wants/can program abit.
[/QUOTE]
I know how that feels. Nothing sucks more than trying to talk to your friends about something involving programming and they just stare at you like you're retarded. Get yourself a girlfriend that programs = eternal happiness.
[QUOTE=Samuka97;29148703]Can anyone tell me if "Beginning OpenGL Game Programming" is a good book, in the sense of "doesn't use too much deprecated things"? I found a PDF of it laying around on my dad's bunch-of-crap-folder.[/QUOTE]
Ah man I wouldn't start learning all that yet - I used to use Game Maker years ago and tried to move to C++ and was like "gamesgamesgames!" but it's so much more different. I wouldn't try that shit yet until you've learnt all about data types and structures and algorithms and making boring console applications that will count how many times 'piss' is in a text file and shit like that. And classes and inheritance and all that stuff. Because [i]then[/i] when you read books or tutorials on more difficult things you'll actually understand it rather than going "Oh, so that [i]sort of[/i] makes sense, maybe if I change this? ...Oh no, what. Maybe if I restart it will work again."
And the [i]only[/i] reason I'm saying this is that I started learning Java at uni where they force you do to things their way in their order (I would've just gone "gamesgamesgames!" otherwise), and honestly, they've got it right. You've got to do all the boring stuff. It helps though if you start to think boring things like console apps are quite cool! And they are cool. Super cool. You can pipe the output into other things which are more useful.
[QUOTE=JenkinsJ;29151828]Ah man I wouldn't start learning all that yet - I used to use Game Maker years ago and tried to move to C++ and was like "gamesgamesgames!" but it's so much more different. I wouldn't try that shit yet until you've learnt all about data types and structures and algorithms and making boring console applications that will count how many times 'piss' is in a text file and shit like that. And classes and inheritance and all that stuff. Because [i]then[/i] when you read books or tutorials on more difficult things you'll actually understand it rather than going "Oh, so that [i]sort of[/i] makes sense, maybe if I change this? ...Oh no, what. Maybe if I restart it will work again."
And the [i]only[/i] reason I'm saying this is that I started learning Java at uni where they force you do to things their way in their order (I would've just gone "gamesgamesgames!" otherwise), and honestly, they've got it right. You've got to do all the boring stuff. It helps though if you start to think boring things like console apps are quite cool! And they are cool. Super cool. You can pipe the output into other things which are more useful.[/QUOTE]
Once you've learnt the very basics, you can still make game related things like text based adventures to learn about inheritance and other things, if you're desperate to make a game of some type.
[QUOTE=Staneh;29149999]They don't want to, they think computers are gay. :saddowns:[/QUOTE]
My friends think Minecraft suck because it's made of blocks.
One of them asked to me "what's your internet"? I awnsered about my provider, they were talking about Web browsers.
My friends think Opera sucks because it doesn't come by default with a favorites bar.
[editline]13th April 2011[/editline]
[QUOTE=JenkinsJ;29151828]Ah man I wouldn't start learning all that yet - I used to use Game Maker years ago and tried to move to C++ and was like "gamesgamesgames!" but it's so much more different. I wouldn't try that shit yet until you've learnt all about data types and structures and algorithms and making boring console applications that will count how many times 'piss' is in a text file and shit like that. And classes and inheritance and all that stuff. Because [i]then[/i] when you read books or tutorials on more difficult things you'll actually understand it rather than going "Oh, so that [i]sort of[/i] makes sense, maybe if I change this? ...Oh no, what. Maybe if I restart it will work again."
And the [i]only[/i] reason I'm saying this is that I started learning Java at uni where they force you do to things their way in their order (I would've just gone "gamesgamesgames!" otherwise), and honestly, they've got it right. You've got to do all the boring stuff. It helps though if you start to think boring things like console apps are quite cool! And they are cool. Super cool. You can pipe the output into other things which are more useful.[/QUOTE]
It's my plan. I've already learnt about structures, data types and etc, though I still have a whole way to go. Just wanted to know if that book is NeHe's tutorials book-form.
I'm learning Actionscript, so far so good.
[QUOTE=Kwaq;29151016]Going through another C++ book to jog my memory, made a guess the number program (1 to 100):
[img_thumb]http://i.imgur.com/cbTQr.png[/img_thumb]
I go to test it an DAMN! :v:
It's not even broken[/QUOTE]
I see you're using an english keyboard with windows set to NO/DK (')
[QUOTE=iPope;29150835]A way to make my bus pick people up one place and transfer them somewhere else without picking them up at place B. I hate having to this every time.[/QUOTE]
You can set "No Loading" in the order list.
Does anyone have experience with finding multiple roots of a function? I can automatically get its nth derivative with little effort. I have some ideas on how to approach the problem but I'd like to know how other people have done it.
edit: The function's defined for positive reals. It works for all nonzero reals but I'm not interested in the negative ones.
[QUOTE=Jallen;29152111]I see you're using an english keyboard with windows set to NO/DK (')[/QUOTE]
You should answer vague support requests.
[code]Created new event "Buy milk."
Changed event "Buy milk." to "Buy gas."
Created new event "Buy milk."
Changed event "Buy milk." to "Buy gas."
Set due date of "Buy gas." to 8/18/91
Created new event "Buy milk."
Changed event "Buy milk." to "Buy gas."
Set due date of "Buy gas." to 8/18/91
Created new event "Buy milk."
Changed event "Buy milk." to "Buy gas."
Set due date of "Buy gas." to 8/18/91
END SESSION
Created new event "Buy milk."
Changed event "Buy milk." to "Buy gas."
Set due date of "Buy gas." to 8/18/91
END SESSION
Created new event "Buy milk."
Changed event "Buy milk." to "Buy gas."
Set due date of "Buy gas." to 8/18/91
Status of "Buy gas." set to Active
END SESSION[/code]
Got changelogs working in my Todo program. Going to implement separate program modes so I can print the record with todo r and change todos with todo i, print todos with todo p. Then going to figure out how to check the date and use that in all the output to the record file, and also write a routine to check the due date of a struct todo against the date and tell whether the todo is past due.
[QUOTE=xenodrox;29152645][code]tttttttthings[/code]
Got changelogs working in my Todo program. Going to implement separate program modes so I can print the record with todo r and change todos with todo i, print todos with todo p. Then going to figure out how to check the date and use that in all the output to the record file, and also write a routine to check the due date of a struct todo against the date and tell whether the todo is past due.[/QUOTE]
Looks like I've got competition.
[QUOTE=xenodrox;29152645][code]Created new event "Buy milk."
Changed event "Buy milk." to "Buy gas."
Created new event "Buy milk."
Changed event "Buy milk." to "Buy gas."
Set due date of "Buy gas." to 8/18/91
Created new event "Buy milk."
Changed event "Buy milk." to "Buy gas."
Set due date of "Buy gas." to 8/18/91
Created new event "Buy milk."
Changed event "Buy milk." to "Buy gas."
Set due date of "Buy gas." to 8/18/91
END SESSION
Created new event "Buy milk."
Changed event "Buy milk." to "Buy gas."
Set due date of "Buy gas." to 8/18/91
END SESSION
Created new event "Buy milk."
Changed event "Buy milk." to "Buy gas."
Set due date of "Buy gas." to 8/18/91
Status of "Buy gas." set to Active
END SESSION[/code]
Got changelogs working in my Todo program. Going to implement separate program modes so I can print the record with todo r and change todos with todo i, print todos with todo p. Then going to figure out how to check the date and use that in all the output to the record file, and also write a routine to check the due date of a struct todo against the date and tell whether the todo is past due.[/QUOTE]
I think you missed your deadline.
[editline]13th April 2011[/editline]
But I can help.
With all this indie bundle talk, its got me wondering.
Did REvenge of the titans ever go open source like they said they would?
They're probably waiting until it's finished for that
Working on a program to assist with playing D&D (right now just an interactive character sheet):
[img]http://filesmelt.com/dl/Screenshot-72.png[/img]
It's in Shoes, which is nice because I can develop it on my netbook running Linux and give it to all my friends who have Windows. Though I have a feeling that Shoes is intended for relatively lightweight uses, and ideally I eventually want this program to automate the entire pen & paper aspect of the game.
Super progress!:
[media]http://www.youtube.com/watch?v=AHe6U8GaXog[/media]
This is the Kento code that runs the whole thing:
[csharp]OnLoad = function () {
shape = new ColoredShape()
shape.FilledPolygons.Add( new Polygon( false, 0, 0, 1, 0, 0, 1,
100, 0, 0, 1, 0, 1,
100, 100, 0, 0, 1, 1,
0, 100, 0, 1, 1, 1 ) )
shape.SetPolygons()
}
OnUpdate = function () {
Red+=0.03
Firefly.BackgroundColor = new Color( (Math.Sin(Red) + 1) / 4, 0.58, 0.92 )
shape.X=( Math.Sin(Red) +1 ) * 350
shape.Y=( Math.Cos(Red) +1 ) * 200
}
Red = 0
declare shape
Firefly.Initialize(OnLoad, OnUpdate)[/csharp]
[QUOTE=NovembrDobby;29156007]They're probably waiting until it's finished for that[/QUOTE]
What do you mean?
Revenge of the titans is finished, its on steam :v:
[IMG]http://i.imgur.com/cIVgC.png[/IMG]
Ray traced terrain shadows ahoy !
[QUOTE=Xerios3;29156362][img_thumb]http://i.imgur.com/cIVgC.png[/img_thumb]
Ray traced terrain shadows ahoy ![/QUOTE]
do multiple uniform shadow samples for eye sex.
What does declare shape do?
[QUOTE=ZenX2;29156624]What does declare shape do?[/QUOTE]
Uh, declares a shape object, I guess. Unless I'm missing something here. :v:
[QUOTE=ZenX2;29156624]What does declare shape do?[/QUOTE]
I believe he mentioned something about having issues with scope, so in classes, you declare variables.
My chair just broke :(
[img_thumb]http://img689.imageshack.us/img689/5791/13042011.jpg[/img_thumb]
Who was the guy who was working on that 3D game with islands on Android?
[QUOTE=Richy19;29157301]My chair just broke :(
[img_thumb]http://img689.imageshack.us/img689/5791/13042011.jpg[/img_thumb][/QUOTE]
I use one of these as my chair
[img]http://www.ikea.com/us/en/images/products/ektorp-chair-white__24278_PE109112_S4.jpg[/img]
I need a new chair - anyone got any recommendations?
Sorry, you need to Log In to post a reply to this thread.