Author Topic: A decent Game Maker :I  (Read 1314 times)

so instead of improving it you're going to say "well it works for me"

yeah this can only end well ...........
Everybody has their own way of formatting. Alot of scripters use a common way. I personally don't give a stuff about what format I use. I just use whats easy for me.

UDK.

Creation Kit (If you have Skyrim)

But you're better off spending time learning the language. It'll help a lot more.

Game Maker isn't bad, just the typical circlejerk hating on things.

I personally am learning BYOND.  Pretty nice language for game deving.

so instead of improving it you're going to say "well it works for me"

yeah this can only end well ...........

This is a script by me. Is it bad?

Code: [Select]
talk("DiceBag by Secton 8448, initiated");
function serverCmdDiceHelp(%client)
{
findClientByName(%client.name).client.chatMessageAll("<color:ffff00>Say /d6 to roll a standard 6-sided dice.");
}
function serverCmdDice(%client,%t)
{
%t=getRandom(1,6)
talk("" @ %client.name @ " rolled a D6 and got " @ %t @ "");
}
No. No. No. WTF!

This is what I see immediately:
>find a client by name, using the name of the client YOU ALREADY HAVE
>get the client of THE FOUND CLIENT THAT YOU ALREADY HAVE
>MESSAGE EVERYONE ANYWAY!!
WHAT THE forget IS WRONG WITH YOU?? HOW IS THIS POSSIBLE??!?

That's like saying "find me any person with the same name as the person I already have, then tell me which person he is, then disregard him completely and just tell everyone in the room"

the most you'll be able to do with BL's torque is make mods

and i wouldn't really start with something like C++ until you actually gain a basic understanding of programming and how games work

maybe you should find the source for some games and look through it, change some things, see what does what, maybe?
No.
Just no.

If you want to disprove me, explain why i didn't need a basic understanding and understand how games work.

Do you really think C++ is hard to most people?

Multimedia Fusion 2 FTW.

Everyone here is missing the point. PurpleMetro is a complete idiot, with no grasp on logic or reality whatsoever. If you truly cannot tell what messageAll does, there is no hope for you.


This is a script by me. Is it bad?

-codesnip-
Code: [Select]
echo("DiceBag by Secton 8448, initiated");
function serverCmdDice(%client,%t){
if(%t $= "help"){
messageClient(%client,'',"\c3Say /d6 to roll a standard 6-sided dice.");
}
else{
talk(%client.name SPC "rolled a D6 and got " @ getRandom(1,6) @ ".");
}
}
simplified it for you.
« Last Edit: May 21, 2012, 09:42:09 PM by TheBlackParrot »

I've been trying to learn Love2D and it's been alright.

Learn a Programming language such as:
-Python
-C
-Java

Everybody has their own way of formatting. Alot of scripters use a common way. I personally don't give a stuff about what format I use. I just use whats easy for me.

there are widely accepted formatting guidelines and you're ignoring them because you're lazy.

guess that's what's to be expected of someone asking for a "game maker" though

Everybody has their own way of formatting. Alot of scripters use a common way.I personally don't give a stuff about what format I use. I just use whats easy for me.
All of a sudden I really don't want to help you because of this. Wouldn't it be great if you were trying to learn from a 10k line project, and entire functions were on one line, with no lines devoted to brackets or anything like that?

Code: [Select]
int random(int min,int max){srand(unsigned(time(NULL))); int randnum=rand()%max+min; return randnum;}Formatting is important. Use it.

However, as for the languages I suggested, here's a quick sample as to what the syntax looks like from each one:

Python
Code: [Select]
def main():
    print "hello!"


Java
Code: [Select]
public class Kittens
{
    public static void main(String[] args)
    {
        System.out.println("hello!");
    }
}

C
Code: [Select]
#include <stdio.h>
int main(void) //should take args but i don't care enough
{
    printf("hello!\n");
}

I personally prefer using C or C++.
« Last Edit: May 21, 2012, 09:56:47 PM by Kaphonaits »

Dark Basic Professional: http://www.thegamecreators.com/?m=view_product&id=2000&page=free

You can get it for free and it is really easy to learn how to code with it. You can make 3D and 2D games with it. I used it for years and made lots of cool stuff with it.