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.

Newcomers AppGameKit Corner / Scrollable windows

Author
Message
Gruk
4
Years of Service
User Offline
Joined: 29th May 2018
Location:
Posted: 11th Apr 2020 16:07
Hi, not sure if its possible with this language (tier 1) - but I'd like to create 3 separate windows onscreen at the same time, be able to print to each of em - but also scroll through the contents with a scroll bar - however I cant seem to find any clues about possible commands I can use to achieve this? .. am I missing something?
Scraggle
Moderator
19
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 11th Apr 2020 18:31
No, you're not missing anything.
That sounds like a Windows GUI thing that you want but that isn't available in AGK.
You can code it yourself or look at some that others have mad available.
I have one that I use for personal projects but this lockdown has given me all the time in the world. So, I've been thinking about re-writing it to make more usable by other people. The main code is all there so it shouldn't take too long.
Virtual Nomad
Moderator
16
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 11th Apr 2020 19:43 Edited at: 11th Apr 2020 19:45
re: the 3 separate windows, i think they would have to be separate instances/apps (using native commands to talk to each other).

but, assuming Windows, now might be a good time to ask for the functionality that you're looking for here: https://forum.thegamecreators.com/thread/225975.
Conjured Entertainment
AGK Developer
17
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 12th Apr 2020 00:48 Edited at: 12th Apr 2020 00:57
Quote: " I'd like to create 3 separate windows onscreen at the same time"

Xenophobe!!!


I have not used the command before, but could SetScissor() work for something like this?

I think I remember someone mentioning that in another thread with a similar request.

Search Scissor in the documentation for the commands, and you will see the four that are available...

SetScissor()

SetTextScissor()

SetEditBoxScissor()

SetSpriteScissor()

Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1
Gruk
4
Years of Service
User Offline
Joined: 29th May 2018
Location:
Posted: 13th Apr 2020 14:33
Thankyou everyone, yes - its mostly for a sort of database app I'm thinking about, so its more a windows GUI type of thing I'm after rather than for games.
smerf
17
Years of Service
User Offline
Joined: 24th Feb 2005
Location: nm usa
Posted: 18th Apr 2020 04:50
yeah can be done easily. Two options. have all three files read from the same source or use multiplayer commands to communicate. as far as scrolling goes. My preferred method is storing string in an array and just altering their draw positions based on scroll wheel movement. also u can scroll a sprite.

Login to post a reply

Server time is: 2022-11-30 14:59:47
Your offset time is: 2022-11-30 14:59:47