Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AbrahamR, AndrewAMD, ozgur), 763 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
my first tutorial ive contributed!!! #247130
01/19/09 08:05
01/19/09 08:05
Joined: Sep 2005
Posts: 508
Texas
not_me Offline OP
User
not_me  Offline OP
User

Joined: Sep 2005
Posts: 508
Texas
Its a pretty cool tutorial i spent alot of time on. You may notice that its not your average everyday tutorial but its a bit different. I hope you enjoy it. smile

you can find it at my web site which is under construction at the moment =) but the tutorial is accessable.

Last edited by not_me; 01/19/09 08:07.

-Initiate Games
-Level designer

http://www.sckratchmagazine.com
Re: my first tutorial ive contributed!!! [Re: not_me] #247176
01/19/09 11:36
01/19/09 11:36
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
i cant open it



Ubi bene, ibi Patria.
Re: my first tutorial ive contributed!!! [Re: croman] #247181
01/19/09 11:55
01/19/09 11:55
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Tutorial for what?

Re: my first tutorial ive contributed!!! [Re: Cowabanga] #247195
01/19/09 13:01
01/19/09 13:01
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
The C-Script part is absolutly awsome smile
Code:
Function add()
{
    while(a = 1 && b = 1)
    {
        a+b=c;// or 2
}
}


An action is btw the same as a function.
Did you btw try the code? I would be interested in what is happening then...
The white text on the bright green background is btw not very great to read.

Re: my first tutorial ive contributed!!! [Re: Slin] #247198
01/19/09 13:21
01/19/09 13:21
Joined: May 2008
Posts: 150
Switzerland
Hitsch Offline
Member
Hitsch  Offline
Member

Joined: May 2008
Posts: 150
Switzerland
I think it's a good idea to make a very basic tutorial for beginners, but it really is hard to read.

If I get this right you have spent a lot more time on the effects than the actual tutorial.

...and the music starts playing again after a while, that's very annoying smile

Re: my first tutorial ive contributed!!! [Re: Hitsch] #247310
01/20/09 01:38
01/20/09 01:38
Joined: Sep 2005
Posts: 508
Texas
not_me Offline OP
User
not_me  Offline OP
User

Joined: Sep 2005
Posts: 508
Texas
hrm. i should have tried black or something or used all dark grey. the music...you couldve clicked the pause button and it would have stopped.


-Initiate Games
-Level designer

http://www.sckratchmagazine.com
Re: my first tutorial ive contributed!!! [Re: Slin] #247311
01/20/09 01:44
01/20/09 01:44
Joined: Sep 2005
Posts: 508
Texas
not_me Offline OP
User
not_me  Offline OP
User

Joined: Sep 2005
Posts: 508
Texas
Originally Posted By: Slin
The C-Script part is absolutly awsome smile
Code:
Function add()
{
    while(a = 1 && b = 1)
    {
        a+b=c;// or 2
}
}





An action is btw the same as a function.
Did you btw try the code? I would be interested in what is happening then...
The white text on the bright green background is btw not very great to read.

LOL bone head mistake...should be:
Code:
Function add()
{
    while(a == 1 && b == 1)
    {
        a+b=c;// or 2
}
}


i know that functions and actions are pretty much the same...but for the purpose of teaching new beginners i seperated them...and the music does restart after a while! lol i just paused it and it started up again 3 minutes later...but it is my first tutorial. i wanted to do something different than just your average text document or pdf file...atleast it was pretty... smile minus the white on light green...shoulda used grey like i did for the larger text.


-Initiate Games
-Level designer

http://www.sckratchmagazine.com
Re: my first tutorial ive contributed!!! [Re: not_me] #247354
01/20/09 12:33
01/20/09 12:33
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
This: while(a = 1 && b = 1)
would just set a and b to one and cause an endless loop.
This: a+b=c;// or 2
wouldn´t compile... and make me wonder if you ever wrote a code completely on your own.

This is how it should be:
Code:
function add()
{
    while(a == 1 && b == 1)
    {
        c = a+b;
    }
}

Also have a look at the position of the bracket closing the loop...
It doesn´t really matter, but especially in a tutorial you should write clean code.

Other than that it would make much more sense to create something which is somehow usable, and to test everything...

Last edited by Slin; 01/20/09 12:35.
Re: my first tutorial ive contributed!!! [Re: Slin] #247379
01/20/09 15:56
01/20/09 15:56
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
Also the code shown would be pointless, their is no need for the loop.


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Re: my first tutorial ive contributed!!! [Re: Blade280891] #247421
01/20/09 19:45
01/20/09 19:45
Joined: Sep 2005
Posts: 508
Texas
not_me Offline OP
User
not_me  Offline OP
User

Joined: Sep 2005
Posts: 508
Texas
it was just an example to show what a loop is. I kno thered be no need for it...why do i need to loop my additions...unless i wanted to get an infinite number or something...


-Initiate Games
-Level designer

http://www.sckratchmagazine.com
Page 1 of 2 1 2

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1