StrykerTheHedgehog Posted January 19, 2010 Report Share Posted January 19, 2010 Since I didn't get an answer for my last post I'm trying again. DOES ANYONE WHO USES GAME MAKER know how to make a goal ring? Link to comment Share on other sites More sharing options...
justin123 Posted January 19, 2010 Report Share Posted January 19, 2010 I recommend that you learn GML first before you try to make a game. 1 Link to comment Share on other sites More sharing options...
Sslaxx Posted January 20, 2010 Report Share Posted January 20, 2010 http://www.yoyogames.com/gamemaker/docs - if you don't already have it, look here for documentation. Link to comment Share on other sites More sharing options...
Rael0505 Posted January 20, 2010 Report Share Posted January 20, 2010 Have you even looked at the tutorials and engines/templates of the main site? Open up the tutorials and learn from stuff, then ask questions if you still need help. A goal ring should be relatively simple - Sonic collides with ring, cue end of level sequence and jump to next level. Link to comment Share on other sites More sharing options...
conicteam Posted March 29, 2010 Report Share Posted March 29, 2010 The goal ring is simple. The end of the screen score tally is probably what he wants to know, and that's also want I want to know too. Link to comment Share on other sites More sharing options...
Kirs Posted March 29, 2010 Report Share Posted March 29, 2010 I recommend that you learn GML first before you try to make a game. +1 Link to comment Share on other sites More sharing options...
FanGameRevolver Posted March 29, 2010 Report Share Posted March 29, 2010 DOES ANYONE WHO USES GAME MAKER know how to make a goal ring? *raises hand* oh oh me! I do! I do! can I has cookie now?! first off you'll need to create the scores to be shown on screen. This is a really simple example: things in brackets ( <,> ) will depend on how you set up your game and will need replacing. code like this will go into your goal rings step event. timebonus = (10 - <minutes_passed> )*1000;ringbonus = ( <rings> * 100 )totalbonus = ringbonus + timebonus[/CODE]and set an alarm/timer, whatever the fuck its called in game maker. You can do this with just a drag function or with code.then you'll need to draw the display, every draw action will have to go in the object's draw event.I'm going to draw the display with relation to the object, rather then the screen since game_maker changes all of this in various builds.[CODE]draw_set_color(c_white) //<--can change the colordraw_set_font(<font you wish to use>) draw_text(x-10,y-25,"TIME BONUS: "+string(timebonus)) //may want to tweak the x and y bits heredraw_text(x-10,y+10,"RINGBONUS: "+string(ringbonus)) //here toodraw_text(x-10,y+5,"TOTAL: "+string(totalbonus)) //ya here too[/CODE]Now since this does not draw it relative to the screen you may want to stop sonic, or just delete his object (if possible) so that the results stay visible.Then when the timer you set goes off, just send the player to the next levelIf this still doesn't make much sense try reading game makers help files by pressing F1 in the editor, You'll need to learn code yourself to add in stuff. Games aren't made by taking an engine and slapping levels together with them. You have to spend time trying to learn programing languages and all sorts of tools. There is no easy way to make a good game. I'm honestly surprised I just wrote this shit out for you to be honest. Normally I would have said, "Step one, hit F1, step two figure it out." Link to comment Share on other sites More sharing options...
Recommended Posts