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/AppGameKit Studio Showcase / 3D experiments [WIP]

Author
Message
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 16th Aug 2016 15:38 Edited at: 16th Aug 2016 16:09
So, I finally got around to playing with the 3d commands for AGK.
I thought the FPSC characters might make a good place to start.
FPSC models are really easy to get into AppGameKit, just change the DDS textures to PNG.

Here is a
that might help someone else when importing X file 3D models.
That snippet was written using AppGameKit 2.0.19, so it is untested with later releases.
I couldn't remember the frame ranges for each action, so this helped me list the models moves.
I love the fact that we can change textures on the fly during animations, as that opens a lot of doors for illusions.

UP arrow key = Stop Animation

RIGHT arrow key = Step frames forward

LEFT arrow key = Step frames back

DOWN arrow key = Resume animation, then loop to that frame at end

ENTER key = Play animation from start to end then loop.

TAB key = Cycle through textures


I'll be doing a lot of 3d stuff now, so I started this thread to hold all of my 3d work.
I hope the snippet helps someone.



Below is an earlier test with some freaks made by Mark Blosser (Bond1).
The chainsaw chain had some issues, but that can be resolved.


Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 16th Aug 2016 23:50 Edited at: 17th Aug 2016 00:28
Played with sky boxes today.

The old Skyboxes from FPSC work great in AGK.

They already have the box set up for 6 separate meshes, so it is a snap assigning textures to those.

Just like the models, convert the DDS files to PNG files, and you're good to go with the sky box X files.

One box model is all you should need, just use a copy of it with different images assigned.

Here is a code snippet if anyone wants to try one.... (use arrow keys to look around)




Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1
Crazy Programmer
AGK Developer
19
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 17th Aug 2016 01:47
Nice stuff Conjured. Thanks for the snippets
Download My Games for Android. Made with AGK.
Jellyfish Dive- https://play.google.com/store/apps/details?id=com.CrazyProgrammerProductions.my_JellyFishSwim
Brick Destroyer - https://play.google.com/store/apps/details?id=com.CrazyProgrammerProductions.my_BrickDestroyer
Ping Bong - https://play.google.com/store/apps/details?id=com.CrazyProgrammerProductions.my_Pong_Ping_Bong
Stab in the Dark software
Valued Member
21
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 17th Aug 2016 01:54
You can easily add the 3D physics character controller and ragdoll for them as well.

https://forum.thegamecreators.com/thread/216683
The coffee is lovely dark and deep,and I have code to write before I sleep.
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 17th Aug 2016 04:46 Edited at: 17th Aug 2016 06:00
Thanks guys.

I am having a lot of fun with the skyboxes now.
Experimented with mixing a couple of stock skies to make a new one...






Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1

Attachments

Login to view attachments
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 18th Aug 2016 17:45 Edited at: 18th Aug 2016 18:11
Here is a quick look at that last sky box combination....
I added in my P51 Mustang too. (still need to animate the prop, but she's flying)



Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1

Attachments

Login to view attachments
SpecTre
Developer
21
Years of Service
User Offline
Joined: 24th Feb 2003
Location: UK
Posted: 29th Aug 2016 23:16
Looks like you are mastering the 3D skills, very nice work
The Amiga and Amos were great!
My website LEAP - Download Paint Pot here!

Login to post a reply

Server time is: 2024-04-20 09:20:58
Your offset time is: 2024-04-20 09:20:58