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 Classic Chat / Line Animation

Author
Message
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Mar 2020 14:31
Hi there . Using my last trick Line Thickness in Chafari's trick thread , I made a little example showing what you can do with it .




Cheers.
I'm not a grumpy grandpa
GreekToMe
14
Years of Service
User Offline
Joined: 27th Oct 2009
Location: Colorado
Posted: 29th Mar 2020 17:38
@chafari,
You are an endless source of inspiration and "food for thought"!
Before I even read it or see what it does, I will tell you two things:
I am not a grumpy grandpa as well and
Cheers!
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Mar 2020 18:06 Edited at: 29th Mar 2020 22:32
@Thanks for your comments GreekToMe . Here in Spain we are all confined and we have to stay at home ....perhaps that is way my inpiration last days

Here a new update .




I'm not a grumpy grandpa

Attachments

Login to view attachments
GreekToMe
14
Years of Service
User Offline
Joined: 27th Oct 2009
Location: Colorado
Posted: 29th Mar 2020 21:26
Very nifty!
I am looking into the second code snippet, as it will not run, although no errors.
Cheers!
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Mar 2020 22:09 Edited at: 29th Mar 2020 22:10
@GreekToMe .... I donn't know why it doesn't work to you . Here's a new update .





Here are the exes if you wanna test
I'm not a grumpy grandpa

Attachments

Login to view attachments
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Mar 2020 22:12
Could someone please test if it works on your PC .....I'm still using windows Vista .

Thanks.
I'm not a grumpy grandpa
Bengismo
6
Years of Service
User Offline
Joined: 20th Nov 2017
Location: Yorkshire, England
Posted: 29th Mar 2020 22:18 Edited at: 29th Mar 2020 22:18
Hi Chafari

The code works fine for me on windows 10 in AGK2. Nice animation!
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Mar 2020 22:29
@Bengismo thanks for testing ....so it must be a problem in GreekToMe PC. That is frustrating how different PC can screw up our works
I'm not a grumpy grandpa
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 29th Mar 2020 22:45
The last one works fine for me with AppGameKit 2 great stuff

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Mar 2020 23:05
@fubarpk. Thanks for testing .....so the one with Alfred H. face doesn't work for any of you ?

Here it works correctly with a laptop 10 years old and windows vista.

Cheers.
I'm not a grumpy grandpa
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 30th Mar 2020 07:13
I just tried the other ones so they all work for me

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 30th Mar 2020 08:15 Edited at: 30th Mar 2020 08:16
@fubarpk. Thanks for confirm tha the codes works correctly. That was driving me crazy the whole night thinking where could be the error. In my last proyect I use my line function to quikly draw on screen...
Thanks again....cheers.
I'm not a grumpy grandpa
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 30th Mar 2020 10:54 Edited at: 30th Mar 2020 11:22
Hi there . New update to the animation....some adjust to correct feet position .






Cheers.

Last update



I'm not a grumpy grandpa

Attachments

Login to view attachments
GreekToMe
14
Years of Service
User Offline
Joined: 27th Oct 2009
Location: Colorado
Posted: 30th Mar 2020 13:58
Good morning!
Just like most of us, Corona Quarantine
The "exes" work. The second animation with the black background doesn't work from within AppGameKit Studio in my machine. It loads up to a white background blank window which seems to be of the correct screen size, the "Line Animation" window title is there, thinks for a couple of seconds and then disappears.
Alienware 17 R3 windows 10.
I will do some research after breakfast and see what I come up with.
Well, now is just as good.
Added a sync() here:
for i= 1 to 15
px[i]=-73+i*73
py[i]=100+random(0,80)
sync()[u]
next
Works great now:
Cheers!
GreekToMe
14
Years of Service
User Offline
Joined: 27th Oct 2009
Location: Colorado
Posted: 30th Mar 2020 14:01
Oops!
Scratch my comment, in my previous post, about the "one with the black background".
Cheers!
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 30th Mar 2020 14:47
@GreekToMe. I'm glad you solved. I don't know if appgamekit Studio can load clasic projects

Cheers.
I'm not a grumpy grandpa
GreekToMe
14
Years of Service
User Offline
Joined: 27th Oct 2009
Location: Colorado
Posted: 30th Mar 2020 15:15
@chafari, you know this is the first time I have noticed a problem with compatibility. I can't say though for sure. I haven't tried to load/run unlimited number of programs from agk2. So, my experience is not the deciding telling factor.
I do like the animation a lot. I may use some of this technique in my stuff, if that's OK. The problem is that my stuff is very private. Most of it, I am the only one who ever sees it. My secondary audience, are my kids and grand kids
Cheers!
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 31st Mar 2020 06:42
hi there chafari I thought seeing as were all indoors ide add a venetion blind effect
so now the venetion blind opens then you see the man walking


fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 31st Mar 2020 09:05
@fubarpk That looks great ! ... the venetion blind comes very handy to make transitions between scenes . Thanks for your contribution

Quote: "The problem is that my stuff is very private"


No problem GreekToMe . any way these images that I put in the forum are not the definitive ones either ....just to show the technique .

Cheers.
I'm not a grumpy grandpa
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 31st Mar 2020 10:47 Edited at: 31st Mar 2020 10:48
Last update with fubarpk contribution .




Cheers.
I'm not a grumpy grandpa
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 31st Mar 2020 12:18 Edited at: 31st Mar 2020 14:05
looks good chafari

easy enough to have two states and make the venetion work both ways for the transition effect


That might work better for fading out a scene and fading in a new one and still sticks with the line drawing methods

I did a curtain effect similar to the below for a game jam I entered it was a simple effect and people liked it

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 31st Mar 2020 14:25
@fubarpk . Those examples looks nice ...we can even make curtains diagonally . I have done in black color courtains from left to right ....up to down and come verty handy for some kind of games . We can even do fades from differentes colors using sprite alpha .

Cheers.
I'm not a grumpy grandpa
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 31st Mar 2020 16:54
You can use sprites to draw thicker lines and it'd probably run faster.
Tiled TMX Importer V.2
XML Parser V.2
Base64 Encoder/Decoder
Purple Token - Free online hi-score database
Legend of Zelda

"I like offending people, because I think people who get offended should be offended." - Linus Torvalds
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 31st Mar 2020 17:11
@Phaelax. Probably it'l run faster , but when I start this test was to use with other basic lenguages that has no sprite commands like Qb64 Qbasic Freebasic etc etc....it was aswell a challenge of not using commands like load image, get image etc.
I'm not a grumpy grandpa
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 31st Mar 2020 20:19
Quote: " I have done in black color courtains from left to right ....up to down and come verty handy for some kind of games .
We can even do fades from differentes colors using sprite alpha . "

My original example used a created sprite, I originally tried allsorts to make it look pretty and have the desired effect
but what I found worked best in the end was just a single white line for each curtain with trailing black box. That
worked well for my game and looked best as it had a black background and the game was vector drawing based.
(simplicity is often the best)

Just a question, ive seen many of your beginnings to projects but rarely seen the completed ones. Would love to see
some of your finished projects in showcase.

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 31st Mar 2020 21:13
Quote: "simplicity is often the best"

Yeah you are right!

Quote: "Just a question, ive seen many of your beginnings to projects but rarely seen the completed ones. Would love to see
some of your finished projects in showcase."


In my case, I do little games just for fun...who knows...perhaps one day
Cheers.
I'm not a grumpy grandpa
chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 4th Apr 2020 10:19 Edited at: 4th Apr 2020 10:20
Hi there . New update to the line animation snippet



I'm not a grumpy grandpa

Attachments

Login to view attachments
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 4th Apr 2020 14:33
NICE

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk

Login to post a reply

Server time is: 2024-04-23 21:41:53
Your offset time is: 2024-04-23 21:41:53