Page 1 of 4

Any ideas for tutorials?

PostPosted: Fri Jun 01, 2012 9:33 pm
by lcl
Hello!

I have a computer with a microphone nowadays so I could make some tutorials.
Please tell me what you need tutorials about and I'll see the requests and make tutorials
of the requests that I find best thinking from the view that the tutorials should help many people
and not just one person with his problem.

So, let me hear what you want to learn! :)

Re: Any ideas for tutorials?

PostPosted: Sat Jun 02, 2012 4:16 am
by master0500
what about a platformer fighting tutorial

Re: Any ideas for tutorials?

PostPosted: Sat Jun 02, 2012 3:48 pm
by SuperSonic
How about raytracing or bitmap tutorials? :D

Re: Any ideas for tutorials?

PostPosted: Sat Jun 02, 2012 5:27 pm
by hunter84
im not good with timers. i need to set a timer so the enemy only shoots when hes near the player

Re: Any ideas for tutorials?

PostPosted: Sat Jun 02, 2012 6:37 pm
by happyjustbecause
I don't know if there are already is a full tutorial on this, but could you explain and show the code for the use of parallax backgrounds and such. I would really appreciate it if you could. :)

Re: Any ideas for tutorials?

PostPosted: Sat Jun 02, 2012 8:25 pm
by lcl
master0500 wrote:what about a platformer fighting tutorial

That is a bit difficult because it won't be universal. It would just explain one type of making fights with enemies. And in most games the moves and how the actors act vary so much that my tutorial wouldn't help that many people.. :? Can you make your suggestion more exact? I'll consider this anyway.

SuperSonic wrote:How about raytracing or bitmap tutorials?

I think you mean raycasting since raytracing is like 1000 times more complicated version of it :D But I haven't even taught it to myself yet so I won't be able to make a tutorial of it. But if I learn it I could do a tutorial of it. :) And bitmaps, yes I can, that is a good idea!

hunter84 wrote:im not good with timers. i need to set a timer so the enemy only shoots when hes near the player

Yes I could do a tutorial of setting up timers, that's easy one :)

happyjustbecause wrote:I don't know if there are already is a full tutorial on this, but could you explain and show the code for the use of parallax backgrounds and such. I would really appreciate it if you could.

Sorry but this is something I can't help you with because I don't know the mathematics for it so my tutorial could mislead people :lol: but search the forum, DST made a good explanation post of parallax scrolling some time ago. (I'm writing this on mobile so I can't provide you the link..)

Re: Any ideas for tutorials?

PostPosted: Sat Jun 02, 2012 9:43 pm
by SuperSonic
lcl wrote:I think you mean raycasting since raytracing is like 1000 times more complicated version of it :D
Haha, yeah. I meant raycasting xD

lcl wrote:And bitmaps, yes I can, that is a good idea!
Yes!!! That's something that I've been trying to figure out FOREVER! You'll be my best friend if you make a tutorial on it haha :lol:

Re: Any ideas for tutorials?

PostPosted: Sun Jun 03, 2012 8:02 am
by Bee-Ant
I request a tutorial how to simplify 100 lines of code to be 10 lines :P

Re: Any ideas for tutorials?

PostPosted: Sun Jun 03, 2012 11:41 am
by lcl
Bee-Ant wrote:I request a tutorial how to simplify 100 lines of code to be 10 lines :P

That's easy, just write the brackets and all to the same line and you can have 1000 lines in 1 line :lol:

Re: Any ideas for tutorials?

PostPosted: Sun Jun 03, 2012 12:29 pm
by lcl
@happyjustbecause: The link to the post from DST is here: viewtopic.php?f=27&t=6942&hilit=parallax+scrolling :D

Re: Any ideas for tutorials?

PostPosted: Sun Jun 03, 2012 6:00 pm
by Bee-Ant
lcl wrote:
Bee-Ant wrote:I request a tutorial how to simplify 100 lines of code to be 10 lines :P

That's easy, just write the brackets and all to the same line and you can have 1000 lines in 1 line :lol:

As I expected, you would say something like that :P
Well, actually what I request is code-simplifying tutorial. It's good to learn how to simplify our code sooner. Moreover for fresh-advanced coder where they're advanced enough but still haven't found their own coding style.

Re: Any ideas for tutorials?

PostPosted: Sun Jun 03, 2012 8:20 pm
by lcl
Bee-Ant wrote:
lcl wrote:
Bee-Ant wrote:I request a tutorial how to simplify 100 lines of code to be 10 lines :P

That's easy, just write the brackets and all to the same line and you can have 1000 lines in 1 line :lol:

As I expected, you would say something like that :P
Well, actually what I request is code-simplifying tutorial. It's good to learn how to simplify our code sooner. Moreover for fresh-advanced coder where they're advanced enough but still haven't found their own coding style.

Yeah I understood your point. =) It is just that I think I may not be a good enough coder to teach things like that..
I could lead others to the wrong direction and that's not something I want to do.. I think you or DST or Fuzzy should do the tutorial
of code-simplifying since you are the best coders in here :D

Re: Any ideas for tutorials?

PostPosted: Mon Jun 04, 2012 3:38 pm
by Bee-Ant
Roger, I shall call them here :)

Re: Any ideas for tutorials?

PostPosted: Mon Jun 04, 2012 3:43 pm
by Bee-Ant
hunter84 wrote:im not good with timers. i need to set a timer so the enemy only shoots when hes near the player

Enemy -> Timer -> YourTimerName -> Script Editor:
Code: Select all
if(distance(x, y, Player.x, Player.y <= 150))
{
    //Attaaack!!! :o
}

Re: Any ideas for tutorials?

PostPosted: Mon Jun 04, 2012 11:22 pm
by Fuzzy
Who dares speak my name? A dark summoning has succeeded.

One hundred down to 10? That would be remarkable. I think any example would have to be taken from truly awful code, or any function wrought for purpose of illustration would be very contrived.

In other words, a stage magicians trick.

So I am looking for a function that we can reduce, taken from code in use. Then we - as a community - will talk about how it may be written differently.

Any volunteers?