October 19, 2021, 10:41:41

Author Topic: Match3 Game - Dragon's Cavern Puzzle Quest  (Read 2125 times)

Offline Matty

  • Hero Member
  • *****
  • Posts: 1369
    • MattiesGames
Match3 Game - Dragon's Cavern Puzzle Quest
« on: September 08, 2020, 21:38:20 »
Good Morning peoples.

Here is the current game I am working on for the competition.

I'm using graphics obtained many years ago from a variety of sources, but they seem to work quite well.

This is after 1.5 days work (yesterday and this morning).

Image:


Link:

https://www.mattiesgames.com/games.php?r=0001&game=match3

Very early stages...
« Last Edit: September 15, 2020, 15:53:03 by Matty »
I eat cheese in the trees when its eight degrees

Offline blinkok

  • Sr. Member
  • ****
  • Posts: 380
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #1 on: September 08, 2020, 23:33:35 »
That is looking very nice. The coloured tiles and characters really pop in front of the monochrome bg.
I don't think the vector font style matches though. Maybe something like this?

Offline Derron

  • Hero Member
  • *****
  • Posts: 3666
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #2 on: September 08, 2020, 23:57:02 »
I assume the colours of the matched 3 (or more) define what unit is moved and attacking?
So later on - like with the sword, have a spellbook (in blue), a demonish potion (yellow) etc.

but ... this might already look too "different" amongst the tiles, so give them some more abstract looks so they can look a bit more "similar" -- many many many ...many years ago I started "knights n blocks".

(flames animated)





As you see, I simply used "shields" there ... your shields could have the symbol of the attack type (a black sword, a book , ...) but with the shields defining the "outer".

As your units are "pixel style" I would try to do the same with the match 3 blocks ... you might even "draw" them first. But later on your computer you need to do the pixel art (layer on top).



Nonetheless: assets can later be modified, get it working first - so people could check out the game play and give hints where it "lacks". This then defines what you actually need - and how things could be joined and glued together.

bye
Ron
« Last Edit: September 08, 2020, 23:59:57 by Derron »

Offline Matty

  • Hero Member
  • *****
  • Posts: 1369
    • MattiesGames
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #3 on: September 09, 2020, 00:06:42 »
Kind of Derron.

Lightning adds bonus damage which is stored under the heroes for use when an attack is made.
Cross heals the heroes.
Dagger attacks one monster.
Green bolts attack all monsters.
Scary face attacks monsters and gives bonus damage.

The actual hero who attacks is kind of irrelevant....

The tiles don't move exactly like match 3 games - you can slide them around as well as swap them.

The tiles fall from the top whenever the top row is clear.

The level is complete when all the monsters are eliminated.

Game over, which is rare, occurs if all the heroes die.

Monsters spawn whenever a new row appears.
I eat cheese in the trees when its eight degrees

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2478
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #4 on: September 09, 2020, 06:02:50 »
really REALLY slllloooooooowwwwwww on safari :(

Offline Matty

  • Hero Member
  • *****
  • Posts: 1369
    • MattiesGames
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #5 on: September 09, 2020, 06:15:02 »
Optimisation comes later....once gameplay sorted.
I eat cheese in the trees when its eight degrees

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2478
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #6 on: September 09, 2020, 07:44:35 »
when i say slow - I mean slow as in sllllloooooooooowwwwwwwwww. it virtually doesn't do ANYTHING, respond, draw. etc
Seems to be about 1 fps!

there is no user interaction, ones you 'touch to start' you can't do anything else....
« Last Edit: September 09, 2020, 07:47:07 by iWasAdam »

Offline Matty

  • Hero Member
  • *****
  • Posts: 1369
    • MattiesGames
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #7 on: September 09, 2020, 10:23:44 »
Not sure what that could be.

I've tested on:
Pc with chrome, pc from 2013.
S4 galaxy phone from 2014.
Samsung Tablet from 2018....

And it runs better than that on all of them.

Don't have safari so can't see why that browser slows diwn and I doubt your pc is slow.

I know it is not optimised but even on my slowest device a phone from 2014 it does better than that.
I eat cheese in the trees when its eight degrees

Offline blinkok

  • Sr. Member
  • ****
  • Posts: 380
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #8 on: September 09, 2020, 10:32:42 »
Works fine for me

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 3235
  • elgol
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #9 on: September 09, 2020, 10:37:34 »
Quote
when i say slow - I mean slow as in sllllloooooooooowwwwwwwwww. it virtually doesn't do ANYTHING, respond, draw. etc

Yes on PC and Chrome something is seriously wrong, hardly any response from the program.
Windows 10 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
MacOS Big Sur 64-bit, 8Gb RAM, Intel i5 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB
Linux Mint 19.3 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
Raspberry pi 3, pi 4, pi 400, BBC B, C64, ZX Spectrum

Offline Matty

  • Hero Member
  • *****
  • Posts: 1369
    • MattiesGames
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #10 on: September 09, 2020, 10:42:28 »
Perhaps Ctrl-F5 to refresh the cache? An old script might be cached causing the program to be wrong.
I eat cheese in the trees when its eight degrees

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 3235
  • elgol
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #11 on: September 09, 2020, 10:47:20 »
No, that didn't fix it.
Windows 10 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
MacOS Big Sur 64-bit, 8Gb RAM, Intel i5 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB
Linux Mint 19.3 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
Raspberry pi 3, pi 4, pi 400, BBC B, C64, ZX Spectrum

Offline Derron

  • Hero Member
  • *****
  • Posts: 3666
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #12 on: September 09, 2020, 11:21:10 »
- block field "jitters" (randomly moves by a pixel or 2 to the right/left and then back)
- controls only work "randomly" - so I hit an element and then click on the next, nothing happens, trying "swipe" (mousedown + movement) but also no reaction, trying both again - and it works
- when it works, animation is smooth

Maybe "for now" add a highlight to the active game block - so people know when they are "moving" it (and you see if controls are borked)


bye
Ron

Offline blinkok

  • Sr. Member
  • ****
  • Posts: 380
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #13 on: September 09, 2020, 11:41:19 »
Quote
I also don't like how the falling tiles lurch from one square to the next one below
I think that's because they move one square, check for combinations and then move on

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2478
Re: [Competition Entry] Match3 Game - Dragon's Cavern Puzzle Quest
« Reply #14 on: September 09, 2020, 12:18:34 »
@Matty my thoughts on this are:
1. completely dump the entire code you have - there is something not right and you will do your head in trying to work it out.
2. start with just the rectangles - NO bitmaps nothing else
3. draw the board and check the mouse position with a different color for the rect as you move over them

This will tell you if the base ui is operational. Next would be to work out what is the best way to switch a rect with another rect.

THIS IS A MUST
DUMP all the code you have - especially any framework code you 'know' works. there should be no loading screen no graphics nothing. You are testing if the code works - nothing else :)

Before moving on to ANYTHING else - check back with us to see if that is working :) <- it might even be whatever dev system you are using.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal