New account registration is temporarily disabled.

JUSTROB'S PROFILE

Search

Filter

Need help with a slot machine.

It's relatively simple, but I've seen less complex tutorials so I guess I can put one up. I'll update this when it's ready.

Need help with a slot machine.

Nevermind, I figured it out, it was actually not so difficult when I thought about logically. Sorry.

Need help with a slot machine.

Hello,

I'm trying to make a rock-paper-scissors slot machine type minigame. Simply put, I have a picture strip with a fist, palm, and scissors on (like slot machine pictures, beneath each other). They start spinning, you press the button, it randomly selects one of the three and stops there.

Anyway, what I need help with is making the picture loop. The picture moves down, but then I need the same picture to re-appear right above it to make it look like it's spinning. If this is confusing, just think of the parallax background in Rm2k3 moving vertically, only with pictures.

I've tried to do this by showing the picture strip, moving it down, then erasing it and immediately showing it again in the starting position. Unfortunately this still shows a slight gap.

Does anyone have suggestions as to how I could accomplish this?

Introduction to pixel movement in rm2k3

Thank you, that works. Finally I have near-perfect working movement and collisions.

If anything comes to mind or you have any more suggestions regarding to the upper layer tiles, please let me know. I'll ponder on it myself for a while and see what I can come up with.

Introduction to pixel movement in rm2k3

But then I'd have to make duplicates of a lot of tiles, and with the chipset size limit that's not easy to pull off...

I don't have an "Event End ID" by the way, and I can't find anything about that in your sample or the tutorial. I only got "Even Start ID" and "Obstacle Start ID". "Event Start ID" is set to 4, but I can still walk through event ID 4.

Introduction to pixel movement in rm2k3

But... That's virtually impossible, right? I mean, since you can't put transparent blank tiles on lower layer, how would I accomplish that?

That might be it, where do I set those variables?

Introduction to pixel movement in rm2k3

Wow, that actually works :D

However, I can still walk through events, and I can't set the terrain for upper layer chips, so I can walk through those as well. Is there a fix for that?

Introduction to pixel movement in rm2k3

What do you mean? What should I set them to?

Introduction to pixel movement in rm2k3

Alright, well since I'm using an RTP character too my pictures are the same size as yours. I've replicated your collision event to the letter, but my character still keeps walking through everything.

Do you have any idea what could be the problem? I've done everything, made the running event, added the pages and switches to the MapRef event, etc.

Introduction to pixel movement in rm2k3

But why 7 pixels to the left? You said the picture size of your sprites is 24x32. So the center is at 12x16, right? Then shouldn't the lower left corner be 12 pixels to the left, 16 pixels down?