Jump to content


Photo
- - - - -

Loading Example


  • Please log in to reply
11 replies to this topic

#1 JordanMaster22

JordanMaster22

    GMC Member

  • New Member
  • 496 posts

Posted 17 December 2007 - 04:00 PM

Title: Loading Example
Description: This is an example on how to put a sound loading screen in your game.
Type: GMK
Download: Version 0: Only Sound
Version 1: Loads Sound, Sprites and Backgrounds
Size: 4.29MB & 4.33MB
Other: This is Not for Beginners

I have added version 1. You can now load Sounds, Sprites and Backgrounds.

I credit a guy on Newgrounds for the MP3.

Woah...168 views on the first 4 hours but 0 replies. Please reply.

LOADING BAR
If you want to add a loading bar, you can. It can be a loading bar to show you the total progress, but it can not be a loading bar that shows the progress of a single file, because while those files are being loaded, the game is frozen. First you need an object to draw a health bar. Make a global variable and put it in it's create event. In the example, if an object was done loading a resource, it would change to another object to load another resource. So in the script that changes the object, before changing, set the global variable to +1, +5, +10 etc. It doesn't really matter what number you add it up to. Just try to make it so that when all the resources are done being loaded, the global variable will be 100.

Edited by jchalase, 18 December 2007 - 10:38 PM.

  • 0

#2 Skam

Skam

    GMC Member

  • New Member
  • 1 posts

Posted 18 December 2007 - 12:02 PM

Nice idea, but can you add a loading bar? It'll be perfect
  • 0

#3 mmaarrkkuuss

mmaarrkkuuss

    GMC Member

  • New Member
  • 212 posts

Posted 18 December 2007 - 05:34 PM

Pro, or Lite? I would download if you told and it was Lite, though.
  • 0

#4 Fede-lasse

Fede-lasse

    AI Programmer

  • GMC Member
  • 2009 posts
  • Version:Unknown

Posted 18 December 2007 - 07:20 PM

Why not just use sprite/sound/background_add()?
Great example though.
  • 0

#5 Rewrite

Rewrite

    GMC Member

  • New Member
  • 8 posts

Posted 19 December 2007 - 04:20 AM

This is nice. Good job. KUDOS+++^2300
  • 0

#6 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 19935 posts
  • Version:GM:Studio

Posted 27 July 2011 - 06:13 AM

Std Msg: Please fix the download link

Std Msg: Please use the tutorial template header
  • 0

#7 _228326

_228326

    GMC Member

  • New Member
  • 41 posts
  • Version:GM8

Posted 30 January 2012 - 09:41 AM

Can You Fix The Download LINK??!
  • 0

#8 Jster391

Jster391

    Artist 4 Life

  • GMC Member
  • 630 posts
  • Version:GM8

Posted 06 February 2012 - 09:00 PM

uhhh bumpity bumpity fix the download link please?
  • 0

#9 MasterOfKings

MasterOfKings

    The True Master

  • GMC Member
  • 4888 posts
  • Version:GM8

Posted 07 February 2012 - 08:25 AM

Nocturne bumped a, nearly, 4 year old example. Ouch.
  • 0

#10 Jster391

Jster391

    Artist 4 Life

  • GMC Member
  • 630 posts
  • Version:GM8

Posted 07 February 2012 - 08:17 PM

Nocturne bumped a, nearly, 4 year old example. Ouch.

I can still bump in my blind stupidity. Or you could help me.
  • 0

#11 tautvydas15

tautvydas15

    GMC Member

  • New Member
  • 12 posts
  • Version:GM8

Posted 19 March 2012 - 03:56 PM

please fix links
  • 0

#12 Pandaboy

Pandaboy

    GMC Member

  • GMC Member
  • 593 posts

Posted 21 March 2012 - 02:37 AM

This post has been edited by jchalase: 18 December 2007 - 11:38 PM


guys no idea to tell him to update the broken links :P
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users