| |
super mario: fierce blow, A game idea i had. can people help?
Soiyeruda |
|

Because retarded looking women is fun. :S
![Super Happy Heart Badge [*]](https://archive.mfgg.net/html/badges/shappyheart.gif) ![Super Reviewer Badge [*]](https://archive.mfgg.net/html/badges/reviews.gif) ![Sprite Comp Top 5 Badge (1) [*]](https://archive.mfgg.net/html/badges/sct1.gif) ![Drawing Comp Top 5 Badge (3) [*]](https://archive.mfgg.net/html/badges/dct3.gif) ![Minigame Comp Runner Up Badge (1) [*]](https://archive.mfgg.net/html/badges/mcr1.gif)
![Minigame Comp Third Place Badge (2) [*]](https://archive.mfgg.net/html/badges/mct2.gif) ![Music Comp Third Place Badge (1) [*]](https://archive.mfgg.net/html/badges/uct1.gif) ![Secret Santa Badge [*]](https://archive.mfgg.net/html/badges/present.gif)

Group: Members
Posts: 3589
Member No.: 5004
Joined: 6-March 08
Status: (0d)
![[--]](style_images/mfgg2_skin/warn_nosuspend.gif)

|
| QUOTE (RandemnoTE @ Oct 11 2009, 11:22 AM) | | err... where the hell did the four doodles come from, why isn't there a cursor after you place the red dot, and... what the hell was all that code?!? i understand what it's ment for, and like the idea.... i would personaly prefer it, but first i must understand it a bit better. |
Mystery of the 4 Appearing Doodles: On objCursor, look at the script under the Room Start event. You'll notice these lines of code:
| CODE | char1=instance_create(32,32,objCharSelect); char1.character=1; char2=instance_create(64,32,objCharSelect); char2.character=2; char3=instance_create(96,32,objCharSelect); char3.character=3; char4=instance_create(128,32,objCharSelect); char4.character=4; char5=instance_create(96,96,objCharSelect); char5.character=5;
|
These commands create the doodles. When you use something like:
| CODE | | variable=instance_create(x,y,obj) |
The instance (object) created can also be referred to as (variable) to that particular object. By doing this method, I basically created 5 of the same object, but each gets a different image (that's what the character variable is used for).
Mystery of the vanishing Cursor:
I actually made it invisible. If you want it back, go to Global Game Settings and under the Graphics tab (or first screen you see), put a check next to "Display the cursor".
Mystery of the code:
That's classified
You might have to be a bit specific. For the most part, I actually used quite a few made-up variables, and a few basic GML (Game Maker Language) functions. If you need me to go in detail, I can reedit the file to include a deeper explanation on some portions.
Additionally, there's also the Game Maker "manual", included with Game Maker. To access it, go into Game Maker and either press F1, or the ? circle near the top of the screen.
Hope that explained some of it.
|
|
|
Soiyeruda |
|

Because retarded looking women is fun. :S
![Super Happy Heart Badge [*]](https://archive.mfgg.net/html/badges/shappyheart.gif) ![Super Reviewer Badge [*]](https://archive.mfgg.net/html/badges/reviews.gif) ![Sprite Comp Top 5 Badge (1) [*]](https://archive.mfgg.net/html/badges/sct1.gif) ![Drawing Comp Top 5 Badge (3) [*]](https://archive.mfgg.net/html/badges/dct3.gif) ![Minigame Comp Runner Up Badge (1) [*]](https://archive.mfgg.net/html/badges/mcr1.gif)
![Minigame Comp Third Place Badge (2) [*]](https://archive.mfgg.net/html/badges/mct2.gif) ![Music Comp Third Place Badge (1) [*]](https://archive.mfgg.net/html/badges/uct1.gif) ![Secret Santa Badge [*]](https://archive.mfgg.net/html/badges/present.gif)

Group: Members
Posts: 3589
Member No.: 5004
Joined: 6-March 08
Status: (0d)
![[--]](style_images/mfgg2_skin/warn_nosuspend.gif)

|
| QUOTE (RandemnoTE @ Oct 11 2009, 03:27 PM) | I don't mind. the next thing though... should we try for attacks? or HUDs? or even hammer tosses? (and by we i mean i'll try, and see if i can figure it out than ask for help later) added stuff to the title screen |
Just some general advice on how to do what you want (in order of difficulty)
Hammers: Basically, make it like a fireball, except get rid of the bounce (or keep it at a minimal), and instead of direction and speed, use hspeed (left-right speed. negative=left, positive=right) and vspeed (up-down speed. negative=up, positive=down).
HUDs: Make an object that has a draw event. If you want to show statistics, it's a must that they are global variables.
Attacks: This will basically require you to make hitbox objects. Hitboxes are, as their name implies, invisible boxes that basically determine an attacks range. You can use normal squares, but if you want it to be more realistic, it's better to actually take the attack's shape and make that a hit box (eg. If the attack is a punch, The hitbox should take the shape of the punch). You'll want these to last as long as the attack animation itself, and deal damage, so it's also important to use codes like:
| CODE | hitbox=instance_create(x,y,objhitbox)
|
Good luck. :S
This post has been edited by Soiyeruda on Oct 11 2009, 01:38 AM
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
[ Script Execution time: 0.0583 ] [ 13 queries used ] [ GZIP Enabled ] [ Server Load: 1.51 ]
| |