ID:83054
 
Keywords: coding, game, slow
Okey so my game is making progress, but i get too pissed when i find something on a library that's awesome and then i can't code it in for some reason without getting 50 errors. So i'm gonna relearn my coding. So the game goes pretty slow but Vhake has been working hard on the icons.

Anyone got a good tip for me how to learn coding? I read ZBT guide and learned alot but i can still barely anything more.
There is a difference between usr and src. You see, src is the object containing the command, usr is the one initiating the command.

mob/verb/dothing()
In this command usr and src are the same. The the object containing dothing() is the player's mob and the one calling dothing() is also the player.

obj/cookie/Click()
In this command src is /obj/cookie since it's the object containing Click(). The one initiating Click() on the other hand, is usr.
Yeah that i know :P Thanks anyway. But i mean, i copied codes from three different libs and then it all screwed up because it didn't recognize stuff like Mob and that. But i need to somehow learn coding..i guess i just keep doing sources and add stuff to them.
Leviathanos wrote:
i guess i just keep doing sources and add stuff to them.

That's a pretty ass-backwards way of "learning."
My advice is to start small, read the DM guide and check the reference constantly while learning. Adding more libraries made by people who know their stuff a lot better than you isn't going to help, and using the various anime sources being tossed about everywhere will definitely hurt you in the long run.
When i say source i mean my sources. If you look to the left of the post you see i got a game and i've been on byond for ages so i got alot of work to use.
Techgamer wrote:
check the reference constantly while learning.

Shoot, even after 'learning' you should be checking it. I still check it all the time. In some ways F1 is much more helpful than Ctrl+C.

Leviathanos wrote:
If you look to the left of the post you see i got a game

You have a hub page.
true.

But i got blogposts about my games progress so.
SuperAntx wrote:

Shoot, even after 'learning' you should be checking it. I still check it all the time. In some ways F1 is much more helpful than Ctrl+C.

This is very true too.
Ye it's helpful but makes me even more confused. I need to start from 0 and build on. But i always get stuck at the time when i get to attack script. That is pretty much the first longer, harder code. And i always get stuck there.
The whole getting started section of Dream Makers provides a bunch of links for people who are new to DM. Go through each of those links and analyze their contents (except the reference, just use that for... reference. But look up any functions that you're not familiar with before you start using them.)

Realistically it takes a few months before you'll really understand what you're doing. Just keep at it.
Well i can help u but also can u make me a gm in ur game lol i always ask never get tho and i can help u make a perfict game cause i code for other if u want my contact details get back to me
mob/verb/dothing()
obj/cookie/Click()
A few basic controls which u need for usr AND src thanks.
Sir ross wrote:
mob/verb/dothing()
obj/cookie/Click()
A few basic controls which u need for usr AND src thanks.

nub!