05-18-2023, 12:02 PM
(This post was last modified: 03-09-2024, 07:35 AM by rufaswan.
Edit Reason: ghpage img
)
Since the backward incompatible "Skeleton" update on 2021-6-10, not only I am researching behind-the-scene what and how to rewrite QUAD file, I am also planning on making the quad player work on mobile browser.
And here it is - after 2 years of silence, Quad Player is now on mobile! It is the "Mobile" update!
In this 2 years, I discovered new data type - Hitboxes. So Quad Player is also evolved to Object Viewer, a debugging tool normally removed in the final game.
Some major changes:
- All textbox are removed. It is to prevent onscreen keyboard from blocking the screen (the thing annoyingly takes up almost the whole screen!).
- Quad Player is now default to only "view" the sprite, not "play" them. To "play", use fast-forward ">>" button and rewind "<<" button.
- Added 2nd page menu due to limited screen size.
- Some mobile browser allows multiple files per upload, but most don't. Changed to allow if only *.quad is uploaded, display it in wireframe lines mode.
- Mobile browser doesn't have "inspect" tool. Added a read-only textarea for console.log().
- As most people uses dark theme on mobile to save battery, the background also changed from 50% gray to 25% gray.
- Sprites are moved downward a bit, since 0,0 is at the center of the feet on most sprites. It is changed from 50%,50% to 50%,75%.
You can see it in action here:
As usual, here are some files for you guys to play around:
https://www.mediafire.com/file/rv0h0w6w8...32.7z/file
Here is the draft for QUAD specification my Quad Player is currently based on:
https://github.com/rufaswan/Web2D_Games/.../spec.adoc
I know I over-design some things and under-design some others. Anyway, I'm burning out and need a break. Put your questions or suggestions, I'll answer them later.
Anyway, have fun!
- Rufas
And here it is - after 2 years of silence, Quad Player is now on mobile! It is the "Mobile" update!
In this 2 years, I discovered new data type - Hitboxes. So Quad Player is also evolved to Object Viewer, a debugging tool normally removed in the final game.
Some major changes:
- All textbox are removed. It is to prevent onscreen keyboard from blocking the screen (the thing annoyingly takes up almost the whole screen!).
- Quad Player is now default to only "view" the sprite, not "play" them. To "play", use fast-forward ">>" button and rewind "<<" button.
- Added 2nd page menu due to limited screen size.
- Some mobile browser allows multiple files per upload, but most don't. Changed to allow if only *.quad is uploaded, display it in wireframe lines mode.
- Mobile browser doesn't have "inspect" tool. Added a read-only textarea for console.log().
- As most people uses dark theme on mobile to save battery, the background also changed from 50% gray to 25% gray.
- Sprites are moved downward a bit, since 0,0 is at the center of the feet on most sprites. It is changed from 50%,50% to 50%,75%.
You can see it in action here:
As usual, here are some files for you guys to play around:
https://www.mediafire.com/file/rv0h0w6w8...32.7z/file
Here is the draft for QUAD specification my Quad Player is currently based on:
https://github.com/rufaswan/Web2D_Games/.../spec.adoc
I know I over-design some things and under-design some others. Anyway, I'm burning out and need a break. Put your questions or suggestions, I'll answer them later.
Anyway, have fun!
- Rufas