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 Showcase / [AGK] Responsive Template

Author
Message
nonom
User Offline
Joined: 12th Nov 2017
Location: Spain
Posted: 6th Jan 2018 05:11 Edited at: 13th May 2018 17:39
Hello I'm doing an adaptive template, I'll be updating this post.

Maybe it can helps anyone to start his own applications in AppGameKit

DONE:
Initial template
Slider left menu
Slider buttons
Basic Input controller
Added raphaël icon-set http://icons.marekventur.com/
List View; an orderer list of images , title and summary, click photo for detail
Grid View; a grid of images and titles , orderer by date desc
Page View; a detailed page with image, date, text and video link if available
Retrieve data from JSON
Downloading images
Works-offline

TODO:
Touch scroll events
Back button
Tag filters
A couple of skins
Tween effects

Prototype code (obsolete but a different approach):


Attached this prototyped project
Any feedback always is welcome
http://www.nyan.cat/pirate

Attachments

Login to view attachments
nonom
User Offline
Joined: 12th Nov 2017
Location: Spain
Posted: 24th Feb 2018 16:13
I did some improvements, I need to test them and upload the new release
Cliff Mellangard 3DEGS
Developer
12
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Sweden
Posted: 24th Feb 2018 16:22
I had planns for something like this but ended up doing one manually i copied in to the agk folder
Great work so far.
nonom
User Offline
Joined: 12th Nov 2017
Location: Spain
Posted: 24th Feb 2018 17:21
Thanks Cliff!

RickV
TGC Development Director
18
Years of Service
User Offline
Joined: 27th Apr 2000
Location: United Kingdom
Posted: 26th Feb 2018 10:39
Hi nonom,

This is a great idea! I hope you can keep developing it, I am sure it will be of great use to AppGameKit Devs.

Good luck!

Rick
Development Director
TGC Team
nonom
User Offline
Joined: 12th Nov 2017
Location: Spain
Posted: 26th Feb 2018 11:58
Thanks Rick!

I did something like with native Apps and Drupal as backend years ago, so I'm trying to re-use the same mCMS concept to update my own Apps as soon as possible.

I'll post the server backend aswell to modify the data, I thought in a Laravel Pane because the package is smaller and the setup is faster than a Drupal one, but I'm open to any suggestion.
basicFanatic
1
Years of Service
User Offline
Joined: 7th Jun 2017
Location:
Posted: 26th Feb 2018 20:21
Looks cool -- still, I'm pretty clueless as to what it actually does?!?
nonom
User Offline
Joined: 12th Nov 2017
Location: Spain
Posted: 26th Feb 2018 23:13 Edited at: 26th Feb 2018 23:20
I'm designing a template capable to hold apps like newspapers, news readers, portfolios, blogs, or any similar content list. It used to be named a mCMS -mobile Content Management System-.

The next step is to read a JSON source with the text/media data and the display data and it should works offline with the first data loaded and/or a default data file like does now .

It means you can edit the content view and show the same data with different display modes without touching a line of code -a grid, a list, a modal, or a toast message as example-, let's say without effort, editing the config json through a Laravel Pane or any PHP custom backend.

With Laravel which is Symfony based we can define different content types entities and update the JSON remote file so the app could display different entities with different display modes. "My images" in a grid, "my news" in a list , etc.

Finally, a cool idea could be to build your own App games portfolio with this template, in a few steps: creating a content type named "Game" to post some images, text, and a Google Play link, and another content type named "News" to post your own gamelog.

Many work needs to be done but thats the good part

Edit: Intended to be responsive which means it's adaptive to the screen size in mobile and tablets devices.
Rick Nasher
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 4th Apr 2018 09:14
Are things like scroll bars, next/previous page settings optional?
nonom
User Offline
Joined: 12th Nov 2017
Location: Spain
Posted: 6th Apr 2018 12:08 Edited at: 9th Apr 2018 06:12
Rick Nasher wrote: "Are things like scroll bars, next/previous page settings optional?"


About the scrollbars, the next release has the view elements relative to a main container, the idea is to have more control over groups of elements. Also it's faster.

The Navigation object is an UDT much like the Ionic NavController where we could store what's the next and the previous element, at the moment it will store the navigation history to go back and get the root element if needed.
nonom
User Offline
Joined: 12th Nov 2017
Location: Spain
Posted: 9th Apr 2018 06:13 Edited at: 15th Apr 2018 02:30
I'm doing a huge rewrite
https://jsoneditoronline.org/?id=82d7895b8de9ded070ab98b72a57df20

By the way I've discarded using any PHP backend at this stage. I'll try Firebase instead

https://agkadmin.firebaseio.com/.json
nonom
User Offline
Joined: 12th Nov 2017
Location: Spain
Posted: 13th May 2018 17:14 Edited at: 1st Jun 2018 02:56
0.0.1 Alpha

- Added JSON load at the first time
- It saves the images from urls
- It works offline after the first load.
- If there is a Internet connection the JSON structure is updated and the new images downloaded
- Reuse the same images if they have the same name to save resources
- Added a new App structure
- Support added to handle terms
- agc files are now main, globals, types and components.agc

The UDT defined


I'll post the alpha release when I fix this issue
[SOLVED] https://forum.thegamecreators.com/thread/222236
http://www.nyan.cat/pirate
nonom
User Offline
Joined: 12th Nov 2017
Location: Spain
Posted: 1st Jun 2018 13:29
//spawn @Rick_Nasher

I'm thinking about a small UI done with AppGameKit to update the remote JSON. what do yo think about?
http://www.nyan.cat/pirate
nonom
User Offline
Joined: 12th Nov 2017
Location: Spain
Posted: 1st Jun 2018 14:39 Edited at: 1st Jun 2018 14:39
I like this code from @baxslash, does AppGameKit has any support for textboxes ? https://forum.thegamecreators.com/thread/198943
http://www.nyan.cat/pirate
fubarpk
AGK Developer
Gold Codemaster
13
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 27th Jun 2018 06:57
do you mean like "integer CreateEditBox()"


fubar
nonom
User Offline
Joined: 12th Nov 2017
Location: Spain
Posted: 9th Jul 2018 13:55
Thanks fubark, I tried and it works if I disable the input



Is there any way to show a scrollbar?
http://www.nyan.cat/pirate

Login to post a reply

Server time is: 2018-07-22 06:07:51
Your offset time is: 2018-07-22 06:07:51