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 / Chafari Tricks

Author
Message
puzzler2018
User Banned
Posted: 7th Feb 2019 22:24
cool - thanks - I dont like deprecated software but up an coming software - keep with technology - but its not really technology - just some smart arse who can wright code in C for vulkhan

Ortu
DBPro Master
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 7th Feb 2019 22:32 Edited at: 27th May 2019 20:27
It's kind of like saying arithmetic is deprecated by algebra so there is no point in reviewing arithmetic fundamentals.

Really, the progression builds upon and contains the predecessor rather than simply replacing it with something completely different
http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
puzzler2018
User Banned
Posted: 7th Feb 2019 22:34 Edited at: 7th Feb 2019 22:35
Correct - get rid of old technology and move forth into 4D

Dont let 4D get in the way Chafari.... Its just an extended multiple matrix to be honest
puzzler2018
User Banned
Posted: 7th Feb 2019 22:42
AGK been the first in 4D... lets look at more of the future rather than catching up all the time. Be ahead...

Can we actually get used to that idea




fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 8th Feb 2019 07:10
grass Looks good @Chafari

Quote: "AGK been the first in 4D"

Interesting concept, I always thought of the fourth dimension as in/out
following on that concept the inside space of a box could be a whole universe
but the problem is how do we store this infinite space or the whole new world
that may take place once your inside the box
fubar
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 8th Feb 2019 12:58
Hi there. Let see how many try you will need !!

Gantry Crane


I'm not a grumpy grandpa
Rick Nasher
7
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 8th Feb 2019 17:08
Wow. And so little code. I'm amazed over and over.
2 tries btw.
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 8th Feb 2019 19:43
Reminds me of those machines that you enter a coin and try and win a toy
got it btw
fubar
Rick Nasher
7
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 8th Feb 2019 21:32
Exactly! Did you get the stuffed animal, rubber ducky or the cheap watch?
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 8th Feb 2019 21:39
@Rick Nasher we that use so many 3D programs can guess more or less where to go ...
I had to put it easy as that was driving me crazy .


@fubarpk Yeah ...me too ... it could be better with lots of funy toys
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: 8th Feb 2019 22:17
Quote: " Did you get the stuffed animal, rubber ducky or the cheap watch? "

The rubber ducky the watch slipped out of the claw all the time lol
fubar
Rick Nasher
7
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 9th Feb 2019 18:34
@fubarpk
Time to put in another coin, otherwise you'll never going to impress that chick you took to the fairground.
When you get the watch then you can probably exchange it for a stuffed animal and get and pehaps kiss from her.

That would make a great little game come to think of it!
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 9th Feb 2019 21:38
Quote: " pehaps kiss from her."


We all need a toy or better a kiss from time to time
I'm not a grumpy grandpa
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 14th Feb 2019 09:00 Edited at: 14th Feb 2019 10:04
Hi there folowers

Fake 3D balls . This is an example from Freebasic to simulate 3D only with drawing commnads.




Edit . Other one.




I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 14th Feb 2019 10:07
Great stuff. Cant wait to have a test tonight with all your snippets you done just recently
Tier 1 Developer
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 14th Feb 2019 10:59 Edited at: 14th Feb 2019 10:59
The Fake 3D balls look neat
fubar
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 14th Feb 2019 12:36
Thanks guys....Freebasic brings me back good memories
I'm not a grumpy grandpa
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 20th Feb 2019 18:09
Hi there. I made a little shadow system . Take in mind that it looks better with textures .

13- Shadow System

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: 20th Feb 2019 18:33
Looks really neat chafari
fubar
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 20th Feb 2019 19:56
Thanks mate !
I'm not a grumpy grandpa
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 22nd Feb 2019 19:20 Edited at: 22nd Feb 2019 19:21
Hi there
Align object to terrain

I've been converting an old code from Dbpro to Agk...It need some more calculation to roll object left but this code doesn't exist in Agk . Here is what I have so far . Attached rar file.




I'm not a grumpy grandpa

Attachments

Login to view attachments
puzzler2018
User Banned
Posted: 22nd Feb 2019 20:56
Thats really impressive Chafari - thanks for sharing - will be very useful
Tier 1 Developer
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 22nd Feb 2019 22:17
Thanks puzzler .
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: 22nd Feb 2019 22:22
Quote: "It need some more calculation to roll object left but this code doesn't exist in Agk"


the only commands with roll are


if there was a GetObjectLookAt the roll could be used with that but there isnt
fubar
Ortu
DBPro Master
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 22nd Feb 2019 22:28
Isn't rotate local Z the same as roll?
http://games.joshkirklin.com/sulium

A single player RPG featuring a branching, player driven storyline of meaningful choices and multiple endings alongside challenging active combat and intelligent AI.
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 22nd Feb 2019 22:50 Edited at: 23rd Feb 2019 00:08



you may be able to use this function



like this

)
fubar
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 23rd Feb 2019 09:40 Edited at: 23rd Feb 2019 09:40
Quote: "Isn't rotate local Z the same as roll?"


That's what I thought , but somehow when we use the setobjectlookat it prevents the rotation from being perfect .
@Ortu /fubarpk This is the code I was trying to convert to Agk...In Agk we have no matrix , and lots of command like turn object left /right or roll object left/right , so is difficult to get the corret command in Agk to do the same .
Dbpro code



@fubarpk thanks for the snippet...I will try to apply to my code .

This is how it works smoothly and perfect in Dbpro


I'm not a grumpy grandpa

Attachments

Login to view attachments
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 23rd Feb 2019 10:17 Edited at: 23rd Feb 2019 10:25
Wow !!

Quote: " fubarpk wrote the only commands with roll are
SetObjectBoneLookAt ( objID, boneIndex, x, y, z, roll )
SetObjectLookAt ( objID, x, y, z, roll )
SetCameraLookAt ( cameraID, x, y, z, roll )
"


Sorry fubarpk I didn't understood you when you point me out ....the last flag of the command include the roll
Now it works correctly with the same configuration of Dbpro

Quote: "
roll=(y#-y3#)*12
setobjectlookat(i,x2#,y2#,z2#,roll
"


Here's the complete code .


Attached the whole project to test.
Thaks fubarpk for your help
I'm not a grumpy grandpa

Attachments

Login to view attachments
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Feb 2019 19:41 Edited at: 25th Feb 2019 19:42
Hi there folowers !

what I come up with today, is the way of coloring object just setting vertex colors . The object must have diffuse data on it... most programs save diffuse data if we configure it.

14- Setting Vertex Colors




I'm not a grumpy grandpa

Attachments

Login to view attachments
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Feb 2019 19:47 Edited at: 25th Feb 2019 19:47
Using "SetMeshMemblockVertexColor" we can make something like a lightmapper .



I'm not a grumpy grandpa

Attachments

Login to view attachments
puzzler2018
User Banned
Posted: 25th Feb 2019 20:03
absolute genuis - im very happy you have found the power of that command...
Tier 1 Developer
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 25th Feb 2019 20:32
Thanks puzzler .
I'm trying to change my actual abatar for my old one .
I'm not a grumpy grandpa

Attachments

Login to view attachments
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 25th Feb 2019 21:10
Never thought of that. Very nice.
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 27th Feb 2019 16:28 Edited at: 27th Feb 2019 16:28
@Golelorn Thanks . In the same way we can do whoreve we want thit the object .


I'm not a grumpy grandpa

Attachments

Login to view attachments
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 1st Mar 2019 09:54 Edited at: 1st Mar 2019 09:54
Hi there. I know we have good sliding collisions, but they get stuck in the ramps so I've got AABB collision working to go up/down stairs .

15- Up/down Stairs




I'm not a grumpy grandpa

Attachments

Login to view attachments
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 9th Mar 2019 14:03
I don't forget this thread...I'm just preparing my bike trip to the mainland...I'll be back on May.


Cheers.
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 9th Mar 2019 14:06
it ok - have a nice trip and take it easy - catch up soon
Tier 1 Developer
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 9th Mar 2019 14:08
Thankz mate .
I'm not a grumpy grandpa
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 12th Mar 2019 12:05 Edited at: 12th Mar 2019 12:05
Hi there ....Trying to make a Spray effect I've got this .

Spray effect



I'm not a grumpy grandpa

Attachments

Login to view attachments
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 12th Mar 2019 12:39 Edited at: 12th Mar 2019 12:40
New brushes ...




I'm not a grumpy grandpa

Attachments

Login to view attachments
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 31st Mar 2019 13:44
Hi there. Today I tried to make a mouselook . This piece of code is what I have so far . If we move softly the mouse close to margen left /right, the mouse will be position into the screen again. It needs some more adjustements but for me works Ok.

Mouse Look

I'm not a grumpy grandpa
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 31st Mar 2019 17:32
Oh very cool. I like the paint brushes.
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 31st Mar 2019 18:21
Thanks mate .
If we work in full screen it works super !! it doesn't have any flicker at all even moving mouse as quick as we can.

I'm not a grumpy grandpa
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 11th Apr 2019 13:48 Edited at: 11th Apr 2019 13:48
Hi there . Today I come up with a trick to make something like a Cinema Screen Effect

16- Cinema Screen Effect



I'm not a grumpy grandpa

Attachments

Login to view attachments
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 14th Apr 2019 18:00
neat trick, chafari. looking forward to part 2 of huevo

chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 15th Apr 2019 23:10
Thanks Virtual Nomand....sorry for the delay....l took a ship from Canary Islands saturday 14th to Spain....I just see your post today as in the ship I didnt have internet....about the huevo...it was a complete history that a frined of mine and me made 10 years ago. It was something like film made of animated gif with some comments...if you interest in some more details and gif...I could add some more here when I go back home in May.

Cheers.
I'm not a grumpy grandpa
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 12th May 2019 10:30 Edited at: 12th May 2019 10:36
Hi there .
Some bits of Sr Dire. Coming soon










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: 12th May 2019 12:43
Looking forward to your future Developments
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 19th May 2019 12:20 Edited at: 19th May 2019 12:21
Thanks fubarpk .

Trying to make an Orbit System for my voxel creator , I found a way to achive that without any math at all....my knowledge of mathematics is not much . We all know that when positioning a sprite in mouse coordinates , it always has a delay in correctly positioning itself in said coordinates ....therefore, we can take advantage of this delay, and check in which direction the mouse is moving .

Here's an example

Camera Orbit System



I'm not a grumpy grandpa

Attachments

Login to view attachments
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 19th May 2019 15:55
but, how did the cat get out?

Login to post a reply

Server time is: 2024-11-22 09:58:28
Your offset time is: 2024-11-22 09:58:28