Magic 4x4
Re: Magic 4x4
Anyway, in the first few lines of the game's code, I specified that I'm using PB 6.12.
Sorry to those using the latest version of PB.
Sorry to those using the latest version of PB.
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Magic 4x4
If you add the flag, it will run with both.
Re: Magic 4x4
Thanks SPH for sharing, I love this game (and my highscore isn't nearly as high as NicTheQuick's).
In my opinion there's no need for an animation for the new tiles, but that's...my opinion. (well actually it distracts me almost to the point that it hurts my eyes...) For the time beeing I changed flash=1 to flash=0 - so thanks for not just providing the compiled program but also giving the source code.
In my opinion there's no need for an animation for the new tiles, but that's...my opinion. (well actually it distracts me almost to the point that it hurts my eyes...) For the time beeing I changed flash=1 to flash=0 - so thanks for not just providing the compiled program but also giving the source code.
NicTheQuick wrote: Sat May 17, 2025 1:13 pm A bit of feedback here: I don't like the flickering of new tiles. Can you make it optional or change the animation? Maybe implement some kind of growing tile. So it starts a bit smaller and grows into normal size? I think that would look way better.
Re: Magic 4x4
I never offered the compiled file.
For the new piece to flash, we need to know where it appears. But okay, I'd reduce its flashing.
EDIT :

Ability to back out 4 moves if you feel stuck (#PB_Key_Back)
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Magic 4x4
@SPH
I think there is a big bug on it:
Your 'move check "down"' works not correct:
a vertical line like:
result in:
but correct is:
I think there is a big bug on it:
Your 'move check "down"' works not correct:
a vertical line like:
Code: Select all
4
16
2
2
Code: Select all
4
16
-
4
Code: Select all
-
4
16
4
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: Magic 4x4
I checked the rollback and there's no error.
But I know what you mean (it's misleading).
To see if there's any error, start the game and move a piece 4 times. Once done, you can rollback 4 times.
Make sure you have 1 piece, then 2 pieces, then 3, then 4.
The rollbacks are fine.
The confusion you're making (I'm sure) is that you play and rollback on 2 or 3 moves. It seems to "mix up" the pieces.
PS: I would make 5 rollbacks instead of 4. It will be in a future version. And now I need to make the animation for moving the pieces. Anyway, it will be in version 1.2.
But I know what you mean (it's misleading).
To see if there's any error, start the game and move a piece 4 times. Once done, you can rollback 4 times.
Make sure you have 1 piece, then 2 pieces, then 3, then 4.
The rollbacks are fine.
The confusion you're making (I'm sure) is that you play and rollback on 2 or 3 moves. It seems to "mix up" the pieces.
PS: I would make 5 rollbacks instead of 4. It will be in a future version. And now I need to make the animation for moving the pieces. Anyway, it will be in version 1.2.
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Magic 4x4
The count of used Rollbacks should be also shown on the "Highscore" outputSPH wrote: Sun May 18, 2025 8:04 pm PS: I would make 5 rollbacks instead of 4. It will be in a future version. And now I need to make the animation for moving the pieces. Anyway, it will be in version 1.2.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: Magic 4x4
No: let's just say that no matter how you win, anything goes.IceSoft wrote: Mon May 19, 2025 8:37 amThe count of used Rollbacks should be also shown on the "Highscore" outputSPH wrote: Sun May 18, 2025 8:04 pm PS: I would make 5 rollbacks instead of 4. It will be in a future version. And now I need to make the animation for moving the pieces. Anyway, it will be in version 1.2.


!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Magic 4x4
F5: Save
F6: Load
Back: Move back (up to 5 moves)
Arrow keys
Escape
---
You have everything you need to progress through the game. See the code in post 1 (v1.1f)
---
The next version will be 1.2 and will include animations of pieces sliding against walls.
F6: Load
Back: Move back (up to 5 moves)
Arrow keys
Escape
---
You have everything you need to progress through the game. See the code in post 1 (v1.1f)
---
The next version will be 1.2 and will include animations of pieces sliding against walls.
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Magic 4x4
The collapsing, as mentioned by IceSoft, still doesn't always work correctly. Particularly when moving down. When 2 same pieces collapse, the remaining pieces stay behind the gap and don't shift further.
Re: Magic 4x4
v1.1g
Indeed, there was a bug. It's fixed...
And what's more, on line 19, you can change the number of squares!
Enjoy!
Remaining to be done: piece sliding animation (v1.2)
Thx to #NUL and IceSoft
Indeed, there was a bug. It's fixed...
And what's more, on line 19, you can change the number of squares!
Enjoy!
Remaining to be done: piece sliding animation (v1.2)
Thx to #NUL and IceSoft
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
- NicTheQuick
- Addict
- Posts: 1504
- Joined: Sun Jun 22, 2003 7:43 pm
- Location: Germany, Saarbrücken
- Contact:
Re: Magic 4x4
I finally got it!

And this is where it ended:

And this is where it ended:
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Re: Magic 4x4
YEEEES !
Youpiiii
Best score !

Youpiiii
Best score !


!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
Re: Magic 4x4
A small menu for choose/edit the number of squares will be nice.SPH wrote: Tue May 20, 2025 3:44 pm And what's more, on line 19, you can change the number of squares!
Thx to #NUL and IceSoft
Also the used time.
Ideas for "more fun to play"
- Time counter
- Joker stone
- Shuffle function
- ...
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: Magic 4x4
Yes, I would make a menu to choose your grill.

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits