Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / I am having trouble trying to create a game like Puyo Puyo

Author
Message
SmileSlime
6
Years of Service
User Offline
Joined: 10th May 2017
Location:
Posted: 15th Mar 2018 20:55
I've been developing an action puzzle game like Puyo Puyo.
I was coding it until I approached a problem, which is detecting when the same colored objects are together.

If you know Puyo Puyo, then you should know that when 4 or more same colored Puyos stick together they pop and delete themselves.
I've tried arrays with collision boxes that are rotated 45 degrees (So it looks like a diamond) that checks if the neighboring objects are the same color.
I've coded it that way but it simply didn't work.

It would be nice of anyone if they can explain to me on how I should code in a way for the same color detection to work properly.

[href=https://www.youtube.com/watch?v=Gq0U-ml1HS4]
Here's a video showing how Puyo Puyo works.[/href]


I love games, who doesn't?
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
SmileSlime
6
Years of Service
User Offline
Joined: 10th May 2017
Location:
Posted: 15th Mar 2018 23:14
Quote: "i think your game works like this only match 4 rather than three"


Thanks, I'll figure out the code.
I love games, who doesn't?
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 16th Mar 2018 13:29 Edited at: 16th Mar 2018 13:36
i maked this game by myself long ago (2002) because i had only a demo of that worked some minutes only that was so annoying so i choose to copy it
.bb is blitz basic source code.
you need sprites for all combination of connections in different colors.
AGK (Steam) V2017.12.12 : Windows 10 Pro 64 Bit : NVIDIA (390.65) GeForce GTX 1050 Ti : Mac mini OS High Sierra (10.13)

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-24 03:57:39
Your offset time is: 2024-04-24 03:57:39