My Games - Made With Game Maker!
I found a cure for the teleporter thing.
I'm programming the example now, please wait a while
EDIT: I. M. Dunn.
BTW... dlcs18, I'm not more experienced than you in GM but vice versa.
The only thing I'm slightly better than you at is GML coding -- and that's not surprising really because I've been using it longer than you -- but with your experience you can easily catch up with me.
You do not have the required permissions to view the files attached to this post.
- jdl
- Rainbow SuperStar
- Posts: 2891
- Joined: Fri Jun 06, 2008 8:37 pm
- Location: West Virginia, USA
- Contact:
Stinky's Labyrinth Demo 3
This Demo Includes:
7 Levels!
More "Stable" Moving Actions! (Thanks To Dlcs18!!! )
4 Different Colored Keys And Gates!
Red Teleporters! (Thanks To Blast!10!!!)
Updated Level Select Screen!
Fixed Scoring!
Background Music!
Link: http://205.196.120.215/t3m2wznxyyyg/z35 ... Demo+3.exe
Future Plans:
More Teleporter Colors!
The Ability To Switch Between Two Characters!
More Enemies! (Hopefully I can get that Chomper...)
Have fun,
jdl
This Demo Includes:
7 Levels!
More "Stable" Moving Actions! (Thanks To Dlcs18!!! )
4 Different Colored Keys And Gates!
Red Teleporters! (Thanks To Blast!10!!!)
Updated Level Select Screen!
Fixed Scoring!
Background Music!
Link: http://205.196.120.215/t3m2wznxyyyg/z35 ... Demo+3.exe
Future Plans:
More Teleporter Colors!
The Ability To Switch Between Two Characters!
More Enemies! (Hopefully I can get that Chomper...)
Have fun,
jdl
Dlcs18's engine is a bit buggy.
You can't hold down the button to move... you have to repress it all the time and you need good timing.
You can even go over teleporters and through keys.
The moving engine in my teleporter example is more stable, as you can see.
It was introduced in the Maze Game tutorial on yoyogames.
You can't hold down the button to move... you have to repress it all the time and you need good timing.
You can even go over teleporters and through keys.
The moving engine in my teleporter example is more stable, as you can see.
It was introduced in the Maze Game tutorial on yoyogames.
I told you that you were more experienced.Blast!10 wrote:Dlcs18's engine is a bit buggy.
You can't hold down the button to move... you have to repress it all the time and you need good timing.
You can even go over teleporters and through keys.
The moving engine in my teleporter example is more stable, as you can see.
It was introduced in the Maze Game tutorial on yoyogames.
EDIT: And just another thing that I wanna mention since it kinda bothers me if you don't know, my moving engine was just mixing in with jdl's moving engine thingy, I didn't redesign the whole thing.
@jdl: I'm gonna try and make a chomper animation now and I should be done in about 10 min.
Last edited by dlcs18 on Mon May 04, 2009 1:54 pm, edited 1 time in total.
dlcs18
- jdl
- Rainbow SuperStar
- Posts: 2891
- Joined: Fri Jun 06, 2008 8:37 pm
- Location: West Virginia, USA
- Contact:
I just wanna thank you both! It doesn't have to be a perfect game. As long as it works the way I need it to, it's ok.dlcs18 wrote:I told you that you were more experienced.Blast!10 wrote:Dlcs18's engine is a bit buggy.
You can't hold down the button to move... you have to repress it all the time and you need good timing.
You can even go over teleporters and through keys.
The moving engine in my teleporter example is more stable, as you can see.
It was introduced in the Maze Game tutorial on yoyogames.
I already started on one, but it looks really crappy so I'll probally go with yours. Remember, it must be 23 X 29 and have the transparenty color:dlcs18 wrote:@jdl: I'm gonna try and make a chomper animation now and I should be done in about 10 min.
Red: 64, Blue: 128, Green: 0.
I am making a chomper sprite for the game too.
Also, here is a vid about the engine bugs.
EDIT: It's ready.
Game Maker sets the color of the bottom-left pixel as the transparent color.
Also, here is a vid about the engine bugs.
EDIT: It's ready.
No it doesn't...and have the transparency color: Red: 64, Blue: 128, Green: 0.
Game Maker sets the color of the bottom-left pixel as the transparent color.
You do not have the required permissions to view the files attached to this post.
- jdl
- Rainbow SuperStar
- Posts: 2891
- Joined: Fri Jun 06, 2008 8:37 pm
- Location: West Virginia, USA
- Contact:
1. Your mean't to collect the key when your completely on the tile. I implemented that programming, not Dlcs18. Dlcs18 just helped with the moving and other things.
2. Your not supposed to get killed whenever you collide with the gate. That was also my programming.
3. The way you had the teleporter set up was: Whenever just a little pixel of the player touches the teleporter, you get transported. I fixed it the same way I did the key. That also fixed you comming out of the teleporter walking 2 spots. But that eliminates you walking out of the teleporter.
EDIT: I'm definitely using your animation!!! Thanks!
2. Your not supposed to get killed whenever you collide with the gate. That was also my programming.
3. The way you had the teleporter set up was: Whenever just a little pixel of the player touches the teleporter, you get transported. I fixed it the same way I did the key. That also fixed you comming out of the teleporter walking 2 spots. But that eliminates you walking out of the teleporter.
EDIT: I'm definitely using your animation!!! Thanks!
Last edited by jdl on Mon May 04, 2009 2:43 pm, edited 2 times in total.
Hopefully these steps will fix those blasted engine bugs.
1. On the stinky object, change the "key press" to just "keyboard" events.
2. On that event change teh "snap to grid" thingy with "if object is snapped to grid" and place the action just above the moving action if it isn't like that already.
And then the engine will hopefully be REALLY smooth.
1. On the stinky object, change the "key press" to just "keyboard" events.
2. On that event change teh "snap to grid" thingy with "if object is snapped to grid" and place the action just above the moving action if it isn't like that already.
And then the engine will hopefully be REALLY smooth.
dlcs18
I chose the End Step option because having the <no key> event makes it so when you are holding down spacebar or something like that when moving you will keep going. And that's a bit of a flaw IMO.Blast!10 wrote:Adding on to Dlcs's post, change the End Step event to <no key>.
This makes the perfect gridsnap engine.
dlcs18
- jdl
- Rainbow SuperStar
- Posts: 2891
- Joined: Fri Jun 06, 2008 8:37 pm
- Location: West Virginia, USA
- Contact:
Ok, it works, but their is a mayjor glitch! Say your moving up, and you press left or right in the middle of moving up. You will no longer be snapped to the grid and will not stop moving until you get back on it!!! Look at the picture.
You do not have the required permissions to view the files attached to this post.
Hmm... that's weird.
EDIT: He doesn't seem to be on Skype at the moment.
EDIT2: Now he needs to fix his internet so he won't be on for a while. I'll try to see why the game is doing that.
This was the step that was supposed to prevent that from happening. So I don't understand what's wrong. So I'll go ask Yuv.I wrote:2. On that event change teh "snap to grid" thingy with "if object is snapped to grid" and place the action just above the moving action if it isn't like that already.
EDIT: He doesn't seem to be on Skype at the moment.
EDIT2: Now he needs to fix his internet so he won't be on for a while. I'll try to see why the game is doing that.
dlcs18
Make event called "create" in chomper object.jdl wrote:Ok.
Now, I got the Chomper object inserted. I want it to go left and right only, and when it hits a wall, turns around.
Put in a move instance action, select both left and right for the directions.
On collision with a wall, add an action which says "Reverse horizontal direction".
Then you should have chomper.
But you'll run into a problem: The chomper isn't facing left when it goes left. I'm gonna flip the chomper sprite and then tell you the instructions to make the sprite change when it goes a diff. direction.
Last edited by dlcs18 on Mon May 04, 2009 3:58 pm, edited 1 time in total.
dlcs18
k here is flipped guy
make another sprite and add it, so you have a sprite of a left chomp and a right one
OK here is what you tal do.
Make an event in chomper called Step
Put these actions in:
If variable hspeed is larger than 0
Set sprite to right facing chomper
If variable hspeed is smaller than 0
Set sprite to left facing chomper
EDIT: Aw crap... XD The left facing chomper is not animated so wait another sec...
make another sprite and add it, so you have a sprite of a left chomp and a right one
OK here is what you tal do.
Make an event in chomper called Step
Put these actions in:
If variable hspeed is larger than 0
Set sprite to right facing chomper
If variable hspeed is smaller than 0
Set sprite to left facing chomper
EDIT: Aw crap... XD The left facing chomper is not animated so wait another sec...
dlcs18
- jdl
- Rainbow SuperStar
- Posts: 2891
- Joined: Fri Jun 06, 2008 8:37 pm
- Location: West Virginia, USA
- Contact:
Here is the object info:
Information about object: Chomper
Sprite: Chomper
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: <no parent>
Mask: <same as sprite>
Create Event:
align position to a grid with cells of 23 by 29 pixels
start moving in directions 000001000 with speed set to 2.875
Step Event:
if hspeed is larger than 0
set the sprite to Chomper with subimage 0 and speed 1
if hspeed is smaller than 0
set the sprite to Chomper Reversed with subimage 0 and speed 1
Collision Event with object Wall:
reverse horizontal direction