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 / Is there anything like a Minecraft clone out there, made with AGK?

Author
Message
puzzler2018
User Banned
Posted: 17th Feb 2018 00:42
How are we all doing ? Fed up of seeing Mincraft posts or shall I keep going?

Im in a world of my own and when I come up with something different, I love to share

Should I calm posting down or keep going?
fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 17th Feb 2018 01:57
Quote: "How are we all doing ? Fed up of seeing Minecraft posts or shall I keep going?
"


I believe 3358 views so far speaks for itself

The last edition was great ......looking forward to placing different block textures etc
I know you said not 100% yet but I found toggling the modes changed the camera view I found
I was either in like a sky mode or ground mode is that what it was supposed to do ?
fubar
GarBenjamin
AGK Developer
4
Years of Service
User Offline
Joined: 30th Nov 2016
Location: USA
Posted: 17th Feb 2018 03:52
Not at all. If a person gets fed up they don't have to click. I am impressed by how active you are working on this. Sharing a lot of updates each day.
TI/994a (BASIC) -> C64 (BASIC/PASCAL/ASM/Others) -> Amiga (AMOS/BLITZ/ASM/C/Gamesmith) -> DOS (C/C++/Allegro) -> Windows (C++/C#/Monkey X/GL Basic/Unity/Others)
puzzler2018
User Banned
Posted: 17th Feb 2018 08:05 Edited at: 17th Feb 2018 08:06
Cheers -

Todays goals

- Correct the players weapon positions in all directions

- Apply the texture that is selected

- Pressing 0 will indeed allow to change block colour definitions (Thanks Furbarpk

- Storing added / deleted blocks so when move around they dont follow the player but rather stick in position on the chunk

I think these will be a good few days challenge

Shall update a bit later today
puzzler2018
User Banned
Posted: 17th Feb 2018 11:01
A little inventory tantiliser



Converts 3D objects to 2D sprites - objects in 3D space is horrible when positioning them especially if need the perfect object repeated exactly the same each time

We can then position the sprite on the bottom of screen and use 2D collisions to identify which one is been clicked
puzzler2018
User Banned
Posted: 17th Feb 2018 20:06
Sorry guys - i havent been on it much today - had to get other things sorted

Plan to have more time on it tomorrow, but what I have managed to do is:-

- made the chunk a little larger 60x60

- the underground will never be created - not until we hit that very first block on ground level
and then what will happen is a few extra blocks surround that hole it makes will be dynamically created

- made it so that when select your weapon or object - it places that. - 0-9 (0 = edit our own eventually)

- I will pop on the inventoryexample i give this morning onto it tomorrow.

- found some nice sky colours and horizons so been playing about with these

- Added a lightning effect (so when you start it up please hang about for a few seconds in the app)



Catch up tomorrow eve
Sph!nx
12
Years of Service
User Offline
Joined: 3rd Dec 2008
Location: The Netherlands
Posted: 17th Feb 2018 21:08
Wow, great work mate. Keep it up!

Since you are sharing this awesome work, perhaps you could submit this project to TGC for official example game. Just a thought.
Regards Sph!nx
puzzler2018
User Banned
Posted: 17th Feb 2018 21:12
Thanks - im quiet impressed too lol there is no end to the magical AGK

Yeah - me and Xaby have suggested to do this too but more of a AppGameKit Mini Games instead of that template one.

This is going into the realms of a good and proper app so would like to share with TGC to bring newcomers the feeling yeah this AppGameKit can do some really impressive stuff
puzzler2018
User Banned
Posted: 18th Feb 2018 00:16 Edited at: 18th Feb 2018 00:35
Tomorrow I might interact that textured sphere into the scene, so when move into the sky - it will act like its inifitite

maybe not have too many different blotches textured on it - like Furbarpk said suggested earlier, a nice even areas of colours

the sphere will rotate as the player does,

Crack on with this tomorrow

EDIT - the 64x64 map on that world example can be increased to say 1024x1024 and wrapped around the globe

each color will signify

green - grass land

darker green - forest

dark yellow - sand

blue / green - water

etc
etc

and the rolling map reads this info - so when move - the sphere moves and when enter the different areas the blocks change accordingly

it will all come to life hopefully end of day tomorrow x
fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 18th Feb 2018 00:46 Edited at: 12th Apr 2018 21:43
Looking better everyday puzzler2018

JUST SUGGESTIONS
If you do decide to do away with underground editing
you could have a huge water block that gets revealed after you delete the bottom block
this could use a shader https://forum.thegamecreators.com/thread/216713
or perhaps a water layer. Doesnt even have to use a shader but a shader may add realism

and could use something similar to the tree board shader https://forum.thegamecreators.com/thread/214598?page=2
To place trees accross a landscape. Not even sure shaders are the right way to go for
minecraft as I like it simple too, and i love the way it currently creates textures on the fly atm

Toggling the modes is working well you can now place pieces easier, I have noticed tho
when you move and toggle between modes sometimes the camera ends up zoomed
right out when you go into play mode and goes back to normal when you toggle again

If you decide to colour blocks with a colour then this would need access somehow for the
selection showing routine. This is simple enough just divide the red/2 the blue green alpha
etc and multiply back by 2 afterwards thats easy enough as im sure you wouldve done
and its an easy mod to change the values this way could even change the color picker mode
to have pickred pickgreen etcbut the main issue comes from
if you still want the objects fading away when they are deleted
a way of doing this could be doen similar to this


just suggestions as there is so many ways to do things but I love what you have done so far

and shaders also can be created on the fly here is a quick example that is kinda irrelevant to
mindcraft apart from showing the creation of the shader on the fly
it basically gives a 2d sunflare effect and the texture is just random noise so very easily created
there is many ways weather can be achieved tho and a shader may just be the way to achieve this.
fubar
puzzler2018
User Banned
Posted: 18th Feb 2018 00:55 Edited at: 18th Feb 2018 01:00
I dont really want to make the underground non existent - but use other culling techniques which AppGameKit doesnt on the objects 4/5 layers above the player - backface culling on all static blocks and occlusion culling - mind bender!!!

Thank you my good fellow - ill review in the morning when my head is fresh - but im very sure that your feedback is more than welcome.

Thank you for your inputs

PS - I really would love a time and weather system too but all in good time

Looking at that Alpha technique - i think will work very well. cheers

WOW - that water shader would be fantasic - especially in the watery areas - if Janbo be ok to use!
puzzler2018
User Banned
Posted: 18th Feb 2018 01:30
Also a nice idea is what ever face we hover over and click left to add - will add a block adjacent to the face you once hovered over

Let me thnk...
puzzler2018
User Banned
Posted: 18th Feb 2018 02:47 Edited at: 18th Feb 2018 02:48
Boosted it to

23 - #constant chunksize#=90

and FPS gets to around 60fps ish

and very nice feeling of infinite

Enjoy your building...

ive added the inventory blocks



fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 18th Feb 2018 03:02 Edited at: 12th Apr 2018 21:44
Awesome I will try now

I thought ide play with the concept of snow or rain


it very much needs work and not sure if its that useful but thought ide have a play
fubar
fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 18th Feb 2018 03:08
The inventory blocks are great
fubar
puzzler2018
User Banned
Posted: 18th Feb 2018 03:09 Edited at: 18th Feb 2018 03:10
Yeah this will come in handy... btw - snow settles...we can convert to 3d and settle / build it up to make snow top blocks.

great idea

EDIT -clean and sharp/crisp
fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 18th Feb 2018 03:22
It sure does settle was more playing with a concept I tried in 2d got a great falling effect in 2d
but having it build up was a problem with 2d, but with 3d is great as instead of spheres, cubes
could be used that a player can delete move etc and not really adding much change to the lego
style map.

See the effects your implementing into it quite well.
fubar
puzzler2018
User Banned
Posted: 18th Feb 2018 03:28 Edited at: 18th Feb 2018 03:35
Indeed,

We are not even there with the true blocks yet

with the back-face culliing and occlusions

Each block will have a top,bottom,left,right.front,face, of which will displayed is any adjacent blocks are NOT attached


what this means is that the left/right/front and back can have a texture of 2 colors - I.E top bit white and bottom is brown

Bit like minecraft grass land blocks

Snow is a snow flake hits a block - it converts to a block with a snow top


Edit - If my talk is mumbo jumbo then i apologise - I should been a sleep about 4 hours ago lol
fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 18th Feb 2018 03:42
That does make sence.

What i nearly said before was dont you ever sleep lol

I just wasnt sure wether using physics is a better alternative or not as it would require all objects
to have physics set. I dont pretend to understand the physics engine behind it but sure it would
have an impact on framerates hence playing with falling blocks routines. Anyway if you need sleep
tomorrow is another day. youve achieved well today.

Sleep well
fubar
puzzler2018
User Banned
Posted: 18th Feb 2018 03:45
Turning on physics - will apply to all objects in the scene

we will have to design our own - I think,,, OUCH

fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 18th Feb 2018 04:02 Edited at: 12th Apr 2018 21:45
nah I'm sure there is the equivalent of this 2d physics command in 3d

So a static block doesnt need to do that much in the physics engine not sure how thats done or if it
is something that needs to be added or by default they are static. Only ever used the physics in 2d
and not all that much so maybe no forces are applied to an object it doesnt impact the speeds
heavily. So only the snow rain etc has those properties and when they collide they are deleted and
the block it collides still doesnt need anything changed other than its texture. Im sure there must be
someone here who can help on this matter.
fubar
puzzler2018
User Banned
Posted: 18th Feb 2018 04:06 Edited at: 18th Feb 2018 04:09
If we can convert those 2d snow flake sprites to 3d spheres then do an objectraycast then jobs a good en.

edit - this will be very laggy cause will after iterate ever snow flake lol

time to have a think - it will be acheivable,

puzzler2018
User Banned
Posted: 18th Feb 2018 12:36
Here is another adaptation of the world we going to enter into



Referenced by https://forum.thegamecreators.com/thread/213532

Genius,,, thank you Unlikely
fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 18th Feb 2018 20:54 Edited at: 18th Feb 2018 20:58
Quote: "God promised easy programming in all corners of the world then he made it round and laughed and laughed"


Pardon my joke but that's a great piece of code just couldn't resist lol
fubar
puzzler2018
User Banned
Posted: 18th Feb 2018 21:06
lol - yeah making a game which has 4 corners but on a round globe - got it I think - doh!

When we start play - it will zooooom into the globe and eventually land on the surface to where we meet the 4 cornered land of blocky existance
puzzler2018
User Banned
Posted: 18th Feb 2018 21:47
Interesting concept

https://www.youtube.com/watch?v=QWCzWWzOySE

Catch up with some more development hopefully tomorrow night - just needed some time off


fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 18th Feb 2018 22:26 Edited at: 18th Feb 2018 23:08
Quote: "That looks amazing"
fubar
puzzler2018
User Banned
Posted: 19th Feb 2018 18:25
Just been experimenting with perlin and map



Enjoy
puzzler2018
User Banned
Posted: 19th Feb 2018 19:04
WOW



Change that /10 - line 131 perlinmap[x,y,0]=noise/10

to see differences

fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 19th Feb 2018 21:20
Love the perlin map very nice
fubar
puzzler2018
User Banned
Posted: 19th Feb 2018 21:28
Thanks to unlucky for sharing..

Next would be to position in centre and introduce what we have so far into a rollin map - see if that works

god knows how we going to acheive the distances.

Keep going as when I can


puzzler2018
User Banned
Posted: 19th Feb 2018 21:33
Its been 1 month exact and I feel its progressed really well - Notch took years to develop his lol
puzzler2018
User Banned
Posted: 19th Feb 2018 21:46 Edited at: 19th Feb 2018 21:54
We could develop into memblocks indeed but i am a learner and ones that suggested been with AppGameKit for over 5 yrs or more.

This will take time for me to learn

thats where time comes into play - memory/meshing / object combing and removing etc etc and that sounds about right with every perfect game

if anyone can advise IF an object can be removed from an existing memory mesh (1 object) - then I will learn myself that way - if it cant be done then i dont wanna try to do it

We can create meshes thats ok, but important for this is to be able to split in too.

Is AppGameKit good for the greedy algorithm at all?
puzzler2018
User Banned
Posted: 19th Feb 2018 22:08 Edited at: 19th Feb 2018 22:09
Feels like im on my own again, and no sign of Xaby what so ever - original request for this app

I could get on with my own stuff - if only really one follower now Fubarpk, does it really show me that if this is worth the real effort anymore
puzzler2018
User Banned
Posted: 19th Feb 2018 22:11
I need vocable followers for me to continue - its how i feel - sorry
puzzler2018
User Banned
Posted: 19th Feb 2018 22:30
The reason why I ask is two things:-

- Is this subject really informative?

- Wish this thread would end.... and so many views cause always posting - 60% code and 40% of mumbo jumbo talk

Let me know how you feel folks


puzzler2018
User Banned
Posted: 19th Feb 2018 22:41
Xaby - yes Minecraft can be acheived with AGK

Shall I continue with this ?
fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 19th Feb 2018 22:41
I feel because there is allot of activity here different followers check at different times because of work commitments timezones etc
and probably a few that don't comment, it doesn't mean they don't test the code etc as I have previously stated the amount of views
is the main show that its a popular thread and the fact it shows a red icon in the forum list. But maybe just put together what you have
that is easy enough to put together and give the thread a break if that helps any persons well being and happiness is most important.
If you do this you could go back to your own projects or perhaps continue on this one. Check back after some time and see then what
people have said.

I have loved all the posts but like many popular threads they calm down after a while, like for example the shader thread which has a sticky
but that stopped as people were lost for new shaders and one of the developers started making a shader pack but that thread was reopened
because once a thread is inactive for a while people can no longer comment.

For the time you have been an AppGameKit developer you have come a long way, but if you risk burning out like I have said take a break, health
is most important.
fubar
puzzler2018
User Banned
Posted: 19th Feb 2018 22:45 Edited at: 19th Feb 2018 22:50
Thanks, I shall continue in a day or so, just as long as its not lack or energy .

I love programming and more helping others program, i think of others developments more than my own maybe

Shall continue tomorrow - thanks

edit - I dont stop till I get a job done and done well - and if that means post after post with no comments for a long while then i just this then are we majority interested in how this progresses

If ones just want to see the final product then thats fine, i might be teaching an old dog new tricks with all these little snippets i introduce and other programmers are more well
advanced than me.

I apologise
Zep
18
Years of Service
User Offline
Joined: 31st Aug 2002
Location: From PA, USA. Currently reside in Hanoi, Vietnam
Posted: 19th Feb 2018 23:31
I'm following your progress, puzzler2018. Please continue.
fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 19th Feb 2018 23:43
I love TGC and have supported there products for a long time starting with Darkbasic ,then DBPro, GDK and finally AGK.
I try and do my bit to keep things alive for example my last GDK project i put aside a project which had an editor and
allsorts using real world terrain maps in a 3d world. It was very much completed the only thing it was lacking i wanted
bombs to modify the terrain in real time. Now this never got done as i was waiting for a fast way of doing so in real time.
Then GDK was made free which was great for the TGC community in many ways but also sad to many current users as it
meant development towards the 3d engine would stop. Which with the latest direct x versions meant the transparency
in movies on objects turned transparency to black due to direct x changes lol Im not worried but it did kinda mess up
animated explosion movies i had created that were placed on planes facing the camera.

I have dabbled in many other languages in the past and i understand just to do a simple screen effects you have to sift
through direct x documentation which can take several hours just to do a simple effect that allot of us take for granted.
I love TGC products as they simplify allot of process's and bring commands that would be out of reach to many of us.

Im not young def on the old scale but its nice to have graphical effects at a persons fingertips maybe i dont have the
compassion for programming i once shared but i have been getting that back. AppGameKit is a fantastic development tool and its
a great way of developing graphical apps and games and its really great to see just how far people can extend the product
and can be very inspiring.

Also one of my long term friends has a child that is a keen minecraft player and keen to learn programming. now his kids are
way better than me or my friend at learning how to do stuff i tell ya lol. But im sure this thread is a really valuable place
to start for him and many others who loved minecraft. There has been many things suggested and example codes throught
this project that many people will be able to look back on.

No need to apologise we never stop learning doesnt matter who we are when we stop learning we die
fubar
puzzler2018
User Banned
Posted: 19th Feb 2018 23:53 Edited at: 19th Feb 2018 23:56
Wow - never expected that..

Gracious of you

Crack on tomorrow x

Edit - for the last good entry - i ploughed my way up to frihtening sky and must took me half hour and then not reach the clouds
GarBenjamin
AGK Developer
4
Years of Service
User Offline
Joined: 30th Nov 2016
Location: USA
Posted: 20th Feb 2018 04:00 Edited at: 20th Feb 2018 04:01
I also check this thread regularly but it is moving so quickly I don't have time to test every code update. The time I spend on game dev stuff right now I am putting into my fps tutorial thread. Which probably sucks as a tutorial but hopefully someone will find something useful in it. And occasionally I try to answer some questions or otherwise help out someone around here.

I will definitely check out the latest 1 or 2 code posts you make later this week. I agree with fubarpk though that it wouldn't hurt to take a little break if needed. Honestly, I think you are probably moving so quickly posting updates that is faster than many people have time to even keep up and try them out. lol

It is impressive the amount of energy you are channeling into this for sure. And I am not knocking that at all just mentioning why I think maybe people are busy and just trying to keep up with the rate you are working. Some people might also just check once or twice per week as far as trying out the latest code snippet.

As fubarpk said clearly there is a lot of interest in the subject based on the number of views. So I don't think that is a problem you need to worry about at all!
TI/994a (BASIC) -> C64 (BASIC/PASCAL/ASM/Others) -> Amiga (AMOS/BLITZ/ASM/C/Gamesmith) -> DOS (C/C++/Allegro) -> Windows (C++/C#/Monkey X/GL Basic/Unity/Others)
puzzler2018
User Banned
Posted: 20th Feb 2018 08:14
Thanks guys...

I shall keep cracking on with it on evenings and weekends

Catch up soon
Xaby
FPSC Reloaded TGC Backer
13
Years of Service
User Offline
Joined: 17th Apr 2007
Location: Berlin
Posted: 21st Feb 2018 08:04
@puzzler2018

I saw that today, I know, to generate the world by it's own is the real fun. But for inspiration and maybe testing purpose ... can't say, if it is easy to load into your structure. Maybe it is more work than it is need.

puzzler2018
User Banned
Posted: 21st Feb 2018 10:10
Hello

Yeah this seems a good tool - so I will take this inspriration and maybe pop it into our version one day soon.

Maybe in an "Editor" mode?

Thanks for that



puzzler2018
User Banned
Posted: 21st Feb 2018 12:58
I'm currently having few days away from this, but hopefully back on it from tonight,

What need to do next is:-

- Need to extend the map, so the 50x50 chunk area can move around a very much larger invisible map. (2048x2048 heightmap) which is just a 2D array full of hieghts - this can be extended if we feel it needs to be much larger

- Sort the camera movement out according to the players facing direction.

- Collisions - so not to be able to walk into the blocks.

- Texture them depending on their heights.

- Be able to to choose the inventory blocks and select the players hand object

- Comment it all

Aim to get this on here by Saturday/Sunday.

Tips..

Cause the height map data at the moment is either 1,2,3,4,5,6,7 on different levels, this is in effect 8 bits - so this perhaps can be converted to binary


0 0 0 0 1 1 1 1 = 15

there is possible 7 levels of height, so each block can be chopped down into

2 block data = 1 data array.

So ultimately a 2048 x 2048 array has 1024x1024 data bits in - 1 = 2 block data

Anyway - back to proper work lol

puzzler2018
User Banned
Posted: 21st Feb 2018 17:32 Edited at: 21st Feb 2018 17:42
Having a 2048 x 2048 premade map is time/memory consumption not at least that we have a limitation of whats on the map each run, so why dont we go infnate and dynamically build the outskirts of the map as and when we move, with this

Noise2D(xx/10.0,yy/10.0)



Interesting....

Shall crack on

PS.. Dont do createobjectbox in the main loop - just change the height and texture of the rolling map which I posted last week and change it to what the perlin function gives us

fubarpk
Retired Moderator
16
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Adelaide
Posted: 21st Feb 2018 17:56
Keeping an eye on to see what you come up with
fubar
puzzler2018
User Banned
Posted: 21st Feb 2018 23:28 Edited at: 21st Feb 2018 23:35
The brush as he called in that video is calling our noise function with a lot higher or lower divides in that function

/10 is quiet except able

< higher - more gaps
> lower less gaps

this video you posted is a landscape terrain builder similar to what Santman is doing these days, not minecraft as we creating

perhaps in version 2 lol

PS... Sorry no code as yet - it takes time, thanks for keeping posted

Login to post a reply

Server time is: 2021-03-05 09:59:14
Your offset time is: 2021-03-05 09:59:14