Jump to content


Photo

Easygml - The Best Way For Novices...


  • Please log in to reply
82 replies to this topic

#1 jemgames

jemgames

    Untrue Studios - Leader

  • New Member
  • 330 posts

Posted 21 October 2006 - 10:14 AM

EasyGML
By Untrue Studios & CJ Master

EasyGML is the new way for novices to use GML. It's easy set of functions and variables makes it so easy to do tasks that novices might find hard!

:P
Story
Well... When i first started gamemaker, i was confused with GML, it was only starting to develop properly and i had no previous programming experiance. Then, as i joined the gmc and got registered i got better!

All my friends wanted me to teach them GML, as they are hardely computer literate it was VERY HARD! But eventaually i got a bit sick of it. So i created EasyGML! :lol:

:rambo
Functions

Commands

move_right(Amount)
Replace Amount with a small number (4 recomended)

move_left(Amount)
Replace Amount with a small number (4 recomended)

move_up(Amount)
Replace Amount with a small number (4 recomended)

move_down(Amount)
Replace Amount with a small number (4 recomended)

jump_to(x,y)
Enter the x and y you want to move too.

bounce()
Bounce the object.

gravity_on()
Turn the gravity on.

gravity_off()
Turn the gravity off.

friction_on()
Turn the friction on.

friction_off()
Turn the friction off.

-----------------------------------

play_sound(Sound)
Play the sound.

volume_up(Sound)
Turn the sound up.

volume_down(Sound)
Turn the sound down.

allvolume_up()
Turn all the sounds up.

allvolume_down()
Turn all the sounds down.

sound_echo(Sound)
Make the sound echo.

sound_gargle(Sound)
Make the sound gargle.

sound_chorus(Sound)
Make the sound chorus.

sound_reverb(Sound)
Make the sound reverb.

sound_flanger(Sound)
Make the sound flanger.

sound_none(Sound)
Stop the sound.

sound_fade(Sound,Time_in_milliseconds)
Fade the sound.

-----------------------------------

platform_init()
Initializes Fox-NL's FoxEngine.

platform_step()
The step event for Fox-NL's FoxEngine.

platform_left()
Moves the player left in Fox-NL's FoxEngine.

platform_right()
Moves the player right in Fox-NL's FoxEngine.

platform_collision()
For the collisions with block in Fox-NL's FoxEngine.

platform_jump()
Makes the player jump in Fox-NL's FoxEngine.

-----------------------------------

object_create(obj, x, y, disable)
Creates object obj at x & y, with the option to disable it if it goes of screen.

object_sprite_change(sprite)
Changes the sprite of self to sprite sprite.

-----------------------------------

d_sprite(sprite)
Draws sprite sprite at objects position

d_text(x,y,text)
Draws text text at X and Y.

d_pixle(x,y,color)
Draw a pixle at x, y.

d_background(background, x, y)
Draws background background at x and y.


-----------------------------------

m_round(number)
Returns the rounded number.

m_rad_to_deg(number)
Returns coverted radians to degrees.

m_deg_to_rad(number)
Returns coverted degrees to rades

m_power(number,to_the_power_of)
Returns argument0 to the power of argument1.

-----------------------------------

i_open(file)
Opens the ini file file.

i_close(file)
Closes the ini file file.

i_write(file, section, key, value)
Writes the value value in ini file file at section section's key key.

i_read(file, section, key)
Reads the ini file file at section section's key key.

-----------------------------------

save(fileno.)
Saves the game to file 1, 2 or 3.

load(fileno.)
Loads the game from file 1, 2 or 3.

-----------------------------------

christmas_message()
Shows a message if it is christmas.

date_message(day, month, message)
Shows the message message if it is day day and month month.

-----------------------------------

particle_create(type, size, colour, x, y)
Creates the particle of type type and size size (small, medium, big) and colour colour at x and y.

particle_clear()
Clears all particles.

-----------------------------------

CJ - I'm to lazy to do these atm, if you like you can do them. Cheers mate.
d3d_draw_cube(x1,y1,z1,texid,texrepeat)
d3d_draw_sphere(x1,y1,z1,texid,texrepeat,steps)
d3d_draw_ground(x1,y1,z1,texid,texrepeat)
d3d_model_cube(ind,x1,y1,z1,texrepeat)
d3d_model_sphere(ind,x1,y1,z1,texrepeat,steps)
d3d_model_ground(ind,x1,y1,z1,texrepeat)

-----------------------------------

For time traveling & EasySock look in their specific folders...



If you want to you can make some scripts for EasyGML and you will be credited.

;)
Update 0.7 - 02/03/07
Hiya everyone! This updtae (just about) coincides with GM7, thats why i decided to name it update 7. Got some cool stuff for you here, including a GM7 Extension!
Cool!

:P
Update 0.5.5 - 03/01/07
Well, Happy new year!
I am sorry for the lateness in updates, but we are still working on the project.
This is just a quick update, so we can give you update 7. All there is in this update is some d3d scripts done by camman and two html scripts by The Shadow. Thanks for that! 0.7 is coming soon, as i am posting this from a internet cafe in North Cyprus!
Cheers! :D


:(
Download

GM6 Mirror 1 - GM7 Mirror 1 - GM7 Expansion - GM6 Mirror 2

Support
Posted Image
Support EasyGML by putting this in your sig!

Major Credits
CJ Master - Info, loads of functions.
Fox-NL - Use of his FoxEngine...
TheGamer3121 - Did the d3d stuff...

Thanks!

I would like to thank, the best Game Maker on the GMC, Fox-NL for inspiring me and just being amazing!


Edited by jemgames, 02 March 2007 - 10:42 PM.

  • 0

#2 the_mysterious_gamer

the_mysterious_gamer

    GMC Member

  • New Member
  • 431 posts

Posted 21 October 2006 - 11:40 AM

You just made 8 lines of code?! It hardly helps yet, much more work is needed. But its idea is good, so add much more features and it could be good.
  • 0

#3 Thull

Thull

    ACP Webdesigner

  • New Member
  • 340 posts

Posted 21 October 2006 - 11:57 AM

ya, I agree with mysterious gamer. You should also make it stop when they release the key.

I might add some features as well.
  • 0

#4 Alex

Alex

    3lite Member

  • New Member
  • 3098 posts

Posted 21 October 2006 - 12:08 PM

Isn't GML easy enough as is? Whats next, the computer reading your mind and making the entire game for you?
  • 0

#5 BlockHead_Rocks

BlockHead_Rocks

    GMC Member

  • New Member
  • 426 posts

Posted 21 October 2006 - 12:54 PM

Isn't GML easy enough as is? Whats next, the computer reading your mind and making the entire game for you?

Yes. ;) Duh..
Lol :(

Edited by BlockHead_Rocks, 21 October 2006 - 12:55 PM.

  • 0

#6 seel

seel

    GMC Member

  • New Member
  • 12 posts

Posted 21 October 2006 - 01:33 PM

This needs alot more work. And it's pretty pointless to..
  • 0

#7 twaggy

twaggy

    GMC Member

  • New Member
  • 218 posts

Posted 21 October 2006 - 02:12 PM

if its for real begginers, make some scripts with more function like,
move_left

x-=argument0 sprite_index=argument1

move_up

y-=argument0 sprite_index=argument1

move_right

x+=argument0 sprite_index=argument1

move_down

y+=argument0 sprite_index=argument1

then they can use them like,
keyboard <left>
move_left(speed,sprite)
otherwise, it mite just be better for them to learn gml.
  • 0

#8 Mr. Limbojello

Mr. Limbojello

    Skater

  • GMC Member
  • 388 posts

Posted 21 October 2006 - 06:16 PM

Ugh, I started making one of these a while ago called GMP. Except mine has 17 functions so far.
  • 0

#9 Bander

Bander

    GMC Member

  • New Member
  • 168 posts

Posted 21 October 2006 - 06:32 PM

This is really not a good idea. You may as well just use the D&D actions. If you want to learn GML then read the help file, and pick up a decent programming book from Borders or some other bookstore.

It would be better for people to learn by actually put the real code instead of a function in an event.

x-=5;
sprite_index=sprLeft

Now, that wasn't to hard was it?
  • 0

#10 AdilFaQah

AdilFaQah

    Whiz Kid

  • GMC Member
  • 2744 posts

Posted 21 October 2006 - 06:45 PM

Sorry, but this is like a really useless idea. I mean really how easier can GML get?
  • 0

#11 Mr. Limbojello

Mr. Limbojello

    Skater

  • GMC Member
  • 388 posts

Posted 21 October 2006 - 07:01 PM

I agree. The only reason I started one was for my lazy ass friend who doesnt like typing long code.
  • 0

#12 the_mysterious_gamer

the_mysterious_gamer

    GMC Member

  • New Member
  • 431 posts

Posted 22 October 2006 - 10:27 AM

To all of you saying GML is easy enough, I beg to differ. There is a lot of common functions in GM that are not built in, although, most of these are advanced, and as such wouldnt belong in an EasyGML project.
  • 0

#13 SleeK GeeK

SleeK GeeK

    The Biggest And The Best

  • New Member
  • 769 posts

Posted 22 October 2006 - 11:57 AM

@the_mysterious_gamer

Yes, i do understand your concern about GML not being as easy, but still, that doesn't mean it cannot be learnt. I don't say it can't get easier than it is, but if you go by the path of making things easier and easier, theres very little chance that you'll ever pick up any of the logic behind the aspect of programming in general.

If i am not wrong, the above GML code present in this system already has D&D equivalents. Moreover, it can also be done in almost the same amount of lines in pure GML as in that wrapped function.

I really appreciate people's effort towards making things easy for others to learn, but what i am saying is, it would be better if a more detailed, step by step instruction towards learning GML is made. We need not jumpstart to GML directly. The main problem while learning is, we dont seperate logic from syntax. If you understand the logic behind something, you just need to learn the syntax of a program and apply available commands to solve a specific problem. This should be the approach of tutorial writers who write articles about introduction to GML.

Regards,
SleeK GeeK.
  • 0

#14 pyrotek7x7

pyrotek7x7

    GMC Member

  • New Member
  • 961 posts

Posted 22 October 2006 - 09:18 PM

Sorry, to burst your bubble, but I hardly think this will work.

It's nearly useless, and you should have them just learn normal functions.

What happens when they have a question? If they post it on the forums, nobody else will know what move_up is, will they?
  • 0

#15 obsesedgamer

obsesedgamer

    GMC Member

  • Banned Users
  • 71 posts

Posted 22 October 2006 - 09:43 PM

honestly this wouldnt help anyone it is just way to simple if you are serious about helping people add i suggest you add some scripts that the average person doesnt know.

#16 Alex

Alex

    3lite Member

  • New Member
  • 3098 posts

Posted 23 October 2006 - 02:16 AM

The only reason I started one was for my lazy ass friend who doesnt like typing long code.


I also get lazy when I have to type alot of code for somthing im going to delete. This is why I make scripts for debugging so I only call a script to debug a section in the game.

And SleeK GeeK, you couldn't have said it any better. :blink:
  • 0

#17 jemgames

jemgames

    Untrue Studios - Leader

  • New Member
  • 330 posts

Posted 29 October 2006 - 08:47 PM

You all have a fair point. I must admit, i needed to put more functions in before i released it. I am going to add the FoxEngine in with functions like:

jump(sprite)

etc.

Thnaks for comments/critisisum.
  • 0

#18 pyrotek7x7

pyrotek7x7

    GMC Member

  • New Member
  • 961 posts

Posted 29 October 2006 - 09:15 PM

Well, if you're going to continue, some nice ideas might be:

jump_to(x,y)
jump_to_room_center(object)

Yeah...
  • 0

#19 jemgames

jemgames

    Untrue Studios - Leader

  • New Member
  • 330 posts

Posted 29 October 2006 - 09:29 PM

Cheers! I'm also gonna do:

shoot(bulletobject,speed,direction)
ammo_add(gun,number)
ammo_take(gun,number)

Things like that...

and mabey, later:

create_particle(x,y,type,colour)

Thnaks!
  • 0

#20 Crispy

Crispy

    Black Sun Empire

  • GMC Member
  • 1200 posts
  • Version:GM8

Posted 30 October 2006 - 01:13 PM

Make like loads of scripts, like LOADS and LOADS
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users