MusicMaker

Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot.
The file must have the ged and data files (complete game source)
Use the forum attachment to post the files.
It is always better to use the first post to put the game files

Postby Sgt. Sparky » Sat Feb 03, 2007 1:39 pm

try my stickManJumperV1.3, Its better :D I am soon adding a save funtion :)
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Joshua Worth » Sat Feb 03, 2007 9:54 pm

using multiple variables is a bad idea. Use a very big array. Do you know how to use arrays?
Stay sweet
User avatar
Joshua Worth
 
Posts: 515
Joined: Tue Jul 19, 2005 12:00 am
Location: Stralia
Score: 5 Give a positive score

Postby Sgt. Sparky » Sat Feb 03, 2007 9:57 pm

yeah, but for loading things some times those arrays can mess stuff up :(
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Game A Gogo » Sun Feb 04, 2007 12:36 am

array would be perfect if you saved it whit a FILE thing
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby Joshua Worth » Sun Feb 04, 2007 12:46 am

you have an array for each variable that needs saving, and make it save into a group, eg. notes. Then when you click save, it saves the group "notes" into a file, with savevars().
Stay sweet
User avatar
Joshua Worth
 
Posts: 515
Joined: Tue Jul 19, 2005 12:00 am
Location: Stralia
Score: 5 Give a positive score

Postby Sgt. Sparky » Sun Feb 04, 2007 12:51 am

but there could be 10 to 100 notes... or maybe more. would it still work for that? :) :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Game A Gogo » Sun Feb 04, 2007 1:07 am

yes, because default, there is no notes, you could set something like this in create actor:
Code: Select all
int a;
for(a=0; a<(the max note number, which will be the same size as teh array); a++)
{
      strcpy( &note[a], "n"); //n is for none
}


readjust the code for fitting your needs
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby Sgt. Sparky » Sun Feb 04, 2007 1:10 am

okay dokey! but right now I am not working on that, I just finished the login thingie and I put it on the demo page :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

...

Postby Stickdood » Sun Mar 25, 2007 9:04 pm

I didn't seem to find it, but how large is the Game Editor file? I hope it's not TOO large. :shock:
Stickdood
 
Posts: 1
Joined: Sun Mar 25, 2007 8:46 pm
Score: 0 Give a positive score

Postby Sgt. Sparky » Sun Mar 25, 2007 10:16 pm

Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Previous

Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest