Computer Science Canada

Request a Tutorial

Author:  AsianSensation [ Fri Feb 06, 2004 8:06 am ]
Post subject:  Request a Tutorial

Alright, I'm stealing rizzix's idea (hope you don't mind, rizzix). Since there are quite many people who would like to learn turing, but finds the help manual incapabable of explaining something, post what you want to know, hopefully, me (or someone else) will write up a tutorial dealing with what you want to learn.

Author:  DanShadow [ Fri Feb 06, 2004 2:17 pm ]
Post subject: 

Lol.....hmmm.....how bout a tutorial about how to create a server that connects to multiple clients, sending/receiving about 5-20 variables every time a command has been entered? Razz I actually do really need a tutorial on that..(well actually my underlings do..hehe)

Author:  recneps [ Fri Feb 06, 2004 4:41 pm ]
Post subject: 

I see alot of posts on saving and loading of data to/from a file. maybe you could make one on that?

Author:  AsianSensation [ Fri Feb 06, 2004 5:46 pm ]
Post subject: 

alrite, I have to admit, I have never used the turing net commands, so I don't know much about it. But I am sure dodge_tomahawk knows a thing or 2 about net connections. I'll ask him to make a tutorial for it.

as for a tutorial for Input and Output to file, there is already one made by tony, with some addition by Blade to let the turing file I/O do the "app" thing that c++ does.

Author:  Andy [ Fri Feb 06, 2004 5:53 pm ]
Post subject: 

ya i'll prolly do one one of these days, after i do a whatdotcolor collision detectio tho

Author:  Cervantes [ Fri Feb 06, 2004 6:09 pm ]
Post subject: 

better hurry, Dan Shadow has beaten you to it.. though if yours is really good and comes out soon we may forgive you Very Happy

I would like to see a simple tutorial for how and when to use cos and sine and tan and whatnot in Turing games... any takers? Smile

Author:  Andy [ Fri Feb 06, 2004 6:23 pm ]
Post subject: 

sin lol u mean sine, and about dan shadow aka hacker dan, he dont got no whatdotcolor skillz

Author:  AsianSensation [ Fri Feb 06, 2004 8:11 pm ]
Post subject: 

sin, cos and tan are used when doing graphics or movement that involves the use of angles. Basicly, it's just a tool, like arithmetics, used when you want to project some kind of motion, like a guy walking around in circles (yes dodge, you can do whatdotcolor for it too...)

As for when to use it, you will be able to identify when to use certain kind of method to do a problem when your programming technique is at a higher level.

Author:  Andy [ Fri Feb 06, 2004 8:15 pm ]
Post subject: 

he knows what it is meng... in his previous post he posted sin instead of sine then the bastard edited it

Author:  Paul [ Fri Feb 06, 2004 11:11 pm ]
Post subject: 

I would like to see a tutorial on how to move stuff (like a bmp, or a drawn picture), in a direction it is facing, like rotating it, and when you press the up arrow, it moves in the direction its pointing. I've looked at some codes like recnep's car thing, but I didn't really understand it. Oh, and changing direction and moving at the same time wouldn't be bad either.

Author:  AsianSensation [ Sat Feb 07, 2004 10:13 am ]
Post subject: 

something like an asteroid ship thing? Alrite, I'll write one up, this will even have to do with sin and cos, so it's like a example for Cervantes' question.

Author:  Paul [ Sun Feb 08, 2004 10:05 pm ]
Post subject: 

How about a tutorial on GUI buttons, how and when they are used, I saw Delta's tutorial, but it didn't help me much.

Author:  TheXploder [ Mon Feb 09, 2004 12:28 am ]
Post subject: 

How about a tutorial on Classes and Inheritance... I'd love to learn that because what does OOT stand for, eh? Object Oriented Turing... so I would like to learn more about object orientation...

Author:  Catalyst [ Mon Feb 09, 2004 12:43 am ]
Post subject: 

Classes in Turing
http://www.compsci.ca/v2/viewtopic.php?t=606
Inheritance & Polymorphism in C++
http://www.compsci.ca/v2/viewtopic.php?t=1643

for Turing to inherit just do
code:

class Bar
end Bar
class FooBar
   inherit Bar
end FooBar


and define virtual (abstract) functions as so

code:

class Bar
   deferred proc Chew
end Bar
class FooBar
   inherit Bar
   body proc Chew
   end Chew
end FooBar

Author:  Paul [ Tue Mar 16, 2004 10:06 am ]
Post subject: 

I thought I saw one, but is there one for pong in the turing tutorial section? I'd like one if its not too much trouble. Preferable 1 player, AI or non AI doesn't matter.

Author:  AsianSensation [ Tue Mar 16, 2004 7:09 pm ]
Post subject: 

tutorial for pong? Isn't that just collision detection and 45 degree bouncing? AI is just have the computer paddle match the y position of the ball.

Author:  Paul [ Tue Mar 16, 2004 7:11 pm ]
Post subject: 

Oh, nvm, now that I think about it. Cause I saw Zylum's pong, and its nowhere near what I would have thought it would look like, I didn't understand it... so I thought I was missing out on something. Cause if I made pong, it would be really different.

Author:  bevoyleick [ Wed Mar 17, 2004 10:02 am ]
Post subject: 

can someone post a tutorial on how to "link" from one Turing file to another? as in having one main program running other files

Author:  recneps [ Wed Mar 17, 2004 11:07 am ]
Post subject: 

i can do that, its not that hard, lemme try it now Very Happy

Author:  Jonny Tight Lips [ Fri Mar 26, 2004 1:23 pm ]
Post subject:  3D

I would like a tutorial on how to do 3D in turing. I want to make a 3D game like a 1st person shooter or a flight sim.

Author:  recneps [ Fri Mar 26, 2004 4:01 pm ]
Post subject: 

I believe catalyst was going to attempt a 3d tutorial, i dont know what happened, hes probably to busy or still working on it.

Author:  zylum [ Fri Mar 26, 2004 6:48 pm ]
Post subject: 

AsianSensation wrote:
AI is just have the computer paddle match the y position of the ball.


lol how is that ai??? that makes it impossible for the user to win Twisted Evil anyhoo, the tough part is to make the computer hard but not impossible... i made a good version of pong in flash where the angle the ball bounces off you paddle is dependant on where the ball hits the paddle... also the computer actually loses sometimes... i think i made it so that the computer moves slower than you do but it has the ability to predict where the ball will be...

Author:  AsianSensation [ Fri Mar 26, 2004 10:06 pm ]
Post subject: 

lol, I know. I was being sarcastic.

....guess it's hard to express sarcasm on the net.

Author:  SuperGenius [ Sat Mar 27, 2004 12:37 pm ]
Post subject: 

I would love to see a tutorial on the Net module. One day in careers I decided to do something interesting and someone ended up making my connect 4 game playable over the internet, which is cool but remains to be tested. The problem with this is that everything he did pretty much went over my head and this is something that I would like to be able to use in my programs.

Author:  zylum [ Sat Mar 27, 2004 7:54 pm ]
Post subject: 

i'm with supergenius. i'd also like to see a net tutorial Wink

Author:  AsianSensation [ Sat Mar 27, 2004 10:54 pm ]
Post subject: 

as soon as dodge_tomahawk gets back, he promised a tutorial on turing net command. As I said, I have never used it, so I don't know anything about it. Anyone else want to write one up?

Author:  recneps [ Mon Mar 29, 2004 4:02 pm ]
Post subject: 

i have troubles with it, but i could write up the beginning if someone will add to it Smile

Author:  Krabjuice [ Sat Apr 03, 2004 9:51 am ]
Post subject:  Re: 3D

Jonny Tight Lips wrote:
I would like a tutorial on how to do 3D in turing. I want to make a 3D game like a 1st person shooter or a flight sim.


Furthermore, i'd be interested in seeing a tutorial dealing with 3D rotational movment.

Author:  not_l33t [ Mon Apr 05, 2004 12:18 pm ]
Post subject: 

I would like to have a tutorial on how to strategize a program for attacking the problem. Like seting up variables, and getting started. Like you don't just throw on stuff like that and hope it works do you?

Well some l33t people would, but I am not_l33t. Very Happy

Author:  Delos [ Mon Apr 05, 2004 2:22 pm ]
Post subject: 

Hmm...this could be arranged within a week or so...is that long enough? Or do you need it right now?

I mean, all it really is is developing a simple Redefinition, Top Down, Pseudo Code approach that we all know and love so well.

So, yeah...there it is right there in summarized form!

Author:  Paul [ Sun Apr 11, 2004 7:09 pm ]
Post subject: 

I dunno exactly what I want, but I wanna learn something new and I don't know where to start or in which direction to go. Heres what I know, Im 3/4 of the way done grade 10 compsci:
string manipulation
graphics like drawing stuff
moving pictures
arrays, 2d arrays
getting and putting stuff with text files
Mouse stuff
keyboard stuff
enough to make pong
procedures but NOT functions
loop stuff

prolly learned some other stuff, but forgot.
Any topics that would be interesting?

Author:  AsianSensation [ Sun Apr 11, 2004 7:17 pm ]
Post subject: 

well, first functions, and then OOP. pointers, classes, modules. When you move on to higher languages, you will find that Object Oriented Programming is better.

Author:  zylum [ Sun Apr 11, 2004 7:19 pm ]
Post subject: 

i dunno why you didnt learn functions if you learned procedures... a function is almost like a procedure but what it does is it returns a value. for this reason there is a slightly different way of calling it:

code:
function findSquare (number : int) : real
    var square : real
    square := sqrt (number)
    result square
end findSquare


notice the " :real" at the end of the declaration... this is the type of what is being returned. to call a function, do it the same way you normally do with predefined functions such as sqrt()

and as far as things to learn, i suggest you learn recursion... its pretty phun Wink

-zylum

Author:  Paul [ Sun Apr 11, 2004 7:35 pm ]
Post subject: 

Oh, so that function if I put "put findSquare (9)" would return 3 right? ok. Yea I've heard recursion being thrown around here and there, but have no idea what it is. There was this one guy who gave a lengthy explanation that made no sense to me. and I quote:
Quote:

A function that calls a simpler version of itself to arrive at a solution. For example, the factorial function (n!) can be defined recursively as (n(n-1)!), where (0!) is defined as equal to1. If a function calls another function that calls back the original function again, it is called mutual recursion; most ray-tracing programs fall into this general category.

Author:  zylum [ Sun Apr 11, 2004 7:40 pm ]
Post subject: 

basically what recursion is it's a function or procedure which calls itself... this could be very useful for things such as path finding or making fractals and all these phun things. check out catalysts or my tree program... in both cases we have a procedure which calls itself a certain amount of times to creat the effect

Author:  Paul [ Sun Apr 11, 2004 7:42 pm ]
Post subject: 

It sounds pretty complicated to me, but I'd like to learn it. Very Happy you already taught me the basic function, that means I've actually learned something, which is more than I can say for my last 3 compsci classes. Look I've even made my own function, dunno if its what functions are used for and dunno if theres more to it.
code:

var num: int
function findsides (tiles: int): real
var side: int
side:=floor(sqrt(tiles))
result side
end findsides
get num
put "The biggest square you can make has a side length of: ", findsides(num)

Author:  Tony [ Sun Apr 11, 2004 7:45 pm ]
Post subject: 

heh, here's an example of factorial function
code:

function factorial(n:int):int
if n=0 then
result 1
else
result n*factorial(n-1)
end if
end factorial

for i:1..10
put i,"! : ", factorial(i)
end for

Author:  zylum [ Sun Apr 11, 2004 7:51 pm ]
Post subject: 

yup, thats a nice example of recursion Wink

Author:  MyPistolsIn3D [ Thu Apr 29, 2004 1:53 pm ]
Post subject:  type

how to use the type command. the reference is confusng.thx.

Author:  AsianSensation [ Thu Apr 29, 2004 5:15 pm ]
Post subject: 

well, type and records are all explained in the tutorial section, by dodge_tomahawk, I suggest you check it out.

http://www.compsci.ca/v2/viewtopic.php?t=2325

Author:  MyPistolsIn3D [ Thu Apr 29, 2004 7:01 pm ]
Post subject: 

ty

Author:  noobprogrammer123 [ Tue May 04, 2004 6:37 pm ]
Post subject: 

i need a tutorial on making a "hall of fame" type thing in a game, so if the user gets a high score they input their name it goes in the "hall of fame"

Author:  Delos [ Tue May 04, 2004 6:41 pm ]
Post subject: 

Check this out...

http://www.compsci.ca/v2/viewtopic.php?t=427

If you still need more help, PM me.

Author:  junkpro11 [ Tue May 04, 2004 7:56 pm ]
Post subject: 

i need help on basic stuff like repeat...can u teach me how to use repeat? i think itz useful but i dunno how to use it

Author:  Paul [ Wed May 05, 2004 6:21 pm ]
Post subject: 

put repeat (string, #timestoberepeated)
example
code:

put repeat ("a", 5)

outputs a, 5 times.

Author:  junkpro11 [ Wed May 05, 2004 8:53 pm ]
Post subject: 

ok....actually i experimented and kinda got it

THANKS

Author:  junkpro11 [ Sun May 09, 2004 9:53 am ]
Post subject: 

oh....how do u create a record in turing

like if i want to save the info i put into a new file Embarassed

is it read/write? when i saw the tutorial is just reading from a file or writing to a file....not making a new file

im new to this...please forgive me if i seem like a complete retard

Author:  AsianSensation [ Sun May 09, 2004 3:55 pm ]
Post subject: 

I would suggest you understand simple file I/O, tutorial could be found here:

http://www.compsci.ca/v2/viewtopic.php?t=65

Author:  junkpro11 [ Sun May 09, 2004 9:46 pm ]
Post subject: 

i understand the input output...i want to know who to save a record

eg. i created student record
array 1..100 lets just say


i want to write a procedure that can add a student record, and save it in a seperate file and can be used later....sort of like a database

Author:  AsianSensation [ Sun May 09, 2004 10:10 pm ]
Post subject: 

http://www.compsci.ca/v2/viewtopic.php?t=2325

tutorial for making a record.

To save and get a group of data for an array of records, just make sure you know the order in which to get, like which line corresponds to which variable.

Author:  not_l33t [ Thu May 13, 2004 7:35 pm ]
Post subject: 

I suggest a tutorial on simple sequencing and functions. Like the one I was taught:

code:
fcn fib (a : int, b : int) : int
    put b
    delay (1000)
    result fib (b, a + b)
end fib

put 1
put fib (1, 1)


Thanks to the dude with the picture of Mao.

Author:  LiquidDragon [ Sun May 16, 2004 5:09 pm ]
Post subject: 

Ok what about a fork tutorial? I still dont understand the benefits of it. All i know is it can pick something random from two of them. That doesn't make sense. well i looked at the on in the help file and it still doesnt make sense Confused

Author:  Tony [ Sun May 16, 2004 5:54 pm ]
Post subject: 

LiquidDragon wrote:
I still dont understand the benefits of [fork]

good, cuz processes are bad and you shouldn't be using them Naughty

Author:  Ultimus [ Sun May 16, 2004 11:47 pm ]
Post subject: 

Processes aren't bad, just the ways most people use them are bad.

They're great for multiuser interfaces like multiplayer games. But as most people use them, yeah, they are just creative ways of halving cpu speed.

Author:  Tony [ Mon May 17, 2004 10:56 am ]
Post subject: 

no, processes suck for multiplayer games. Because each player gets a random ammount of CPU time.

When properly structured, processes are not needed to run users parallel to each other in a multiplayer game

Author:  Mazer [ Mon May 17, 2004 2:38 pm ]
Post subject: 

I think he may have meant multiplayer as in two people at one computer. And sure it's perhaps 'frowned upon' but if used correctly they aren't so bad.

Author:  Dan [ Mon May 17, 2004 3:13 pm ]
Post subject: 

Yep, it is all in how u use them. Also if you have more then one CPU in a computer process can be usesfull to use the full potionel of the computer since there are more then one CPU u whould aucaly be ruing the code at the same time and not ramdoly intermixed. This could also be helpfull with system with multy threading.

BUT....I do not think there is any comand in turing that will tell u how many CPUs are in a computer so this whould not be veryprobale. Basicky procouse can be dangeruers when you do not funny undersatnd how they work alougth they do have proupose in some cases.

Author:  Tony [ Mon May 17, 2004 6:55 pm ]
Post subject: 

Hacker Dan wrote:
they do have proupose in some cases.

processes had a purpose while Music.PlayFileReturn was not there Laughing

Author:  Paul [ Mon May 17, 2004 7:05 pm ]
Post subject: 

That command only works on 4.0.5, its still processes for those schools who didn't catch on fast enough.

Author:  Mazer [ Mon May 17, 2004 7:35 pm ]
Post subject: 

Yeah, I was just going to point that out

code:

process PlayFileReturnProc (fileStr : string)
    PlayFile (fileStr)
end PlayFileReturnProc

procedure PlayFileReturn (fileStr : string)
    fork PlayFileReturnProc (fileStr)
end PlayFileReturn

Laughing

Author:  Danyo [ Fri May 21, 2004 9:55 pm ]
Post subject: 

how about a tutorial in the Net. functions...?

Author:  Vicous [ Sat May 22, 2004 7:13 pm ]
Post subject: 

OK, you have two seperate tutorials on reading/writing to files. How about including the LAST of the advanced commands? (Mod, seek, tell, etc.?)

Just a suggestion from a frustrated programmer who will now go and try and figure it out on his own... gah...

Author:  seltsammacker1 [ Sun May 23, 2004 5:54 pm ]
Post subject: 

How's a tutorial on reading and writing to a file using read and write commands instead of get and put sound?
What about a tutorial on creating a database and how to identify the different fields in a record when you want to read and write to the file containing the records? Very Happy

Author:  AsianSensation [ Mon May 24, 2004 12:09 pm ]
Post subject: 

Im pretty sure there is already a tutorial on read/write/mod/seek

and I am not too good with turing net functions, I'd tell dodge_tomahawk to make one, but he is working on our final project that is due in 1 week, so..........yeah.

Author:  DanShadow [ Fri Jul 30, 2004 9:07 pm ]
Post subject: 

Ill create a tutorial for .NET functions at popular request. Ill try to get it down ASAP.. and ill include an example with a multiuser chat interface as well.

Author:  cycro1234 [ Sun Jan 09, 2005 5:33 pm ]
Post subject: 

A Turing AI tutorial?

Author:  AsianSensation [ Sun Jan 09, 2005 6:24 pm ]
Post subject: 

There is an AI tutorial (I think) in the General Programming section. Now as for specific turing AI, it will depend on different kind of programs that you are making. Chess AI and RTS pathfinding are kinda different, so most of it are program dependent.

Author:  cycro1234 [ Sun Jan 09, 2005 7:11 pm ]
Post subject: 

I'm thinking of doing AI for a connect 4 game.

Author:  AsianSensation [ Mon Jan 10, 2005 6:50 pm ]
Post subject: 

I think there is a open sourced one for Connect 4. Should be in Turing source section, I think PaddyLong did it. Search for it, I can't seem to recall it off hand.

Author:  Cervantes [ Sun Jan 30, 2005 9:47 am ]
Post subject: 

We need tutorials on the following subjects/modules:

  • Windows
  • Sys
  • enum
  • Time


And getting a more comprehensive tutorial on the following subject would also be great:


Bits will be awarded for quality tutorials on these subjects.
-Cervantes

Author:  Flikerator [ Sat Feb 26, 2005 12:02 am ]
Post subject: 

Would you like me to do a tutorial on Windows? I use them all the time. My Zombie Mass Acres game is a tribute to that lolz. It has 5 windows, 7 if you include the two that I close. I would right it very detailed with examples and everything.

You want more then just Window.Open() right?

Author:  lapo3399 [ Sat Feb 26, 2005 8:52 am ]
Post subject:  Orbital Gravity

I always wanted to know how to make objects orbit around each other. A while back I found a .exe file on this site that showed that and I've always wanted to know how.

A tutorial on this would be cool (or if anyone has a link or another tutorial/message about this it would be great too)

Very Happy

Author:  Cervantes [ Sat Feb 26, 2005 9:25 am ]
Post subject: 

Flikerator: that would be awesome. And yes, more than Window.Open would be good. Also, on the topic of Window.Open, could you zip through the various options (ie. position, graphics, offscreenonly, title, nobuttonbar, nocursor, noecho, xor, etc.)

lapo3399: Here's where I started on that topic:
http://freespace.virgin.net/hugo.elias/models/m_stars.htm
Also, there's plenty of source code in the Gravity thread.

Author:  lapo3399 [ Sat Feb 26, 2005 9:34 am ]
Post subject: 

ty

Very Happy

Author:  Flikerator [ Sat Feb 26, 2005 6:37 pm ]
Post subject: 

Cervantes wrote:
Flikerator: that would be awesome. And yes, more than Window.Open would be good. Also, on the topic of Window.Open, could you zip through the various options (ie. position, graphics, offscreenonly, title, nobuttonbar, nocursor, noecho, xor, etc.)

lapo3399: Here's where I started on that topic:
http://freespace.virgin.net/hugo.elias/models/m_stars.htm
Also, there's plenty of source code in the Gravity thread.


Yah sure ill cover all those, but it will have to be mabye monday before I start writing it as I have too many projext due and I have been slacking Razz

Expect it Monday or Tuesday.

EDIT - I can also do a tutorial on Drawing if nobody covers it when I post the Window tutorial. Will have lots of details.

Author:  Flikerator [ Thu Mar 03, 2005 3:48 pm ]
Post subject:  I know double post but I need to get attention here :P sry

Can someone please write a tutorial for functions? We were never taught them and I need a tutorial so I can master them by tuesday... I have never really used them before but all the sample questions answeres had functions. Ive only used Procs and Processes but functions seem to do the same thing as procedures...Ie turing help doesn't explain very well.

If there is a GOOD tutorial focusing on all the functions of a functions then just give me a link, I couldn't find a GOOD one with the search thing.

Author:  Tony [ Thu Mar 03, 2005 3:58 pm ]
Post subject: 

have you read this yet? The tutorials compares & contrusts procedures, functions and processes. Should be easy to understand.

Author:  Flikerator [ Thu Mar 03, 2005 5:40 pm ]
Post subject: 

Yes thanks, I read that last night. It didn't explain the result or the;

function doubleIt (x : real) : int

part of it, I bugged Cervantes and he helped me lolz. Thanks for the help though ^^

Author:  Viper [ Sat Mar 12, 2005 11:29 am ]
Post subject: 

sorting{bubble sort, shell sort..etc}

Author:  Flikerator [ Sat Mar 19, 2005 9:18 pm ]
Post subject: 

Could someone write a tutorial on Intstr, Strint and all those things? Like a detailed one, not a 5 minute thrown together non helpful tutorial :/

Author:  Cervantes [ Sat Mar 19, 2005 9:24 pm ]
Post subject: 

Hey Flikerator, there's something spooky going on. I still haven't seen that window tutorial! Laughing
Tell you what, I'll write the string manipulation tutorial when you do the window tutorial. Mwahahahaha! Twisted Evil Laughing

Heh, actually, I'm going to do the same thing you did and say I can't do it this week. Next week though!

Author:  Flikerator [ Sat Mar 19, 2005 9:26 pm ]
Post subject: 

Cervantes wrote:
Hey Flikerator, there's something spooky going on. I still haven't seen that window tutorial! Laughing
Tell you what, I'll write the string manipulation tutorial when you do the window tutorial. Mwahahahaha! Twisted Evil Laughing

Heh, actually, I'm going to do the same thing you did and say I can't do it this week. Next week though!


Lolz alrighy Wink

Ill write the Windows Tutorial For friday Wink I mean it this time ^^

Author:  Naveg [ Sun Mar 27, 2005 7:55 pm ]
Post subject: 

can someone write a tutorial on objects? i've heard about them and that they are useful, but i dont really know what they are, much less how to use them

Author:  Mr. T [ Sun Mar 27, 2005 11:27 pm ]
Post subject: 

How about a tutorial on dual screen usage Smile

Author:  Naveg [ Sun Mar 27, 2005 11:29 pm ]
Post subject: 

Pwned wrote:
How about a tutorial on dual screen usage Smile


what do you mean? multiple windows for a single program?

Author:  Mr. T [ Sun Mar 27, 2005 11:31 pm ]
Post subject: 

ya like in my uncle worm game, the screen dimensions decrease every level. so instead of having the score at the top, i can put it in a separate window Smile

Author:  Cervantes [ Mon Mar 28, 2005 9:07 am ]
Post subject: 

Pwned wrote:
How about a tutorial on dual screen usage Smile

ROFL Flikerator... Laughing I've done my part!

Author:  Mr. T [ Mon Mar 28, 2005 11:38 pm ]
Post subject: 

Cervantes wrote:
Pwned wrote:
How about a tutorial on dual screen usage Smile

ROFL Flikerator... Laughing I've done my part!

i dont get it

Author:  Naveg [ Mon Mar 28, 2005 11:40 pm ]
Post subject: 

nor do i lol, i think its an inside joke

Author:  Mr. T [ Tue Mar 29, 2005 12:07 am ]
Post subject: 

but i wanted a tutorial on dual screen usage, not an inside joke Sad

Author:  Bacchus [ Tue Mar 29, 2005 7:03 am ]
Post subject: 

no Cervantes was laughing because a bit ago Flikerator agreed to make a tutorial on the screen command and using more then one. he said he was gonna do it in like a week but that was like a month ago lol

Author:  Mr. T [ Tue Mar 29, 2005 1:16 pm ]
Post subject: 

well, can someone make a tutorial?!?!?!

Author:  Cervantes [ Tue Mar 29, 2005 4:26 pm ]
Post subject: 

Don't worry Pwned, I'll make sure you get it. Twisted Evil

Author:  Drakain Zeil [ Mon Apr 04, 2005 8:27 pm ]
Post subject: 

If I had two screens I'd try it... but I don't. Heh.

Is anyone interested in me posting up an object tutuorial?

Author:  Mr. T [ Tue Apr 05, 2005 11:51 pm ]
Post subject: 

Drakain Zeil wrote:
If I had two screens I'd try it...

i dont literally mean two monitors lmao

Author:  Drakain Zeil [ Wed Apr 06, 2005 6:08 am ]
Post subject: 

You've lost me, do you mean two windows?

Author:  Bacchus [ Wed Apr 06, 2005 4:20 pm ]
Post subject: 

he means 2 turing run windows, not 2 screens

Author:  Drakain Zeil [ Wed Apr 06, 2005 8:36 pm ]
Post subject: 

Isn't that like "Window.New" ?

Author:  jamonathin [ Wed Apr 06, 2005 8:42 pm ]
Post subject: 

Always check F10, it's your right hand asian man
code:
var winID : int
        winID := Window.Open ("position:top;center,graphics:200;200")

Author:  Mr. T [ Wed Apr 06, 2005 11:00 pm ]
Post subject: 

im talking about two running at the same time Rolling Eyes

Author:  Drakain Zeil [ Thu Apr 07, 2005 6:01 am ]
Post subject: 

Why can't you Window.Open two windows? If you don't even have output in the first place, you don't get a window.

Author:  Flikerator [ Tue Apr 12, 2005 9:47 am ]
Post subject: 

Okay I know I said I would but ive been really busy. I told Cervantes that I couldn't do it, but if you guys REALLY want one ill make you a short tutorial. Just tell me the specifics of what you want in it and ill make it on all that stuff. Ill come update it like once or twice a week untill its done.

Author:  Dudewhatzup1 [ Sun May 01, 2005 5:39 pm ]
Post subject: 

heres an idea wut about conditions?

Author:  AsianSensation [ Sun May 01, 2005 7:20 pm ]
Post subject: 

what about conditions?

If you mean if statements, there is one in the tutorial section
If you mean case statements, then there is also one in the tutorial section
If you mean...I don't know what else you could mean....

Author:  adamh10 [ Wed Jun 08, 2005 11:40 am ]
Post subject:  Suggested Tutorial - parallelput / parallelget, etc.

I think it would be useful to post a tutorial which walks people through the process in using Turing with external equipment - such as parallel ports, electronic experimenter kits, LEDs, etc. I am building a traffic light simulation and need help with the switches I have attached to it and getting it to work. parallelput / parallelget commands are needed, but a tutorial explaining how to use them would be useful.

Thanks

Author:  ZeroPaladn [ Thu Jun 09, 2005 9:18 am ]
Post subject: 

would somebody be able to make a tutorial on how to make stuff mone on the screen when you hit the up, down, left, or right keys (like using the getch command) id be grateful.

Author:  Tony [ Thu Jun 09, 2005 6:17 pm ]
Post subject: 

ZeroPaladn wrote:
would somebody be able to make a tutorial on how to make stuff mone on the screen when you hit the up, down, left, or right keys (like using the getch command) id be grateful.

I wrote that 2.5 years ago

Author:  Paul [ Mon Sep 12, 2005 3:42 pm ]
Post subject: 

How about a tutorial about binary files using records?
Like the kind you would use for easy data manipulation in a store inventory application.

Author:  TokenHerbz [ Tue Sep 20, 2005 3:47 am ]
Post subject: 

Perhaps someone can write a tut on BSprites... Perhaps Baccus himself?

Also, please incude into, examples, etc:

Note, when i try to include BSprites i get errors, im on 4.0.4c

thx tho

Author:  [Gandalf] [ Tue Sep 20, 2005 3:49 pm ]
Post subject: 

I think the explanations on the topic where he posted it is fairly sufficient, I might be wrong. The problem is likely that you need 4.0.4d.

Author:  TokenHerbz [ Sat Oct 08, 2005 12:12 pm ]
Post subject: 

yeah i dont need that BSprites anymore...


BUT!!!!

I would like an exelent tutoreal on grids..

Step by step walk threws with a nooby stage, intermediate, and advanced like the tut Zylum has done...

I want to know how to make the text file, use it, and all that

Author:  Cervantes [ Sat Oct 08, 2005 2:55 pm ]
Post subject: 

http://www.compsci.ca/v2/viewtopic.php?t=9878

Do you need more explanation?

Author:  TokenHerbz [ Sun Oct 09, 2005 6:07 am ]
Post subject: 

Yes, i dont want a CODE,

i want a walkthrew...

i dont want to figure that shit out... hook me up with a nice one canervantalists please....

PLEASE!!!!


I LOVE YOU!

peace home slice...

Author:  Cervantes [ Tue Nov 01, 2005 5:39 pm ]
Post subject: 

El Comandante wrote:
could some1 post a tutorial on sets....the turing reference isnt to good and post some tips on how to manipulat data insed or take it out thx


i looked and counnt find any if there are im blind

Author:  MihaiG [ Tue Nov 01, 2005 6:47 pm ]
Post subject: 

Cervantes wrote:
El Comandante wrote:
could some1 post a tutorial on sets....the turing reference isnt to good and post some tips on how to manipulat data insed or take it out thx


i looked and counnt find any if there are im blind

hmmm thnx... unfortunetly i was not blind enough to miss this area..... i suggest cerv shopudl do one... Twisted Evil

Author:  The-Ghost [ Tue Nov 29, 2005 8:22 pm ]
Post subject: 

hey can some one make a tutorial on how to interface w/ a heatkit experimanter to turn on leds, useing the paralel(sp) port, im new to the hole interfacing part of it, but when its shown to me ill bable to get it as my teachers an aS5 and thinks we should all know it eventhou half of us never got that far last year,
thanks in advance

Author:  Cervantes [ Mon Dec 19, 2005 5:44 pm ]
Post subject: 

emphyze wrote:
Sorry if I've missed it, but can anyone write a tutorial on various searching and sorting methods and perhaps include some examples that describe each. I only found the one bubble sorting tutorial, but I'm looking for other methods like binary sorting for really large amounts of data.

Thanks Smile


[Gandalf] wrote:
You can find various examples of the most popular sorting techniques here. It doesn't include searching methods, but it should get you started on what you need to know for both sorting and searching.


Must keep... forum... clean!

*dies*

Author:  solblade05 [ Wed Jan 04, 2006 1:12 pm ]
Post subject: 

Hey all,

Can someone post a tutorial on error proofing but using Font.Draw?
The code; I have posted it in the Turing Help section, the topic is:

"I Need To Improve My Program and Need Feedback..."



Thanks[/code]

Author:  jennawon [ Fri Jan 06, 2006 2:10 pm ]
Post subject:  Desperate for help!!!!!!

hey, i have a project that is due,,,,

but i have no clue what to do.....

I have to import a map

then put buttons so that when u click a certain place in a map

it tells you the location.

how do you do this

where do i start

and how do i even import a picture

and the buttons are not the buttons i think they are

everything is confusing

help meee

Author:  chrispminis [ Fri Jan 06, 2006 3:46 pm ]
Post subject: 

First off, this should be in the Turing Help Section.

Otherwise look around the Tutorials in the section, none of what you are asking for is very hard to find. Also check the Turing Help Files and search Pic. You should come up with all the commands related to pictures. Shouldn't be too hard. If you still need help ask in the Turing Help.

Author:  chrispminis [ Tue Jan 10, 2006 11:30 pm ]
Post subject: 

Yeah, I'd like to request a tutorial on sprites... I know, sprites have been done over and over, but for us who need to know for an assignment, and shouldn't use DanSprite or BacchusSprite, how would we go about making our own modules? Also could you basically explain what's going on? Also, how do you put pictures into an array?

Yeah, also if someone could explain what everyone means by a grid system?

Author:  ZeroPaladn [ Thu Apr 13, 2006 9:09 am ]
Post subject: 

is there some sort of trig tutorial somewhere? I'm taking Grade 11 physics as well, but i kinda dont know how to implement it into my programs.

Author:  Delos [ Thu Apr 13, 2006 12:30 pm ]
Post subject: 

Ever heard of Searching? Wink

Baisc Trig by Mazer
Spaceship movement incorporating trig by zylum

Author:  ZeroPaladn [ Thu Apr 13, 2006 1:07 pm ]
Post subject: 

Embarassed thanks for the tip Delos, and the links helped. Thanks.

Author:  BenLi [ Mon May 01, 2006 2:59 pm ]
Post subject: 

i would like to see a tutorial written about arrays. I've seen oniTony's but what about how to USE an array and not only how to declare it. A complete tutorial would be nice

Author:  Tony [ Mon May 01, 2006 3:13 pm ]
Post subject: 

We have another arrays tutorial by Andy and flexible arrays by Cervantes. Both found in the Turing Walkthrough.

if you find some tutorial to be lacking content, ask a question within the tutorial's thread.

Author:  unknowngiver [ Fri May 19, 2006 2:16 pm ]
Post subject: 

Hey
I was wondering if anyone can post a tutorial on how to get MUSIC and PICTURES from the internet [from a website] and put it on turing
i know how to get data from the internet...like TEXT stuff..but cant get an image and a music file...Thanks Very Happy

Author:  Cervantes [ Tue May 30, 2006 3:13 pm ]
Post subject: 

Red_Rain wrote:
I would like to know how to use GUI so if someone would post a toutorial that would be appreciated


http://www.compsci.ca/v2/viewtopic.php?t=3583, though it's not a full tutorial, only an introduction.

Author:  Mystique [ Wed May 31, 2006 4:01 pm ]
Post subject: 

How about a tutorial on Mouse.ButtonMoved and Mouse.ButtonWait ?

Author:  [Gandalf] [ Wed May 31, 2006 9:38 pm ]
Post subject: 

I don't really see the need in a tutorial on those... Instead you can just use Mouse.Where() and check if the mouse button has been pressed. If that's not good enough, you can always just check the Turing help files. A whole tutorial isn't neccessary just to teach you how to use two minor functions.

Author:  Cervantes [ Fri Jun 16, 2006 4:31 pm ]
Post subject: 

aussilia wrote:

Could someone please write a tutorial on how to use 3d algorithms to project into a 2d screen?

Thanks alot!

Author:  Slaivis [ Fri Jun 23, 2006 9:38 pm ]
Post subject: 

Cervantes wrote:
aussilia wrote:

Could someone please write a tutorial on how to use 3d algorithms to project into a 2d screen?

Thanks alot!


What about this?

Author:  Cervantes [ Sat Jun 24, 2006 7:34 am ]
Post subject: 

There was a link to a good tutorial on the good-looking textured light-sourced bouncy fun smart and stretchy page, but I couldn't find it.

...there it is! http://freespace.virgin.net/hugo.elias/routines/3d_to_2d.htm

Author:  Delos [ Sat Jun 24, 2006 11:39 am ]
Post subject: 

Cervantes wrote:


I remember that page! I think it was either or both of Catalyst/zylum who first showed it to us...I never did figure it out though Laughing. Perhaps when I get tired of 2D graphics.

Author:  Ultrahex [ Sun Oct 29, 2006 5:20 pm ]
Post subject: 

No offense Guys, But I Think This Thread (and sorta the topic also) needs revamping.

There is way too many tutorials that are not sorted apon eachother.

Maybe a Naming Convention
so for Physics Related Tutorials its all

[Physics] Projectile Motion

Also This THREAD needs to be constantly edited for new ideas, for example someone should set up it so you MSG (someone could be me if you guys want) and i update the Main Thread based apon if its a worthwhile Suggestion for a Tutorial Request, This Way people making tutorials do not have to go through these 7 pages of replies +++ in order to figure out which tutorial to make.

If someone is willing to put this into action of some sort, i should be around this week or just PM me, and ill see what i can do.

Author:  Chrisd534 [ Mon Nov 13, 2006 2:03 pm ]
Post subject: 

yo guys im new to turing i just got into it liek 2 weeks ago in tech class. my teacher already gave me a cpt. the point of the cpt is to make an rc car move using the keyport and the port your printer cable goes into. if any1 can can u make me a tutorial to make the rc car move left right forward reverse and stop. If any1 can help me i will greatly apprechiate it. TY XDXDXD

Author:  Cervantes [ Mon Nov 13, 2006 2:43 pm ]
Post subject: 

Ultrahex wrote:
Also This THREAD needs to be constantly edited for new ideas, for example someone should set up it so you MSG (someone could be me if you guys want) and i update the Main Thread based apon if its a worthwhile Suggestion for a Tutorial Request, This Way people making tutorials do not have to go through these 7 pages of replies +++ in order to figure out which tutorial to make.


I don't think this is really necessary. This thread doesn't receive so much attention that a request will be lost in a pile of replies very quickly. If there's a request, and anybody's willing to do it, it'll be done. Besides, if something is really important, it'll appear in the Improving Tutorials thread.

Author:  Chrisd534 [ Mon Nov 13, 2006 10:29 pm ]
Post subject: 

Chrisd534 wrote:
yo guys im new to turing i just got into it liek 2 weeks ago in tech class. my teacher already gave me a cpt. the point of the cpt is to make an rc car move using the keyport and the port your printer cable goes into. if any1 can can u make me a tutorial to make the rc car move left right forward reverse and stop. If any1 can help me i will greatly apprechiate it. TY XDXDXD
sry guys i meant keyboard not keyport

Author:  Chrisd534 [ Tue Nov 14, 2006 1:49 pm ]
Post subject: 

o ya and when i move the car it has to show on the screen what its doing like forward back left or right ty

Author:  Dannyd534 [ Tue Nov 14, 2006 10:40 pm ]
Post subject: 

um its a project u have to figure it out urself...no cheating

Author:  DemonZ [ Sat Nov 18, 2006 6:37 pm ]
Post subject: 

If theres a tutorial that should be made, it should be one about making your own AI pathfinder, because ive tried experimenting with this, and its almost impossible for me. If someone skilled could write something up on AI pathfinding that would be great, and please dont tell me that it cant be acomplished with turing because it can if u try hard enough, but im still trying, if anyone knows something about this topic, that would be nice.

Author:  ericfourfour [ Sat Nov 18, 2006 6:53 pm ]
Post subject: 

Demonz check out the recursion tutorial by zylum. The path finding algorithm is around sections 2 or 3. If you want a really good path finding algorithm check out www.gamedev.net .

Author:  DemonZ [ Sat Nov 18, 2006 7:25 pm ]
Post subject: 

alright thanks im gonna enjoy this! Very Happy Very Happy

Author:  zedx_26 [ Thu Jan 25, 2007 3:01 pm ]
Post subject:  Re: Request a Tutorial

i would like to know that how to use arrays in graphics. especially more the 1 objects of same size for example Blocks in ping pong game

Thanks

Author:  DemonZ [ Fri Jan 26, 2007 1:37 pm ]
Post subject:  Re: Request a Tutorial

Yah just out of curiousity, is there a tutorial on the NET module, for online game making? If there is can someone please give me the link to it so that I can learn how to use the network capabilities of turing (no matter how crappy they are)

Author:  Cervantes [ Fri Jan 26, 2007 5:39 pm ]
Post subject:  RE:Request a Tutorial

Yeah, we've got a Net tutorial. It's actually in the Walkthrough, listed under Extras -> Other. Here's the link.

Author:  DemonZ [ Fri Jan 26, 2007 8:06 pm ]
Post subject:  Re: Request a Tutorial

Ok thanks Cervantes

Author:  Bo0sT [ Mon Jan 29, 2007 3:13 am ]
Post subject:  Re: Redo the sounds tutorial please

The sound tutorial is out of date, can you please re-make that one, i would really like to know how to do that

Author:  zwnage [ Sun Feb 04, 2007 6:45 pm ]
Post subject:  RE:Request a Tutorial

Is it possible for someone to create a tutorial about programming fluids? Something like explaining how to do this: http://www.compsci.ca/v3/viewtopic.php?t=11050

It would be nice if someone can make a tutorial explaining the concepts of programming water.

Author:  gaurdianAQ [ Tue Feb 13, 2007 6:37 pm ]
Post subject:  RE:Request a Tutorial

can someone make a tutorial on locating text and loops please

Author:  Clayton [ Tue Feb 13, 2007 6:45 pm ]
Post subject:  Re: Request a Tutorial

loops are found in the Turing Walkthrough and locating text is somewhere in there too Very Happy

Author:  selentic [ Mon Apr 30, 2007 11:49 am ]
Post subject:  Re: Request a Tutorial

Is there a tutorial on sound in turing?

Or a tutorial on placing movies files (if it can be done) In a turing program?

Author:  rollerdude [ Mon Apr 30, 2007 12:08 pm ]
Post subject:  Re: Request a Tutorial

you can watch movies in turing... there's and example in the examples folder in your turing directory (on your computer.. in case your confused) maybe inpiration will come from there?

Author:  selentic [ Mon Apr 30, 2007 3:25 pm ]
Post subject:  Re: Request a Tutorial

rollerdude @ Mon Apr 30, 2007 12:08 pm wrote:
you can watch movies in turing... there's and example in the examples folder in your turing directory (on your computer.. in case your confused) maybe inpiration will come from there?


I looked at that and it wasnt exactly what I was talking about, I dont want a program that will open a media player. What Im talking about is something like what they did in myst, (awesomest game ever Very Happy) Anyway what they did in myst was have quick time movies as all the animations. So is there a way to make a movie appear on a specific part of the screen of the actual program?

Author:  Mazer [ Mon Apr 30, 2007 4:58 pm ]
Post subject:  RE:Request a Tutorial

No. The closest you can get right now is probably to split a video clip's frames into a bunch of files and draw the sequentially at whatever framerate seems appropriate.

Author:  selentic [ Mon May 14, 2007 12:26 pm ]
Post subject:  Re: Request a Tutorial

How do I do the ShowMovie command like in the example that comes with turing? If there's a tut on it, I didnt see it Sad

Author:  DIIST [ Mon May 14, 2007 5:03 pm ]
Post subject:  Re: Request a Tutorial

you have to read the file and decode the bits to interpret the data. Often time the pixle data of each frame is stored in different colourspaces like yuv, because it can be compressed more. In that case you have to convert it to turing;s native colourspace rgb. Another thing is you need to be aware of linklist and know they work because an avi file is modeled after the same concept. When you seek through a media file you are actually traversing thought the chunks in the list. Each chunks contains data on few frames and a reference to the next chunk in the file. Several chunks make a stream and you have several different streams like (subtitle text, video, audio). There is also header chunks and a lot of other stuff. If you really interested pm me, i have a tutorial but its written for C.

Author:  beginnerprogrammer [ Sat May 26, 2007 3:26 pm ]
Post subject:  RE:Request a Tutorial

I want a button tutorial that has how to do simple button s to advanced buttons please and thank you.

Author:  jamoskullis [ Fri Jun 08, 2007 5:55 pm ]
Post subject:  Re: Request a Tutorial

could someoen help me learn time.elapse?

Author:  DifinityRJ [ Mon Jun 11, 2007 9:30 pm ]
Post subject:  Re: Request a Tutorial

Can someone post a 2-d Mapping Tutorial, i know there already is one , but that one just shows the basics of it, and i want to know how you can move the tiles without Pic.ScreenLoad and Pic.ScreenSave, that's just taking a shortcut, and is no better than finding pictures on the internet for your game.

Thank you.

Author:  CodeMonkey2000 [ Tue Jun 12, 2007 4:00 pm ]
Post subject:  RE:Request a Tutorial

I might write one after exams.

Author:  krths [ Tue Jun 12, 2007 8:21 pm ]
Post subject:  Re: Request a Tutorial

Hey im new to the site but have a basic understanding of programing basics. I recently learned a sort method but it seemed slow so i endevored to learn how to make a function called "quicksort" in turing. Wikipedia has a complicated explination with some example pseudocode but i cant manage to fasion it into a usuable sorting function... Would someone be able to post a breif tutorial on how to create a decent sorting program? ("quicksort" preferably or better if known)


Canada

Author:  Clayton [ Tue Jun 12, 2007 8:27 pm ]
Post subject:  RE:Request a Tutorial

I recall seeing a bunch of sorting algorithms posted in Turing Submissions a while ago. I suggest you search 'quicksort' there and see what comes up.

Author:  dymd3z [ Mon Jun 18, 2007 11:50 pm ]
Post subject:  RE:Request a Tutorial

I need to know how to store and retrieve data from files.

Author:  Saad [ Tue Jun 19, 2007 6:36 am ]
Post subject:  Re: Request a Tutorial

Check out the tutorial here . It covers file i/o very well

Author:  CodeMonkey2000 [ Wed Oct 31, 2007 9:59 pm ]
Post subject:  RE:Request a Tutorial

We still need a good, complete tutorial on pointers and linked lists. Pointers are very important, yet they don't get covered in most high schools.

Author:  Nick [ Wed Oct 31, 2007 10:05 pm ]
Post subject:  RE:Request a Tutorial

you mean pointers as in ^ reffering to classes?

Author:  Cervantes [ Thu Nov 01, 2007 2:09 pm ]
Post subject:  RE:Request a Tutorial

Not really. He's talking about pointers for linked lists, as stated. CodeMonkey, do you think that together, this and this are not acceptable?

Author:  CodeMonkey2000 [ Sat Nov 03, 2007 1:08 am ]
Post subject:  RE:Request a Tutorial

Well I guess they are good. They can still go more in depth though.
Why does turing require collections for linked lists, and what is the difference between collections and types?

Author:  rahzab [ Sun Nov 11, 2007 3:26 pm ]
Post subject:  Re: Request a Tutorial

uh, could you guys do a tutorial for storing the frames of a gif animation into an array, and playing the animation when a specific key is hit.

I know how to do the input.keydown stuff its just that when i went to turing help on Pic.DrawFrames, the help was totally useless. (holtsoft doesn't even know how to use their own environment...)

I do have turing 4.1 so i can use sprites and what not.

And if you guys do make a tutorial on that, could you please tone down the vocabulary
some of your tutorials are really crazy with vocabulary... Mr. Green

not criticizing you guys just a friendly tip! Very Happy

oh yeah and how do i simultaneously move two objects at the same time...
when i made it so that two people control one ball each, when the balls moved it was extremely flashy, and when one guy moved it ,
the other guy's ball disappeared... Question

thanks, i just want to get a bit more ahead of the class.

Author:  CodeMonkey2000 [ Sun Nov 11, 2007 4:25 pm ]
Post subject:  Re: Request a Tutorial

rahzab @ Sun Nov 11, 2007 3:26 pm wrote:


And if you guys do make a tutorial on that, could you please tone down the vocabulary
some of your tutorials are really crazy with vocabulary... Mr. Green

Mabey you should expand your vocabulary Wink.

Author:  rahzab [ Mon Nov 12, 2007 5:57 pm ]
Post subject:  Re: Request a Tutorial

lol dont u go and worry about me... Wink

I speak for the people! Surprised

Author:  Mazer [ Mon Nov 12, 2007 8:34 pm ]
Post subject:  RE:Request a Tutorial

You really really don't. But let's keep this about tutorials you'd like to see.

Author:  rahzab [ Wed Nov 14, 2007 6:52 pm ]
Post subject:  Re: Request a Tutorial

I figured it out by myself I don't need a tutorial anymore.
All I had to do was View.UpdtaeArea instead of the regular View.Update

Author:  tamir [ Thu Jan 10, 2008 7:16 pm ]
Post subject:  Re: Request a Tutorial

if someone can post a tutorial about using IR recievers and emitters linked with GUI im Turing it will be very helpful...and bits would be rewarded Laughing


Thanks


Tamir

Author:  A.J [ Mon Feb 04, 2008 1:49 pm ]
Post subject:  Re: Request a Tutorial

If anyone could post a tutorial on how to make games on turing (RPG especially) I would be grateful.

Author:  Mackie [ Mon Feb 04, 2008 3:35 pm ]
Post subject:  Re: Request a Tutorial

A.J @ Mon Feb 04, 2008 1:49 pm wrote:
If anyone could post a tutorial on how to make games on turing (RPG especially) I would be grateful.


There is no one way to make a game or an RPG. So a tutorial would be flawed. Just think of everything you need for it to be a game, and learn everything involved. [/list]

Author:  ericfourfour [ Mon Feb 04, 2008 5:17 pm ]
Post subject:  RE:Request a Tutorial

There is a guide somewhere around here that gives you a basic outline of an RPG.

An RPG is probably the most time consuming game you can make. Kind of like, in grade 12, data management compared to calculus. Simpler concepts but a ton of work.

Author:  BigBear [ Fri Feb 15, 2008 4:46 pm ]
Post subject:  Re: Request a Tutorial

I was wondering if someone could make a tutorial on keyboard oriented menus like in Bios when you see where your cursor is using the arrow keys and enter. All I know is mouse and push 1 or 2 or 3. It would be neat thanks.

Author:  jd [ Wed Feb 20, 2008 8:39 pm ]
Post subject:  RE:Request a Tutorial

Could anyone teach me on how to rotate a 3D box using the method of drawbox and drawline. Is it possible to rotate the box? My teacher said its could be possible to rotate, but it will be tricky.
Thank You ;]

Author:  gitoxa [ Thu Apr 10, 2008 6:02 pm ]
Post subject:  Re: Request a Tutorial

I think a good tutorial to see would be how to use data types properly.
ie. nat1, int2, string(50)

Everyone and their dog uses 'int' for any type of number they have, and no one puts a size on their strings.

Author:  [Gandalf] [ Thu Apr 10, 2008 7:52 pm ]
Post subject:  RE:Request a Tutorial

That probably has something to do with Turing already not being resource friendly... There is little point in managing the memory in this way.

Author:  gitoxa [ Thu Apr 10, 2008 7:57 pm ]
Post subject:  Re: Request a Tutorial

Isn't the point of turing to be a learning language? What happens when you switch over to a new language, will you learn that all then, rather then with an easy language?

Author:  Mackie [ Thu Apr 10, 2008 7:58 pm ]
Post subject:  RE:Request a Tutorial

Turing gives you all the wrong idea's you end up re-learning everything anyway. The right way. IMO. Switching to Ruby that is.

Author:  gitoxa [ Thu Apr 10, 2008 8:37 pm ]
Post subject:  Re: Request a Tutorial

'Cause programming concepts are bad, amirite?
If it's so bad that you actually relearn anything when you pick up a new language, why do schools everywhere teach it? I know the school system may have it's downs, but this isn't Kansas.

Author:  OneOffDriveByPoster [ Thu Apr 10, 2008 8:58 pm ]
Post subject:  Re: Request a Tutorial

I have to agree that this should be covered. I see too many people using ints even when nat4 was needed.

Author:  Mackie [ Thu Apr 10, 2008 9:01 pm ]
Post subject:  RE:Request a Tutorial

Fine, ill do it.

Author:  Sean [ Thu Apr 17, 2008 6:40 am ]
Post subject:  RE:Request a Tutorial

Mackie, before you mentioned about making a 3D tutorial, because you felt the other one wasn't as helpful as they planned.

Are you going to make one like you mentioned, or is it another one of your projects that were thrown a side Laughing

Author:  Mackie [ Thu Apr 17, 2008 6:59 am ]
Post subject:  RE:Request a Tutorial

Heh, I wish. I don't know how to do 3D from scratch yet. It's pretty complicated Sean. o.O

Now that I think of it I know someone who might be of help on this topic.... To the Mozilla-mobile!

Author:  Sean [ Thu Apr 17, 2008 7:01 am ]
Post subject:  RE:Request a Tutorial

Alright, just remembered you posting back in January, and thought you were still working on it.

Author:  coolguy [ Mon Jun 09, 2008 4:31 pm ]
Post subject:  Re: Request a Tutorial

how abt randomizing numberss

Author:  Insectoid [ Mon Jun 09, 2008 5:23 pm ]
Post subject:  RE:Request a Tutorial

Randomizing numbers does not require a tutorial, there are dozens of posts asking the same thing you were. It is a simple command that can be searched in the F10 help.

Author:  krazykipa [ Fri Sep 05, 2008 6:13 pm ]
Post subject:  Re: Request a Tutorial

Um, is there a way to code a link to an executable file? Confused

For example, the user is asked: Do you want to play Pong? (Y/N)...
if he inputs "Yes" the executable for Turing Pong starts...

If the answer is really obvious, then sorry... Embarassed

Author:  [Gandalf] [ Fri Sep 05, 2008 7:41 pm ]
Post subject:  RE:Request a Tutorial

Sys.Exec("executable.exe") or system(), if you're not sure how to use it look it up in the Turing documentation (F9).

Author:  SNIPERDUDE [ Fri Sep 05, 2008 9:20 pm ]
Post subject:  RE:Request a Tutorial

Do you mean f10?

Author:  Clayton [ Fri Sep 05, 2008 9:21 pm ]
Post subject:  RE:Request a Tutorial

Yes, F10 will lead you to the Turing Help File.

Author:  krazykipa [ Sat Sep 06, 2008 3:36 pm ]
Post subject:  Re: Request a Tutorial

Thanks for your help!

What's the correct syntax for the Sys.Exec command? (Turing documentation confuses me...)

Let's say i have an executable at C:\\Users\\Robert\\Desktop\\Pong\\Pong.exe

Author:  SNIPERDUDE [ Sat Sep 06, 2008 8:17 pm ]
Post subject:  RE:Request a Tutorial

Turing:
if not Sys.Exec ("http://www.holtsoft.com/turing/support") then
    put "The Sys.Exec call failed"
    put "Error: ", Error.LastMsg
end if
if not Sys.Exec ("skate.avi") then
    put "The Sys.Exec call failed"
    put "Error: ", Error.LastMsg
end if


That was the example given in the Turing F10 Reference.

Learn to use the Turing Help (F10) please.

Author:  ziplok [ Wed Nov 12, 2008 9:08 pm ]
Post subject:  Re: Request a Tutorial

can some one please make me a turing program of a man walking up the staris thanx... Exclamation

Author:  syntax_error [ Thu Nov 13, 2008 6:19 am ]
Post subject:  RE:Request a Tutorial

Till someone does that, you might want to think a bit on your own. A man walking up a staircase has both x and y values that are changing together, so what type of looping system, and such should be used, I bet with a little thinking you can get this on your own, give it a shot; if you get stuck start a new thread and ask for help.

Author:  SNIPERDUDE [ Thu Nov 13, 2008 10:26 pm ]
Post subject:  RE:Request a Tutorial

1) We do not do your work, but we WILL help you if have have a better detailed (more specific to a part of the question with either a concept you don't get or coding problems) question.

2) Do not ask for a tutorial on something so trivial, if it is something that cannot be applied outside that specific question - then there is no need for a tutorial on it. Questions would go in the help forum.

Author:  corriep [ Wed Dec 03, 2008 7:13 pm ]
Post subject:  RE:Request a Tutorial

Is there anyone who can make a Dynamic Programming tutorial?

We started it today and it hasn't really clicked for me.


Just a thought.

Author:  Clayton [ Wed Dec 03, 2008 8:28 pm ]
Post subject:  RE:Request a Tutorial

Search

Author:  Gadiuz [ Mon Dec 08, 2008 5:51 pm ]
Post subject:  Request a Tutorial

I would love a tutorial on importing and exporting, and more specifically how to import GUI's if that's at all possible. I've been looking around for a thread on it but it seems like no ones made one. The help would be greatly appreciated.
Thanks!

Author:  SNIPERDUDE [ Tue Dec 09, 2008 7:58 am ]
Post subject:  RE:Request a Tutorial

I believe there is something on that in the Turing Walkthrough. Under the title of Classes or Pointers or something like that.

Author:  Inuspal [ Fri Jan 02, 2009 2:00 pm ]
Post subject:  RE:Request a Tutorial

How to make a music player?

Author:  lnconcise [ Fri Jan 02, 2009 2:17 pm ]
Post subject:  Re: Request a Tutorial

Can anybody do a tutorial on algorithms? Specifically on minimax?

Author:  [Gandalf] [ Sat Jan 03, 2009 6:22 am ]
Post subject:  RE:Request a Tutorial

Algorithms being algorithms, they are programming language independent... and as such a google search will give you plenty of helpful results. For example the Wikipedia page on it. If you have any further questions, you can ask them in the General Programming section, or if you're having trouble implementing it, you can ask in Turing Help.

Edit: And "how to make a music player" isn't a Tutorial topic, the equivalent tutorial would be under "files", "guis" (perhaps), and "music" or "sound".

Author:  S_Grimm [ Sat Jan 03, 2009 9:09 am ]
Post subject:  RE:Request a Tutorial

Here's the whole tutorial on "How to make a Music Player"

code:

Music.Play ("insert musical note here")

Author:  saltpro15 [ Wed Jan 28, 2009 8:01 pm ]
Post subject:  RE:Request a Tutorial

A tutorial on outputting frame rate would be very helpful, I'm trying to find a way to speed up my matrix raycasting game

Author:  [Gandalf] [ Thu Jan 29, 2009 1:46 am ]
Post subject:  RE:Request a Tutorial

It's already been done:
http://compsci.ca/v3/viewtopic.php?t=859&highlight=fps+frame+rate
http://compsci.ca/v3/viewtopic.php?t=5730&highlight=fps+frame+rate
http://compsci.ca/v3/viewtopic.php?t=7393&highlight=fps+frame+rate

If some of these don't already output the frame rate they can be very easily modified to do so.

Author:  saltpro15 [ Thu Jan 29, 2009 9:33 am ]
Post subject:  RE:Request a Tutorial

Gandalf how do you find these? I ran about 10 searches and all that comes up is stickies and the same crap I've read a hundred times Sad thanks though

Author:  [Gandalf] [ Thu Jan 29, 2009 9:53 pm ]
Post subject:  RE:Request a Tutorial

Search the "Turing Tutorials" forums by topic and use keywords "FPS frame rate", as you can see at the end of each link I posted.

No problem. Smile

Author:  westniles [ Mon May 25, 2009 11:40 am ]
Post subject:  Re: Request a Tutorial

hey guys. i am making a video game for turing and i was wondering how i can make an enemy picture move along the bottom of the screen back and forth like in Mario with the Gumbas thx any comments are helpful.

Author:  leafs23 [ Wed May 27, 2009 7:18 pm ]
Post subject:  Re: Request a Tutorial

westniles @ Mon May 25, 2009 10:40 am wrote:
hey guys. i am making a video game for turing and i was wondering how i can make an enemy picture move along the bottom of the screen back and forth like in Mario with the Gumbas thx any comments are helpful.

just use animation

Author:  ecookman [ Thu May 28, 2009 7:46 am ]
Post subject:  Re: Request a Tutorial

westniles @ Mon May 25, 2009 11:40 am wrote:
hey guys. i am making a video game for turing and i was wondering how i can make an enemy picture move along the bottom of the screen back and forth like in Mario with the Gumbas thx any comments are helpful.


for loops and locate function for making it move along the screen by itself


for statement
put "W"
locate (1, +[var used in for statement]
end for

if you want to move it across the screen with keys look for a game that has been already made and use that code as a template.

Author:  ecookman [ Thu May 28, 2009 7:48 am ]
Post subject:  RE:Request a Tutorial

A tutorial request:
making a coutndown timer that you can enter a date and it would save it and count down from then untill the time reaches 0 and then it deletes the saved date.

Author:  prateke [ Tue Oct 06, 2009 11:14 am ]
Post subject:  RE:Request a Tutorial

umm... im kinda new to turing and i look forward to using it for my math and stuff. But i need to know how to put in a scroll bar in the prgramme cuz i cant see what my prog has outputted in all =)

Author:  DemonWasp [ Tue Oct 06, 2009 12:26 pm ]
Post subject:  RE:Request a Tutorial

Look into View.Set in the Turing help. You will want to set it to either "text" or "screen" output.

Author:  Ph3nix [ Sun Oct 11, 2009 7:40 pm ]
Post subject:  Re: Request a Tutorial

Hi, new member, I need to write some script that lets me fill in a shape without using the fill commands, any help would be appreciated! Thanks!

Author:  DtY [ Sun Oct 11, 2009 8:13 pm ]
Post subject:  Re: Request a Tutorial

Ph3nix @ Sun Oct 11, 2009 7:40 pm wrote:
Hi, new member, I need to write some script that lets me fill in a shape without using the fill commands, any help would be appreciated! Thanks!

Are you supposed to reimplement the fill function?
This might help: https://secure.wikimedia.org/wikipedia/en/wiki/Bucket_fill

Author:  Ph3nix [ Sun Oct 11, 2009 8:17 pm ]
Post subject:  Re: Request a Tutorial

DtY @ Sun Oct 11, 2009 8:13 pm wrote:
Ph3nix @ Sun Oct 11, 2009 7:40 pm wrote:
Hi, new member, I need to write some script that lets me fill in a shape without using the fill commands, any help would be appreciated! Thanks!

Are you supposed to reimplement the fill function?
This might help: https://secure.wikimedia.org/wikipedia/en/wiki/Bucket_fill


Well honestly not too sure, teach just said, draw trapezoid, fill it, oh and you can't use the fill command...Thanks for the link though, gonna check it out.

Author:  DtY [ Sun Oct 11, 2009 9:27 pm ]
Post subject:  RE:Request a Tutorial

Oh, if you just need to draw a filled trapezoid, you can use the primitive shape drawing commands, a trapezoid is just two triangles and a rectangle.

Author:  DemonWasp [ Mon Oct 12, 2009 10:16 pm ]
Post subject:  RE:Request a Tutorial

...or just the two triangles.

Author:  Chaoskiller [ Thu Oct 29, 2009 8:18 pm ]
Post subject:  RE:Request a Tutorial

Hey, Im wondering if someone can make a sprites tutorial because im having trouble with that command.

Author:  blizzard4800 [ Sun Jan 17, 2010 9:46 pm ]
Post subject:  RE:Request a Tutorial

Is there any turorioals on timers and time .lapse

Author:  -Grace- [ Thu Oct 07, 2010 12:01 am ]
Post subject:  RE:Request a Tutorial

can someone please post a tutorial for case structure, when u have to add calculations in the case structure
Thanks!

Author:  MrConBeans [ Fri Jun 03, 2011 11:24 am ]
Post subject:  Re: Request a Tutorial

How About Music, and how to play Music Canada

Author:  Tony [ Fri Jun 03, 2011 11:49 am ]
Post subject:  RE:Request a Tutorial

There's this really old tutorial on Music here -- http://compsci.ca/v3/viewtopic.php?t=190

Author:  Gold Flame [ Mon Jul 25, 2011 6:33 pm ]
Post subject:  Re: Request a Tutorial

I've Tryed so many times and i cant even get started. pease just show me how to get a man (pre saved picture) to walk around the screen from an overhead veiw that can face 4 different directions controlled by the keyboard

Author:  apython1992 [ Tue Jul 26, 2011 10:28 am ]
Post subject:  RE:Request a Tutorial

Too specific for a tutorial. Somebody is already helping you in your Turing post.

Author:  Intet22 [ Thu Nov 10, 2011 10:58 am ]
Post subject:  Re: Request a Tutorial

I would like to get a tutorial of the handler function. It seems like there isn't one at the moment and it would very helpful to have

Author:  evildaddy911 [ Wed Feb 01, 2012 4:49 pm ]
Post subject:  RE:Request a Tutorial

I wouldnt mind having our own version of the turing docs ie. examples on a real program, before/after learning to use the concept
1 thread for each module maybe... It could go out with the turing help/submissions/tutorials forums
"turing documentation"

Author:  [Gandalf] [ Wed Feb 01, 2012 11:01 pm ]
Post subject:  RE:Request a Tutorial

That's basically a style of tutorial. I think you'll find that some tutorials are already written that way.

Author:  Raknarg [ Thu Feb 02, 2012 8:16 am ]
Post subject:  RE:Request a Tutorial

The Turing Walkthrough already goes through a bunch of basic concepts.

Author:  evildaddy911 [ Sun Jul 01, 2012 3:16 pm ]
Post subject:  RE:Request a Tutorial

is there already a tutorial on linked lists? i just discovered them the other day, but i cant figure out how to use them...

Author:  Insectoid [ Sun Jul 01, 2012 3:19 pm ]
Post subject:  RE:Request a Tutorial

You're going to have to learn how Turing's pointers work first, and I know there's a tutorial on that in the Turing Walkthrough.

Author:  Raknarg [ Sun Jul 01, 2012 7:04 pm ]
Post subject:  RE:Request a Tutorial

I can make a tutorial. Yes? No? Any other takers?

Author:  mirhagk [ Tue Jul 03, 2012 8:06 am ]
Post subject:  RE:Request a Tutorial

http://compsci.ca/v3/viewtopic.php?t=9284 It's already in the Turing Walkthrough. The post on pointers is the post on linked lists.

Author:  Fortes [ Fri Dec 07, 2012 9:17 pm ]
Post subject:  RE:Request a Tutorial

So im doing a school project to make a game in truing and and the teacher showed us a sample where in the menu when you start the game you select the options with the mouse. When puting your mouse over the options the text enlarges and when you take the mouse away it comes back to it's normal size. Can anybody please explain how that works?

Author:  Tony [ Fri Dec 07, 2012 10:05 pm ]
Post subject:  RE:Request a Tutorial

probably with the use of Mouse.Where and Font.Draw

Author:  QuantumPhysics [ Sat Dec 08, 2012 1:36 am ]
Post subject:  RE:Request a Tutorial

And simple addition and subtraction!

Author:  JakeTakeLake [ Thu May 16, 2013 2:47 pm ]
Post subject:  RE:Request a Tutorial

I really need a tutorial on ragdoll physics! Like seen in this video: http://youtu.be/bkuOQ6rsjvQ

Maybe this is too hard for turing; I have no idea how to do this. I would really appreciate a tutorial!

Author:  Nathan4102 [ Thu May 16, 2013 3:10 pm ]
Post subject:  RE:Request a Tutorial

That would require a decent physics engine, especially if done in 3d. Way too hard for a novice programmer, way too much effort for an experienced one.

Author:  Raknarg [ Thu May 16, 2013 6:16 pm ]
Post subject:  RE:Request a Tutorial

haha yeah I'm still trying to figure out how to make a decent physics engine. Colliding objects are hard to deal with

Author:  andrew. [ Sat May 18, 2013 1:28 pm ]
Post subject:  RE:Request a Tutorial

I don't believe that the choice of programming language plays a huge part in building a basic physics engine from scratch. I think the most difficult part would be figuring out the math behind all the physics calculations.

Author:  Nathan4102 [ Sat May 18, 2013 1:44 pm ]
Post subject:  RE:Request a Tutorial

I don't think turing is capable of running a physics engine at a reasonable speed though (Like a ragdoll game)

Author:  Raknarg [ Sat May 18, 2013 1:56 pm ]
Post subject:  RE:Request a Tutorial

Actually, it is. Someone released a game some time ago that I have on my computer that has a great physics engine in turing. It's all a matter of your efficiency.

Author:  Nathan4102 [ Sat May 18, 2013 2:11 pm ]
Post subject:  RE:Request a Tutorial

So Turing can run a physics engine, but can't play music without severe lag... :/

Author:  Raknarg [ Sat May 18, 2013 10:41 pm ]
Post subject:  RE:Request a Tutorial

No, it can play music fine. Perhaps you're just doing it weird.

Author:  Nathan4102 [ Sat May 18, 2013 10:50 pm ]
Post subject:  RE:Request a Tutorial

This is one of the first things I made in turing, a crappy jumpscare game. Compare the speed with music, and the speed without music. What am I doing wrong?

http://www.2shared.com/file/atWj5BI9/Ball_game.html

Author:  JakeTakeLake [ Sat May 18, 2013 10:56 pm ]
Post subject:  RE:Request a Tutorial

Maybe just a joint physics tutorial? For example, limbs that you can rotate by clicking and dragging them? This would be amazing

Author:  Insectoid [ Sun May 19, 2013 7:50 am ]
Post subject:  RE:Request a Tutorial

Rotating around a point is fairly simple, though it requires some trigonometry. Say you want to rotate around the point (x,y) in the image by n degrees. You should first calculate how far that point is from the centre (you can use Math.Distance for this). Since Turing can only rotate images through their centres by default, once you rotate the image, the point (x,y) will have moved. You need to figure out where it moved to. The distance of the point from the centre will not have changed, and you know the angle it moved through. This forms a right triangle. Using sine law (remember SOH CAH TOA from 10th grade math?) you can calculate where the point is relative to the centre of the image. This tells you how much you need to shift the image by.




code:

function rotate (x,y,n) %rotate n degrees around (x,y)
    hypotenuse = Math.Distance (centreX, centreY, x, y) //calculate the distance between (x,y) and the centre
    Pic.Rotate(image, n) //rotate the image around the centre
    offsetX = hypotenuse * cosd(n) + 0.5*Pic.Width(image) //gives the new x relative to the centre
    offsetY = hypotenuse * sind(n) + 0.5*Pic.Height(image) //gives the new y relative to the centre
    centreX += (offsetX - x) //translate the image so that (offsetX, offsetY) = (x,y)
    centreY += (offsetY - y)



There's probably a few mistakes in there, since I wrote it on the fly and didn't bother testing it, but it demonstrates the concept and you could probably get this working in Turing.

The real challenge in a physics engine is figuring out where the rotation point is.

Author:  JakeTakeLake [ Sun May 19, 2013 11:56 am ]
Post subject:  RE:Request a Tutorial

Thanks I understand how to rotate the image, its actually pretty easy. But, how do I translate the image after its been rotated so that it rotates on a specific spot on the image, as opposed to the center?

Author:  Insectoid [ Sun May 19, 2013 12:18 pm ]
Post subject:  RE:Request a Tutorial

If you read my post, you'd realize that I did that.

Author:  imoyMitsgirl [ Sun Oct 05, 2014 2:32 pm ]
Post subject:  Re: Request a Tutorial

hi!! can you help me with my program
Write a program that allows the user to input ten words and outputs a message indicating whether more than 5 of those ten words start with the letters in the first half of the alphabet or not.
your help is highly aprreciated

Author:  PR069 [ Fri Oct 10, 2014 7:47 pm ]
Post subject:  Re: Request a Tutorial

Would anyone be able to copy and paste(if already done) or write a tutorial on how to effectively use if and for statements in a loop with different scenarios, Also adding a quit button to the bottom that closes the program would be nice. I'm sorry if there already is a tutorial on doing this. This is not a project for school(although I expect to be able to use this in a project for school Smile) I would just like to know how to optimize a program I made. Thank you to all who took time to read this post; and thank you in advance to those who are making the conditional loop tutorials. I just did not get what the Holtsoft textbook wrote about them.

Author:  Raknarg [ Fri Oct 10, 2014 7:52 pm ]
Post subject:  RE:Request a Tutorial

You're going to have to be a bit more concise than that, that's a pretty ambiguous request

Author:  Tony [ Fri Oct 10, 2014 8:04 pm ]
Post subject:  RE:Request a Tutorial

All of the important tutorials are organized at The Turing Walkthrough

Author:  TheBoyWhoTried [ Fri Dec 04, 2015 5:31 pm ]
Post subject:  Re: Request a Tutorial

Could I please, please have a tutorial on animating. How to get things, anything to goddamn move across the screen

Author:  Insectoid [ Sat Dec 05, 2015 8:05 pm ]
Post subject:  RE:Request a Tutorial

There are many such tutorials. You could look at any game tutorial and just ignore anything related to input.


: