
-----------------------------------
AsianSensation
Fri Feb 06, 2004 8:06 am

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.

-----------------------------------
DanShadow
Fri Feb 06, 2004 2:17 pm


-----------------------------------
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?  :P I actually do really need a tutorial on that..(well actually my underlings do..hehe)

-----------------------------------
recneps
Fri Feb 06, 2004 4:41 pm


-----------------------------------
I see alot of posts on saving and loading of data to/from a file. maybe you could make one on that?

-----------------------------------
AsianSensation
Fri Feb 06, 2004 5:46 pm


-----------------------------------
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.

-----------------------------------
Andy
Fri Feb 06, 2004 5:53 pm


-----------------------------------
ya i'll prolly do one one of these days, after i do a whatdotcolor collision detectio tho

-----------------------------------
Cervantes
Fri Feb 06, 2004 6:09 pm


-----------------------------------
better hurry, Dan Shadow has beaten you to it.. though if yours is really good and comes out soon we may forgive you :D

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? :)

-----------------------------------
Andy
Fri Feb 06, 2004 6:23 pm


-----------------------------------
sin lol u mean sine, and about dan shadow aka hacker dan, he dont got no whatdotcolor skillz

-----------------------------------
AsianSensation
Fri Feb 06, 2004 8:11 pm


-----------------------------------
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.

-----------------------------------
Andy
Fri Feb 06, 2004 8:15 pm


-----------------------------------
he knows what it is meng... in his previous post he posted sin instead of sine then the bastard edited it

-----------------------------------
Paul
Fri Feb 06, 2004 11:11 pm


-----------------------------------
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.

-----------------------------------
AsianSensation
Sat Feb 07, 2004 10:13 am


-----------------------------------
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.

-----------------------------------
Paul
Sun Feb 08, 2004 10:05 pm


-----------------------------------
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.

-----------------------------------
TheXploder
Mon Feb 09, 2004 12:28 am


-----------------------------------
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...

-----------------------------------
Catalyst
Mon Feb 09, 2004 12:43 am


-----------------------------------
Classes in Turing

class Bar
end Bar
class FooBar
   inherit Bar
end FooBar


and define virtual (abstract) functions as so


class Bar
   deferred proc Chew
end Bar
class FooBar
   inherit Bar
   body proc Chew
   end Chew
end FooBar


-----------------------------------
Paul
Tue Mar 16, 2004 10:06 am


-----------------------------------
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.

-----------------------------------
AsianSensation
Tue Mar 16, 2004 7:09 pm


-----------------------------------
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.

-----------------------------------
Paul
Tue Mar 16, 2004 7:11 pm


-----------------------------------
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.

-----------------------------------
bevoyleick
Wed Mar 17, 2004 10:02 am


-----------------------------------
can someone post a tutorial on how to "link" from one Turing file to another? as in having one main program running other files

-----------------------------------
recneps
Wed Mar 17, 2004 11:07 am


-----------------------------------
i can do that, its not that hard, lemme try it now :D

-----------------------------------
Jonny Tight Lips
Fri Mar 26, 2004 1:23 pm

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.

-----------------------------------
recneps
Fri Mar 26, 2004 4:01 pm


-----------------------------------
I believe catalyst was going to attempt a 3d tutorial, i dont know what happened, hes probably to busy or still working on it.

-----------------------------------
zylum
Fri Mar 26, 2004 6:48 pm


-----------------------------------
 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:  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...

-----------------------------------
AsianSensation
Fri Mar 26, 2004 10:06 pm


-----------------------------------
lol, I know. I was being sarcastic.

....guess it's hard to express sarcasm on the net.

-----------------------------------
SuperGenius
Sat Mar 27, 2004 12:37 pm


-----------------------------------
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.

-----------------------------------
zylum
Sat Mar 27, 2004 7:54 pm


-----------------------------------
i'm with supergenius. i'd also like to see a net tutorial  :wink:

-----------------------------------
AsianSensation
Sat Mar 27, 2004 10:54 pm


-----------------------------------
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?

-----------------------------------
recneps
Mon Mar 29, 2004 4:02 pm


-----------------------------------
i have troubles with it, but i could write up the beginning if someone will add to it :)

-----------------------------------
Krabjuice
Sat Apr 03, 2004 9:51 am

Re: 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.

Furthermore, i'd be interested in seeing a tutorial dealing with 3D rotational movment.

-----------------------------------
not_l33t
Mon Apr 05, 2004 12:18 pm


-----------------------------------
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. :D

-----------------------------------
Delos
Mon Apr 05, 2004 2:22 pm


-----------------------------------
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!

-----------------------------------
Paul
Sun Apr 11, 2004 7:09 pm


-----------------------------------
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?

-----------------------------------
AsianSensation
Sun Apr 11, 2004 7:17 pm


-----------------------------------
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.

-----------------------------------
zylum
Sun Apr 11, 2004 7:19 pm


-----------------------------------
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:

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

-----------------------------------
Paul
Sun Apr 11, 2004 7:35 pm


-----------------------------------
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: 

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. 


-----------------------------------
zylum
Sun Apr 11, 2004 7:40 pm


-----------------------------------
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

-----------------------------------
Paul
Sun Apr 11, 2004 7:42 pm


-----------------------------------
It sounds pretty complicated to me, but I'd like to learn it. :D 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.

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)


-----------------------------------
Tony
Sun Apr 11, 2004 7:45 pm


-----------------------------------
heh, here's an example of factorial function

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


-----------------------------------
zylum
Sun Apr 11, 2004 7:51 pm


-----------------------------------
yup, thats a nice example of recursion  :wink:

-----------------------------------
MyPistolsIn3D
Thu Apr 29, 2004 1:53 pm

type
-----------------------------------
how to use the type command. the reference is confusng.thx.

-----------------------------------
AsianSensation
Thu Apr 29, 2004 5:15 pm


-----------------------------------
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

-----------------------------------
MyPistolsIn3D
Thu Apr 29, 2004 7:01 pm


-----------------------------------
ty

-----------------------------------
noobprogrammer123
Tue May 04, 2004 6:37 pm


-----------------------------------
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"

-----------------------------------
Delos
Tue May 04, 2004 6:41 pm


-----------------------------------
Check this out...

http://www.compsci.ca/v2/viewtopic.php?t=427

If you still need more help, PM me.

-----------------------------------
junkpro11
Tue May 04, 2004 7:56 pm


-----------------------------------
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

-----------------------------------
Paul
Wed May 05, 2004 6:21 pm


-----------------------------------
put repeat (string, #timestoberepeated)
example

put repeat ("a", 5)

outputs a, 5 times.

-----------------------------------
junkpro11
Wed May 05, 2004 8:53 pm


-----------------------------------
ok....actually i experimented and kinda got it

THANKS

-----------------------------------
junkpro11
Sun May 09, 2004 9:53 am


-----------------------------------
oh....how do u create a record in turing

like if i want to save the info i put into a new file :oops: 

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

-----------------------------------
AsianSensation
Sun May 09, 2004 3:55 pm


-----------------------------------
I would suggest you understand simple file I/O, tutorial could be found here:

http://www.compsci.ca/v2/viewtopic.php?t=65

-----------------------------------
junkpro11
Sun May 09, 2004 9:46 pm


-----------------------------------
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

-----------------------------------
AsianSensation
Sun May 09, 2004 10:10 pm


-----------------------------------
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.

-----------------------------------
not_l33t
Thu May 13, 2004 7:35 pm


-----------------------------------
I suggest a tutorial on simple sequencing and functions. Like the one I was taught:

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.

-----------------------------------
LiquidDragon
Sun May 16, 2004 5:09 pm


-----------------------------------
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  :?

-----------------------------------
Tony
Sun May 16, 2004 5:54 pm


-----------------------------------
I still dont understand the benefits of 
good, cuz processes are bad and you shouldn't be using them :naughty:

-----------------------------------
Ultimus
Sun May 16, 2004 11:47 pm


-----------------------------------
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.

-----------------------------------
Tony
Mon May 17, 2004 10:56 am


-----------------------------------
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

-----------------------------------
Mazer
Mon May 17, 2004 2:38 pm


-----------------------------------
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.

-----------------------------------
Dan
Mon May 17, 2004 3:13 pm


-----------------------------------
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.

-----------------------------------
Tony
Mon May 17, 2004 6:55 pm


-----------------------------------
they do have proupose in some cases.
processes had a purpose while Music.PlayFileReturn was not there :lol:

-----------------------------------
Paul
Mon May 17, 2004 7:05 pm


-----------------------------------
That command only works on 4.0.5, its still processes for those schools who didn't catch on fast enough.

-----------------------------------
Mazer
Mon May 17, 2004 7:35 pm


-----------------------------------
Yeah, I was just going to point that out


process PlayFileReturnProc (fileStr : string)
    PlayFile (fileStr)
end PlayFileReturnProc

procedure PlayFileReturn (fileStr : string)
    fork PlayFileReturnProc (fileStr)
end PlayFileReturn

 :lol:

-----------------------------------
Danyo
Fri May 21, 2004 9:55 pm


-----------------------------------
how about a tutorial in the Net. functions...?

-----------------------------------
Vicous
Sat May 22, 2004 7:13 pm


-----------------------------------
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...

-----------------------------------
seltsammacker1
Sun May 23, 2004 5:54 pm


-----------------------------------
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?  :D

-----------------------------------
AsianSensation
Mon May 24, 2004 12:09 pm


-----------------------------------
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.

-----------------------------------
DanShadow
Fri Jul 30, 2004 9:07 pm


-----------------------------------
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.

-----------------------------------
cycro1234
Sun Jan 09, 2005 5:33 pm


-----------------------------------
A Turing AI tutorial?

-----------------------------------
AsianSensation
Sun Jan 09, 2005 6:24 pm


-----------------------------------
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.

-----------------------------------
cycro1234
Sun Jan 09, 2005 7:11 pm


-----------------------------------
I'm thinking of doing AI for a connect 4 game.

-----------------------------------
AsianSensation
Mon Jan 10, 2005 6:50 pm


-----------------------------------
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.

-----------------------------------
Cervantes
Sun Jan 30, 2005 9:47 am


-----------------------------------
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:

Drawing (

Bits will be awarded for quality tutorials on these subjects.
-Cervantes

-----------------------------------
Flikerator
Sat Feb 26, 2005 12:02 am


-----------------------------------
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?

-----------------------------------
lapo3399
Sat Feb 26, 2005 8:52 am

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)

 :D

-----------------------------------
Cervantes
Sat Feb 26, 2005 9:25 am


-----------------------------------
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 [url=http://www.compsci.ca/v2/viewtopic.php?t=6875]Gravity thread.

-----------------------------------
lapo3399
Sat Feb 26, 2005 9:34 am


-----------------------------------
ty

 :D

-----------------------------------
Flikerator
Sat Feb 26, 2005 6:37 pm


-----------------------------------
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:


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 :P

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.

-----------------------------------
Flikerator
Thu Mar 03, 2005 3:48 pm

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.

-----------------------------------
Tony
Thu Mar 03, 2005 3:58 pm


-----------------------------------
have you read functions and processes. Should be easy to understand.

-----------------------------------
Flikerator
Thu Mar 03, 2005 5:40 pm


-----------------------------------
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 ^^

-----------------------------------
Viper
Sat Mar 12, 2005 11:29 am


-----------------------------------
sorting{bubble sort, shell sort..etc}

-----------------------------------
Flikerator
Sat Mar 19, 2005 9:18 pm


-----------------------------------
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 :/

-----------------------------------
Cervantes
Sat Mar 19, 2005 9:24 pm


-----------------------------------
Hey Flikerator, there's something spooky going on.  I still haven't seen that window tutorial!  :lol:
Tell you what, I'll write the string manipulation tutorial when you do the window tutorial.  Mwahahahaha!   :twisted:    :lol:

Heh, actually, I'm going to do the same thing you did and say I can't do it this week.  Next week though!

-----------------------------------
Flikerator
Sat Mar 19, 2005 9:26 pm


-----------------------------------
Hey Flikerator, there's something spooky going on.  I still haven't seen that window tutorial!  :lol:
Tell you what, I'll write the string manipulation tutorial when you do the window tutorial.  Mwahahahaha!   :twisted:    :lol:

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 ;)

Ill write the Windows Tutorial For friday ;) I mean it this time ^^

-----------------------------------
Naveg
Sun Mar 27, 2005 7:55 pm


-----------------------------------
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

-----------------------------------
Mr. T
Sun Mar 27, 2005 11:27 pm


-----------------------------------
How about a tutorial on dual screen usage :)

-----------------------------------
Naveg
Sun Mar 27, 2005 11:29 pm


-----------------------------------
How about a tutorial on dual screen usage :)

what do you mean? multiple windows for a single program?

-----------------------------------
Mr. T
Sun Mar 27, 2005 11:31 pm


-----------------------------------
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 :)

-----------------------------------
Cervantes
Mon Mar 28, 2005 9:07 am


-----------------------------------
How about a tutorial on dual screen usage :)
:rofl:  Flikerator...  :lol: I've done my part!

-----------------------------------
Mr. T
Mon Mar 28, 2005 11:38 pm


-----------------------------------
How about a tutorial on dual screen usage :)
:rofl:  Flikerator...  :lol: I've done my part!
i dont get it

-----------------------------------
Naveg
Mon Mar 28, 2005 11:40 pm


-----------------------------------
nor do i lol, i think its an inside joke

-----------------------------------
Mr. T
Tue Mar 29, 2005 12:07 am


-----------------------------------
but i wanted a tutorial on dual screen usage, not an inside joke :(

-----------------------------------
Bacchus
Tue Mar 29, 2005 7:03 am


-----------------------------------
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

-----------------------------------
Mr. T
Tue Mar 29, 2005 1:16 pm


-----------------------------------
well, can someone make a tutorial?!?!?!

-----------------------------------
Cervantes
Tue Mar 29, 2005 4:26 pm


-----------------------------------
Don't worry Pwned, I'll make sure you get it.  :twisted:

-----------------------------------
Drakain Zeil
Mon Apr 04, 2005 8:27 pm


-----------------------------------
If I had two screens I'd try it... but I don't. Heh.

Is anyone interested in me posting up an object tutuorial?

-----------------------------------
Mr. T
Tue Apr 05, 2005 11:51 pm


-----------------------------------
If I had two screens I'd try it... 
i dont literally mean two monitors lmao

-----------------------------------
Drakain Zeil
Wed Apr 06, 2005 6:08 am


-----------------------------------
You've lost me, do you mean two windows?

-----------------------------------
Bacchus
Wed Apr 06, 2005 4:20 pm


-----------------------------------
he means 2 turing run windows, not 2 screens

-----------------------------------
Drakain Zeil
Wed Apr 06, 2005 8:36 pm


-----------------------------------
Isn't that like "Window.New" ?

-----------------------------------
jamonathin
Wed Apr 06, 2005 8:42 pm


-----------------------------------
Always check F10, it's your right hand asian man
var winID : int
        winID := Window.Open ("position:top;center,graphics:200;200")

-----------------------------------
Mr. T
Wed Apr 06, 2005 11:00 pm


-----------------------------------
im talking about two running at the same time  :roll:

-----------------------------------
Drakain Zeil
Thu Apr 07, 2005 6:01 am


-----------------------------------
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.

-----------------------------------
Flikerator
Tue Apr 12, 2005 9:47 am


-----------------------------------
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.

-----------------------------------
Dudewhatzup1
Sun May 01, 2005 5:39 pm


-----------------------------------
heres an idea wut about conditions?

-----------------------------------
AsianSensation
Sun May 01, 2005 7:20 pm


-----------------------------------
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....

-----------------------------------
adamh10
Wed Jun 08, 2005 11:40 am

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

-----------------------------------
ZeroPaladn
Thu Jun 09, 2005 9:18 am


-----------------------------------
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.

-----------------------------------
Tony
Thu Jun 09, 2005 6:17 pm


-----------------------------------
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.
[url=http://www.compsci.ca/v2/viewtopic.php?t=114]I wrote that 2.5 years ago

-----------------------------------
Paul
Mon Sep 12, 2005 3:42 pm


-----------------------------------
How about a tutorial about binary files using records?
Like the kind you would use for easy data manipulation in a store inventory application.

-----------------------------------
TokenHerbz
Tue Sep 20, 2005 3:47 am


-----------------------------------
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

-----------------------------------
[Gandalf]
Tue Sep 20, 2005 3:49 pm


-----------------------------------
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.

-----------------------------------
TokenHerbz
Sat Oct 08, 2005 12:12 pm


-----------------------------------
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

-----------------------------------
Cervantes
Sat Oct 08, 2005 2:55 pm


-----------------------------------
http://www.compsci.ca/v2/viewtopic.php?t=9878

Do you need more explanation?

-----------------------------------
TokenHerbz
Sun Oct 09, 2005 6:07 am


-----------------------------------
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...

-----------------------------------
Cervantes
Tue Nov 01, 2005 5:39 pm


-----------------------------------
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

-----------------------------------
MihaiG
Tue Nov 01, 2005 6:47 pm


-----------------------------------
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:

-----------------------------------
The-Ghost
Tue Nov 29, 2005 8:22 pm


-----------------------------------
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

-----------------------------------
Cervantes
Mon Dec 19, 2005 5:44 pm


-----------------------------------
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  :)

"]You can find various examples of the most popular sorting techniques 

Must keep... forum... clean!  

*dies*

-----------------------------------
solblade05
Wed Jan 04, 2006 1:12 pm


-----------------------------------
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]

-----------------------------------
jennawon
Fri Jan 06, 2006 2:10 pm

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

-----------------------------------
chrispminis
Fri Jan 06, 2006 3:46 pm


-----------------------------------
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.

-----------------------------------
chrispminis
Tue Jan 10, 2006 11:30 pm


-----------------------------------
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?

-----------------------------------
ZeroPaladn
Thu Apr 13, 2006 9:09 am


-----------------------------------
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.

-----------------------------------
Delos
Thu Apr 13, 2006 12:30 pm


-----------------------------------
Ever heard of Searching?  :wink:

[url=http://www.compsci.ca/v2/viewtopic.php?t=84]Baisc Trig by Mazer
[url=http://www.compsci.ca/v2/viewtopic.php?t=3714]Spaceship movement incorporating trig by zylum

-----------------------------------
ZeroPaladn
Thu Apr 13, 2006 1:07 pm


-----------------------------------
:oops: thanks for the tip Delos, and the links helped. Thanks.

-----------------------------------
BenLi
Mon May 01, 2006 2:59 pm


-----------------------------------
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

-----------------------------------
Tony
Mon May 01, 2006 3:13 pm


-----------------------------------
We have [url=http://www.compsci.ca/v2/viewtopic.php?t=1117]another arrays tutorial by Andy and [url=http://www.compsci.ca/v2/viewtopic.php?t=6723]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.

-----------------------------------
unknowngiver
Fri May 19, 2006 2:16 pm


-----------------------------------
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 :D

-----------------------------------
Cervantes
Tue May 30, 2006 3:13 pm


-----------------------------------
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.

-----------------------------------
Mystique
Wed May 31, 2006 4:01 pm


-----------------------------------
How about a tutorial on Mouse.ButtonMoved and Mouse.ButtonWait ?

-----------------------------------
[Gandalf]
Wed May 31, 2006 9:38 pm


-----------------------------------
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.

-----------------------------------
Cervantes
Fri Jun 16, 2006 4:31 pm


-----------------------------------

Could someone please write a tutorial on how to use 3d algorithms to project into a 2d screen?

Thanks alot!


-----------------------------------
Slaivis
Fri Jun 23, 2006 9:38 pm


-----------------------------------

Could someone please write a tutorial on how to use 3d algorithms to project into a 2d screen?

Thanks alot!


What about this?

-----------------------------------
Cervantes
Sat Jun 24, 2006 7:34 am


-----------------------------------
There was a link to a good tutorial on [url=http://freespace.virgin.net/hugo.elias/]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

-----------------------------------
Delos
Sat Jun 24, 2006 11:39 am


-----------------------------------
There was a link to a good tutorial on 

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 :lol:.  Perhaps when I get tired of 2D graphics.

-----------------------------------
Ultrahex
Sun Oct 29, 2006 5:20 pm


-----------------------------------
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.

-----------------------------------
Chrisd534
Mon Nov 13, 2006 2:03 pm


-----------------------------------
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

-----------------------------------
Cervantes
Mon Nov 13, 2006 2:43 pm


-----------------------------------
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 [url=http://www.compsci.ca/v2/viewtopic.php?t=9619]Improving Tutorials thread.

-----------------------------------
Chrisd534
Mon Nov 13, 2006 10:29 pm


-----------------------------------
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

-----------------------------------
Chrisd534
Tue Nov 14, 2006 1:49 pm


-----------------------------------
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

-----------------------------------
Dannyd534
Tue Nov 14, 2006 10:40 pm


-----------------------------------
um its a project u have to figure it out urself...no cheating

-----------------------------------
DemonZ
Sat Nov 18, 2006 6:37 pm


-----------------------------------
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.

-----------------------------------
ericfourfour
Sat Nov 18, 2006 6:53 pm


-----------------------------------
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 .

-----------------------------------
DemonZ
Sat Nov 18, 2006 7:25 pm


-----------------------------------
alright thanks im gonna enjoy this! :D  :D

-----------------------------------
zedx_26
Thu Jan 25, 2007 3:01 pm

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

-----------------------------------
DemonZ
Fri Jan 26, 2007 1:37 pm

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)

-----------------------------------
Cervantes
Fri Jan 26, 2007 5:39 pm

RE:Request a Tutorial
-----------------------------------
Yeah, we've got a Net tutorial. It's actually in the Walkthrough, listed under Extras -> Other. [url=http://www.compsci.ca/v2/viewtopic.php?t=5795]Here's the link.

-----------------------------------
DemonZ
Fri Jan 26, 2007 8:06 pm

Re: Request a Tutorial
-----------------------------------
Ok thanks Cervantes

-----------------------------------
Bo0sT
Mon Jan 29, 2007 3:13 am

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

-----------------------------------
zwnage
Sun Feb 04, 2007 6:45 pm

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.

-----------------------------------
gaurdianAQ
Tue Feb 13, 2007 6:37 pm

RE:Request a Tutorial
-----------------------------------
can someone make a tutorial on locating text and loops please

-----------------------------------
Clayton
Tue Feb 13, 2007 6:45 pm

Re: Request a Tutorial
-----------------------------------
loops are found in the Turing Walkthrough and locating text is somewhere in there too :D

-----------------------------------
selentic
Mon Apr 30, 2007 11:49 am

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?

-----------------------------------
rollerdude
Mon Apr 30, 2007 12:08 pm

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?

-----------------------------------
selentic
Mon Apr 30, 2007 3:25 pm

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?

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  :D) 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?

-----------------------------------
Mazer
Mon Apr 30, 2007 4:58 pm

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.

-----------------------------------
selentic
Mon May 14, 2007 12:26 pm

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 :(

-----------------------------------
DIIST
Mon May 14, 2007 5:03 pm

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.

-----------------------------------
beginnerprogrammer
Sat May 26, 2007 3:26 pm

RE:Request a Tutorial
-----------------------------------
I want a button tutorial that  has  how to do simple button s to advanced buttons please and thank you.

-----------------------------------
jamoskullis
Fri Jun 08, 2007 5:55 pm

Re: Request a Tutorial
-----------------------------------
could someoen help me learn time.elapse?

-----------------------------------
DifinityRJ
Mon Jun 11, 2007 9:30 pm

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.

-----------------------------------
CodeMonkey2000
Tue Jun 12, 2007 4:00 pm

RE:Request a Tutorial
-----------------------------------
I might write one after exams.

-----------------------------------
krths
Tue Jun 12, 2007 8:21 pm

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:

-----------------------------------
Clayton
Tue Jun 12, 2007 8:27 pm

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.

-----------------------------------
dymd3z
Mon Jun 18, 2007 11:50 pm

RE:Request a Tutorial
-----------------------------------
I need to know how to store and retrieve data from files.

-----------------------------------
Saad
Tue Jun 19, 2007 6:36 am

Re: Request a Tutorial
-----------------------------------
Check out the tutorial [url=http://compsci.ca/v3/viewtopic.php?t=12972]here . It covers file i/o very well

-----------------------------------
CodeMonkey2000
Wed Oct 31, 2007 9:59 pm

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.

-----------------------------------
Nick
Wed Oct 31, 2007 10:05 pm

RE:Request a Tutorial
-----------------------------------
you mean pointers as in ^ reffering to classes?

-----------------------------------
Cervantes
Thu Nov 01, 2007 2:09 pm

RE:Request a Tutorial
-----------------------------------
Not really. He's talking about pointers for linked lists, as stated. CodeMonkey, do you think that together, [url=http://compsci.ca/v3/viewtopic.php?t=15883]this  and [url=http://compsci.ca/v3/viewtopic.php?t=9284]this are not acceptable?

-----------------------------------
CodeMonkey2000
Sat Nov 03, 2007 1:08 am

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?

-----------------------------------
rahzab
Sun Nov 11, 2007 3:26 pm

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...  :mrgreen:  
 
not criticizing you guys just a friendly tip!  :D 
 
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... :?:

thanks, i just want to get a bit more ahead of the class.

-----------------------------------
CodeMonkey2000
Sun Nov 11, 2007 4:25 pm

Re: Request a Tutorial
-----------------------------------

 
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...  :mrgreen:  

Mabey you should expand your vocabulary ;).

-----------------------------------
rahzab
Mon Nov 12, 2007 5:57 pm

Re: Request a Tutorial
-----------------------------------
lol dont u go and worry about me... :wink: 

I speak for the people!  :o

-----------------------------------
Mazer
Mon Nov 12, 2007 8:34 pm

RE:Request a Tutorial
-----------------------------------
You really really don't. But let's keep this about tutorials you'd like to see.

-----------------------------------
rahzab
Wed Nov 14, 2007 6:52 pm

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

-----------------------------------
tamir
Thu Jan 10, 2008 7:16 pm

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 :lol:


Thanks


Tamir

-----------------------------------
A.J
Mon Feb 04, 2008 1:49 pm

Re: Request a Tutorial
-----------------------------------
If anyone could post a tutorial on how to make games on turing (RPG especially) I would be grateful.

-----------------------------------
Mackie
Mon Feb 04, 2008 3:35 pm

Re: Request a Tutorial
-----------------------------------
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]

-----------------------------------
ericfourfour
Mon Feb 04, 2008 5:17 pm

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.

-----------------------------------
BigBear
Fri Feb 15, 2008 4:46 pm

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.

-----------------------------------
jd
Wed Feb 20, 2008 8:39 pm

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 ;]

-----------------------------------
gitoxa
Thu Apr 10, 2008 6:02 pm

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.

-----------------------------------
[Gandalf]
Thu Apr 10, 2008 7:52 pm

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.

-----------------------------------
gitoxa
Thu Apr 10, 2008 7:57 pm

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?

-----------------------------------
Mackie
Thu Apr 10, 2008 7:58 pm

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.

-----------------------------------
gitoxa
Thu Apr 10, 2008 8:37 pm

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.

-----------------------------------
OneOffDriveByPoster
Thu Apr 10, 2008 8:58 pm

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.

-----------------------------------
Mackie
Thu Apr 10, 2008 9:01 pm

RE:Request a Tutorial
-----------------------------------
Fine, ill do it.

-----------------------------------
Sean
Thu Apr 17, 2008 6:40 am

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 :lol:

-----------------------------------
Mackie
Thu Apr 17, 2008 6:59 am

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!

-----------------------------------
Sean
Thu Apr 17, 2008 7:01 am

RE:Request a Tutorial
-----------------------------------
Alright, just remembered you posting back in January, and thought you were still working on it.

-----------------------------------
coolguy
Mon Jun 09, 2008 4:31 pm

Re: Request a Tutorial
-----------------------------------
how abt randomizing numberss

-----------------------------------
Insectoid
Mon Jun 09, 2008 5:23 pm

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.

-----------------------------------
krazykipa
Fri Sep 05, 2008 6:13 pm

Re: Request a Tutorial
-----------------------------------
Um, is there a way to code a link to an executable file? :?

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... :oops:

-----------------------------------
[Gandalf]
Fri Sep 05, 2008 7:41 pm

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).

-----------------------------------
SNIPERDUDE
Fri Sep 05, 2008 9:20 pm

RE:Request a Tutorial
-----------------------------------
Do you mean f10?

-----------------------------------
Clayton
Fri Sep 05, 2008 9:21 pm

RE:Request a Tutorial
-----------------------------------
Yes, F10 will lead you to the Turing Help File.

-----------------------------------
krazykipa
Sat Sep 06, 2008 3:36 pm

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

-----------------------------------
SNIPERDUDE
Sat Sep 06, 2008 8:17 pm

RE:Request a Tutorial
-----------------------------------
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.

-----------------------------------
ziplok
Wed Nov 12, 2008 9:08 pm

Re: Request a Tutorial
-----------------------------------
can some one please make me a turing program of  a man walking up the staris thanx...  :!:

-----------------------------------
syntax_error
Thu Nov 13, 2008 6:19 am

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.

-----------------------------------
SNIPERDUDE
Thu Nov 13, 2008 10:26 pm

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.

-----------------------------------
corriep
Wed Dec 03, 2008 7:13 pm

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.

-----------------------------------
Clayton
Wed Dec 03, 2008 8:28 pm

RE:Request a Tutorial
-----------------------------------
[url=http://compsci.ca/v3/search.php]Search

-----------------------------------
Gadiuz
Mon Dec 08, 2008 5:51 pm

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!

-----------------------------------
SNIPERDUDE
Tue Dec 09, 2008 7:58 am

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.

-----------------------------------
Inuspal
Fri Jan 02, 2009 2:00 pm

RE:Request a Tutorial
-----------------------------------
How to make a music player?

-----------------------------------
lnconcise
Fri Jan 02, 2009 2:17 pm

Re: Request a Tutorial
-----------------------------------
Can anybody do a tutorial on algorithms? Specifically on minimax?

-----------------------------------
[Gandalf]
Sat Jan 03, 2009 6:22 am

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 [url=http://en.wikipedia.org/wiki/Minimax]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".

-----------------------------------
S_Grimm
Sat Jan 03, 2009 9:09 am

RE:Request a Tutorial
-----------------------------------
Here's the whole tutorial  on "How to make a Music Player"


Music.Play ("insert musical note here")


-----------------------------------
saltpro15
Wed Jan 28, 2009 8:01 pm

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

-----------------------------------
[Gandalf]
Thu Jan 29, 2009 1:46 am

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.

-----------------------------------
saltpro15
Thu Jan 29, 2009 9:33 am

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 :( thanks though

-----------------------------------
[Gandalf]
Thu Jan 29, 2009 9:53 pm

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. :)

-----------------------------------
westniles
Mon May 25, 2009 11:40 am

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.

-----------------------------------
leafs23
Wed May 27, 2009 7:18 pm

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.
just use animation

-----------------------------------
ecookman
Thu May 28, 2009 7:46 am

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.

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.

-----------------------------------
ecookman
Thu May 28, 2009 7:48 am

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.

-----------------------------------
prateke
Tue Oct 06, 2009 11:14 am

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 =)

-----------------------------------
DemonWasp
Tue Oct 06, 2009 12:26 pm

RE:Request a Tutorial
-----------------------------------
Look into View.Set in the Turing help. You will want to set it to either "text" or "screen" output.

-----------------------------------
Ph3nix
Sun Oct 11, 2009 7:40 pm

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!

-----------------------------------
DtY
Sun Oct 11, 2009 8:13 pm

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!
Are you supposed to reimplement the fill function?
This might help: https://secure.wikimedia.org/wikipedia/en/wiki/Bucket_fill

-----------------------------------
Ph3nix
Sun Oct 11, 2009 8:17 pm

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!
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.

-----------------------------------
DtY
Sun Oct 11, 2009 9:27 pm

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.

-----------------------------------
DemonWasp
Mon Oct 12, 2009 10:16 pm

RE:Request a Tutorial
-----------------------------------
...or just the two triangles.

-----------------------------------
Chaoskiller
Thu Oct 29, 2009 8:18 pm

RE:Request a Tutorial
-----------------------------------
Hey, Im wondering if someone can make a sprites tutorial because im having trouble with that command.

-----------------------------------
blizzard4800
Sun Jan 17, 2010 9:46 pm

RE:Request a Tutorial
-----------------------------------
Is there any turorioals on timers and time .lapse

-----------------------------------
-Grace-
Thu Oct 07, 2010 12:01 am

RE:Request a Tutorial
-----------------------------------
can someone please post a tutorial for case structure, when u have to add calculations in the case structure
Thanks!

-----------------------------------
MrConBeans
Fri Jun 03, 2011 11:24 am

Re: Request a Tutorial
-----------------------------------
How About Music, and how to play Music  :canada:

-----------------------------------
Tony
Fri Jun 03, 2011 11:49 am

RE:Request a Tutorial
-----------------------------------
There's this really old tutorial on Music here -- http://compsci.ca/v3/viewtopic.php?t=190

-----------------------------------
Gold Flame
Mon Jul 25, 2011 6:33 pm

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

-----------------------------------
apython1992
Tue Jul 26, 2011 10:28 am

RE:Request a Tutorial
-----------------------------------
Too specific for a tutorial. Somebody is already helping you in your Turing post.

-----------------------------------
Intet22
Thu Nov 10, 2011 10:58 am

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

-----------------------------------
evildaddy911
Wed Feb 01, 2012 4:49 pm

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"

-----------------------------------
[Gandalf]
Wed Feb 01, 2012 11:01 pm

RE:Request a Tutorial
-----------------------------------
That's basically a style of tutorial.  I think you'll find that some tutorials are already written that way.

-----------------------------------
Raknarg
Thu Feb 02, 2012 8:16 am

RE:Request a Tutorial
-----------------------------------
The Turing Walkthrough already goes through a bunch of basic concepts.

-----------------------------------
evildaddy911
Sun Jul 01, 2012 3:16 pm

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...

-----------------------------------
Insectoid
Sun Jul 01, 2012 3:19 pm

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.

-----------------------------------
Raknarg
Sun Jul 01, 2012 7:04 pm

RE:Request a Tutorial
-----------------------------------
I can make a tutorial. Yes? No? Any other takers?

-----------------------------------
mirhagk
Tue Jul 03, 2012 8:06 am

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.

-----------------------------------
Fortes
Fri Dec 07, 2012 9:17 pm

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?

-----------------------------------
Tony
Fri Dec 07, 2012 10:05 pm

RE:Request a Tutorial
-----------------------------------
probably with the use of [tdoc]Mouse.Where[/tdoc] and [tdoc]Font.Draw[/tdoc]

-----------------------------------
QuantumPhysics
Sat Dec 08, 2012 1:36 am

RE:Request a Tutorial
-----------------------------------
And simple addition and subtraction!

-----------------------------------
JakeTakeLake
Thu May 16, 2013 2:47 pm

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!

-----------------------------------
Nathan4102
Thu May 16, 2013 3:10 pm

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.

-----------------------------------
Raknarg
Thu May 16, 2013 6:16 pm

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

-----------------------------------
andrew.
Sat May 18, 2013 1:28 pm

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.

-----------------------------------
Nathan4102
Sat May 18, 2013 1:44 pm

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)

-----------------------------------
Raknarg
Sat May 18, 2013 1:56 pm

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.

-----------------------------------
Nathan4102
Sat May 18, 2013 2:11 pm

RE:Request a Tutorial
-----------------------------------
So Turing can run a physics engine, but can't play music without severe lag... :/

-----------------------------------
Raknarg
Sat May 18, 2013 10:41 pm

RE:Request a Tutorial
-----------------------------------
No, it can play music fine. Perhaps you're just doing it weird.

-----------------------------------
Nathan4102
Sat May 18, 2013 10:50 pm

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

-----------------------------------
JakeTakeLake
Sat May 18, 2013 10:56 pm

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

-----------------------------------
Insectoid
Sun May 19, 2013 7:50 am

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)
[/code]


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.

-----------------------------------
JakeTakeLake
Sun May 19, 2013 11:56 am

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?

-----------------------------------
Insectoid
Sun May 19, 2013 12:18 pm

RE:Request a Tutorial
-----------------------------------
If you read my post, you'd realize that I did that.

-----------------------------------
imoyMitsgirl
Sun Oct 05, 2014 2:32 pm

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

-----------------------------------
PR069
Fri Oct 10, 2014 7:47 pm

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 :)) 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.

-----------------------------------
Raknarg
Fri Oct 10, 2014 7:52 pm

RE:Request a Tutorial
-----------------------------------
You're going to have to be a bit more concise than that, that's a pretty ambiguous request

-----------------------------------
Tony
Fri Oct 10, 2014 8:04 pm

RE:Request a Tutorial
-----------------------------------
All of the important tutorials are organized at The Turing Walkthrough

-----------------------------------
TheBoyWhoTried
Fri Dec 04, 2015 5:31 pm

Re: Request a Tutorial
-----------------------------------
Could I please, please have a tutorial on animating. How to get things, anything to goddamn move across the screen

-----------------------------------
Insectoid
Sat Dec 05, 2015 8:05 pm

RE:Request a Tutorial
-----------------------------------
There are many such tutorials. You could look at any game tutorial and just ignore anything related to input.
