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 / The Coding Train conversions

Author
Message
puzzler2018
User Banned
Posted: 29th Jun 2018 17:09
Here is a Barnsley Fern



WOW!!!

puzzler2018
User Banned
Posted: 30th Jun 2018 14:53
2D Water Ripple



Change the dampening and spread for other effects

eg
dampening# = 0.9
spread# = 2
puzzler2018
User Banned
Posted: 30th Jun 2018 18:38
Double Pendulum



fubarpk
Retired Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 30th Jun 2018 18:48
Very nice I like
Not sure if you noticed this
Using Pixel or Fragment Shaders
https://steamcommunity.com/sharedfiles/filedetails/?id=370165947

I converted that pixel shader to show on a 3D Plane

and in the process of making the shader so it mixes two textures so that only alpha channel does the fractal effect
so i can have a second texture created like


And use it like its some sort of lava pool
fubar
puzzler2018
User Banned
Posted: 1st Jul 2018 22:17 Edited at: 1st Jul 2018 22:21
Been working on a maze generator, nearly there via the Coding Train you tube



It uses dynamically adjustable arrays and function references if helps how you all to code with these

Part 2 wil come soon with backtracking any positions that are not yet visited to eventually fill up the whole maze map, to then have possibilities of creating a possible maze app

There are errors indeed - but this is early development and need to take my head of minecraft for a bit cause that is really doing my head in, so come up with these smaller tasks for the time being


Errors will corrected soon

the example pic shows reasonable example

Attachments

Login to view attachments
puzzler2018
User Banned
Posted: 7th Jul 2018 14:21
Here it is:- Maze Generator using Recursive Backtracking





Change the Width on line 31 to change its size


Now is the time to fully test in every eventuality and convert this to 3D space with proper rectangular objects to present you as physical maze walls


Enjoy!!
puzzler2018
User Banned
Posted: 7th Jul 2018 15:14
Ive added a Save mechanisim






and Load Mechanism - TUNS faster once built them for level loads



Add the Level1.DAT file into its Media folder and use the Load one to see its result

Took 20 mins to generate it but now split milli second to load and view

Attachments

Login to view attachments
puzzler2018
User Banned
Posted: 7th Jul 2018 16:18
Here is 3D conversion from the loaded maze



Use the Level1.Dat file for example or can now generate your own

Attachments

Login to view attachments
fubarpk
Retired Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 11th Jul 2018 18:50
Worked great in 3D to me aswell awesome
Only thing I can fault is that the walls meet at the centre of other walls at corners
which may be an issue with sliding collision

How did you go with joining two objects to make one mesh? I seem to recall you
had something somewhere but cant find it.
fubar
puzzler2018
User Banned
Posted: 11th Jul 2018 18:55
Cheers - Ive just taking a break from memblocks for a bit until can get head focussed with them again - as you know other interesting things crop up all the time- that we feel we like to have a bash at that too feeling....

Will start back on memblocks very soon...




puzzler2018
User Banned
Posted: 11th Aug 2018 20:29
Thought try this



LOL
puzzler2018
User Banned
Posted: 22nd Aug 2018 18:51
Creation of a Sphere with own code



Enjoy
fubarpk
Retired Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 23rd Aug 2018 02:57 Edited at: 23rd Aug 2018 03:53
That sphere is pretty cool

I thought ide have a play with it so

I changed box=CreateObjectBox(.1,.8,.1)
and added this in the creation of the sphere SetObjectLookAt( boxes[boxnumber].id, 0, 0, 0, 0 )

As I was thinking a sphere could be used perhaps with a texture of the world with lighthouses or something placed at your hotspots
or perhaps barracks etc for like a world domination game hahahahaha but would need a method of moving around the globe for that.
I have seen a great example of moving around a globe on the forums somewhere. Its got me thinking would be great to zoom in on
a world created like this and then play the game Perhaps even gun locations I think it was Garbenjamin working on something like that
in 2D.
fubar
fubarpk
Retired Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 23rd Aug 2018 04:52 Edited at: 24th Aug 2018 01:33
try this variant


needs allot of work and im sure there is plenty people here who could improve but Towers that aim at mouse and shoot away from there location
Ive edited with a version that you move a block with mouse if you press the mouse button tower defense shoots at the block. I had the vectors
messed up before
fubar
puzzler2018
User Banned
Posted: 24th Aug 2018 16:24 Edited at: 24th Aug 2018 16:25
Anyone know or like to see how we can rotate 2D lines to look and feel like 3D object

Here is a cube drawn with 2D commands



It has our own 3D to 2D Rotation Matrixes in there for get X,Y,Z coords to get X,Y results too

Enjoy!
fubarpk
Retired Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 26th Aug 2018 17:49 Edited at: 26th Aug 2018 17:50
Nice to see

One of my early programs used a similar effect rotating points to give the effect of a cube rotating on the apple2
I later repeated the effect but added some circular rotating sprites that moved with the mouse and a sine wave
scroller in the background lol computers didnt have allot of memory back then and i overused it lol

I know you have played with noise and have your own version of perlin noise but i really wanted to share this page
with you as it shows many noise algorythms https://gist.github.com/patriciogonzalezvivo/670c22f3966e662d2f83
and i thought you may find interesting and having a knowledge of c certainly helps
fubar
puzzler2018
User Banned
Posted: 6th Oct 2018 17:59
I just thought to give some 2D effect a go

fubarpk
Retired Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 6th Oct 2018 23:25
Interesting
fubar
puzzler2018
User Banned
Posted: 29th Nov 2018 20:16
The Chaos Game



Looks ok, but not as good as Chafari's Hypnotic
fubarpk
Retired Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 29th Nov 2018 20:19
Pretty cool
If I may suggest a possible improvement perhaps have it go in reverse after it is drawn fully
and then loop
fubar
puzzler2018
User Banned
Posted: 29th Nov 2018 20:27
Thanks...

what you mean like this...



fubarpk
Retired Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 29th Nov 2018 20:36 Edited at: 30th Nov 2018 19:15
Yep would make a cool effect


Sierpinski triangle
The Sierpinski triangle, also called the Sierpinski gasket or the Sierpinski sieve, is a fractal and attractive fixed set with
the overall shape of an equilateral triangle, subdivided recursively into smaller equilateral triangles. Originally constructed
as a curve, this is one of the basic examples of self-similar sets, i.e., it is a mathematically generated pattern that is
reproducible at any magnification or reduction. It is named after the Polish mathematician Wacław Sierpiński, but
appeared as a decorative pattern many centuries before the work of Sierpiński.
fubar
puzzler2018
User Banned
Posted: 29th Nov 2018 20:48 Edited at: 29th Nov 2018 20:53
Wow - the same code can make different effects when change various settings - ive noted which ones to tweak





Have fun
chafari
Valued Member
14
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Nov 2018 21:22
Quote: "Looks ok, but not as good as Chafari's Hypnotic"


@puzzler2018 . Your fractals looks nice as well . If I have time I will translate some more of my codes to AGK...this lenguage looks to be easy to manage .

Cheers.
I'm not a grumpy grandpa
puzzler2018
User Banned
Posted: 30th Nov 2018 13:58
Id just thought have a go at a really basic 8Bit style app with a waterfall and platform



Left/Right cursor to move.

fubarpk
Retired Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 30th Nov 2018 17:38
Love the waterfall

8bit apps are not without there difficulties and can often be quite appealing
remember in the old days everything was hard coded in machine code it was
the only way they could get the desired effect on the machine they was working
with. But even with an engine such as AppGameKit at our disposal some of these effects
can still be hard to reproduce
fubar
puzzler2018
User Banned
Posted: 30th Nov 2018 20:13
Yeah i agree, think its good to just keep looking at those style games and look how they were managed to create.

The only way i could think of the waterfall occuring in some 80s games is by a rolling array from bottom to top and the middle shift down by 1 each frame and move the bottom row of the 2D array to the top.

if i see any other stuff in 80s games that could be useful that difficult to achieve then ill have a bash at it to recreate as was
puzzler2018
User Banned
Posted: 14th Jan 2019 21:41
This looks interesting to music too

dancing bones



Looks cool
puzzler2018
User Banned
Posted: 14th Jan 2019 22:34
Dammmm I had a rememberance day today to buy an Amiga and original Spectrum - just for sentimental reasons for me...

Who still owns what they use to have?

God knows where all mine went...
fubarpk
Retired Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 14th Jan 2019 22:58
I bought a raspberry Pi computer and one of my sdhc cards I have for it
has over 100,000 games on it from about 100 different platforms like
apple2, zx spectrum ,trs 80 ,amiga Atari st playstation etc etc
fubar
fubarpk
Retired Moderator
15
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 15th Feb 2019 02:35 Edited at: 15th Feb 2019 02:37
Thought you may be interested in this not done in AppGameKit but I'm sure it could be especialy with kenneys model packs
https://www.youtube.com/watch?v=qi3qBzsddcI&fbclid=IwAR3_ZhFXaSqE6rcHFyufqHBb3SQe__17ryqimPYGCJwgX-BHKSHtnzta2KE
fubar
puzzler2018
User Banned
Posted: 15th Feb 2019 10:00
Thanks - at first glance on a rushed morning - looked quite good.

Ill take a look deeper this afternoon and see how its done.

Tier 1 Developer
Rick Nasher
3
Years of Service
User Offline
Joined: 25th Jul 2017
Location: Amsterdam
Posted: 15th Feb 2019 16:13
Wow. That's also cool if you wanna have it blown to pieces by a grenade or so.
Love destructible scenery.

Login to post a reply

Server time is: 2020-08-05 03:09:44
Your offset time is: 2020-08-05 03:09:44