SyntaxBomb - Indie Coders

Languages & Coding => AppGameKit ( AGK ) => Topic started by: Pfaber11 on February 14, 2024, 20:00:04

Title: My devious plan.
Post by: Pfaber11 on February 14, 2024, 20:00:04
Hi I'm currently trying out AppGameKit for python. The reason  I am practicing Python is so when Mojo is released for windows in a month or so I'll be prepared as apparently It will run Python. Hoping it will work with AGK for python. Mojo is really gonna rock a lot of folk. Gonna be as fast as C++ . I've been at it a few days and AGK Is really good with Python so far.  I did look at this a few years ago and just didn't look hard enough. 
 have a nice evening  
Title: Re: My devious plan.
Post by: Pfaber11 on February 29, 2024, 19:19:22
Well I'm completely jared off with Python so far and will probably give it the elbow again. I really hate not having the goto command as it is so useful in many situations. I think not having goto is a mistake and unless I can get on top of this it may be a deal breaker. I'm not into OOP and I do like procedural
languages like AGK. AGK classic or Studio are really good  languages and easy to learn although easy does not  mean fast as there is a lot to take on board but it is worth learning. 
Title: Re: My devious plan.
Post by: Qube on February 29, 2024, 20:14:59
Why not just stick with AGK's Tier 1 BASIC implementation? it's more than capable of being able to make games with. Get tapping them keys, the perfect language does not exist ;D
Title: Re: My devious plan.
Post by: Hotshot on March 01, 2024, 14:56:29
I used be like you years ago when come to programming language as I keep going different programming language and it got me nowhere.

So the moral of story is that IF You stick on one programming language and learn them properly then you will get somewhere and you will able show people that what YOU have made with it 

I know one man who study SFML for 1 year and he made lots of demo and some game for it as then he can look back with pride on what he done.

You should do the same :)

I know Programming is hard but it is very rewarding when you got somethings show your friends or family on what you have done :)
Title: Re: My devious plan.
Post by: Pfaber11 on March 05, 2024, 02:34:54
Hey Qube hey Hotshot. I am gonna stick with AGK for a while yet. I can't see a worthy competitor yet anyway and as for Python no goto Hmm. What I'm currently making now is a little over 10000 lines of code. I'm getting more confident in what I can produce and maybe almost competent. I wrote a game which was bad on the BBC micro in 1985 in basic with a sprite utility and that was pretty much my first attempt, then in 1992 I bought an Atari 520 ste along with stos. I did make a level of a game with this and decided to shelve it as I thought it was too slow, could of just been me. I looked at visual basic in 2005 and it was just not my thing. Fast forward to late 2017 early 2018 and I discovered Blitz3D and I wrote my first game that worked, it was very simple but not too bad. I then bought AGK classic and joined this forum. Since then I've tried a few different languages and the one I like best is AGK studio. I have not found a worthy replacement to produce a game or program  that I like and get on with. I would love it if in 10 years I'm still using AGK and that is a real possibility. AGK although I am getting quite fluent with still has more to offer. Is AGK good?
Hell yeah.
Title: Re: My devious plan.
Post by: Pfaber11 on March 05, 2024, 05:08:31
I have decided to give python and mojo the elbow as there is no Goto command and I think I am old enough to decide for myself whether I should use it or not. My coding is quite tidy and readable. 
It was a guy from the 60's who said you must not use goto and languages have changed a lot since then. Ahh the evil goto.
Title: Re: My devious plan.
Post by: Naughty Alien on March 05, 2024, 07:33:55
Quote from: Pfaber11 on March 05, 2024, 05:08:31It was a guy from the 60's who said you must not use goto and languages have changed a lot since then. Ahh the evil goto.
..ill use anything under the sun as long as delivers on time with expected results..there are more elegant solutions to be used instead "goto', but again, if it it does what is needed and delivers whats expected, then its just fine..
Title: Re: My devious plan.
Post by: Alienhead on March 05, 2024, 15:29:45
Quote from: Qube on February 29, 2024, 20:14:59the perfect language does not exist

Oh but it does ...  It's called LUA (https://www.lua.org/).. :)  After working in C# the last few months, I sure miss LUA.
Title: Re: My devious plan.
Post by: Pfaber11 on April 01, 2024, 10:06:03
@Alienhead Which distro of Lua do you use? Is there a good 3d one? I've looked and they seem rare. 
Thanks for reading. 
Title: Re: My devious plan.
Post by: Pfaber11 on April 03, 2024, 09:03:12
I did try Lua for a while a couple of years ago and did like it but had problems producing an exe file. 
I'm quite happy with what I'm using right now and it is working for me but I like to keep an eye on the ball as far as it goes with computer languages. They all more or less do the same thing as in moving pixels around the screen make sound and do calculations. So if AGK dwindles and dies I know I can use Lua quite happily.
Title: Re: My devious plan.
Post by: William on April 04, 2024, 22:43:05
@Pfaber11 I do not believe you were alive then. Well okay so I think that you need good afk time but you don't. Anymore I dig the code if it has relevance later and function however ... Well I don't think you'll accomplish something (self fulfilling prophecy for you. I feel I can only talk about my experience what I got going on. I want to write Web 3 app and game. Well I dig writing in blitz max, I wish I knew why. It's just hardcode style. Back to you.. you need interest in code in other users in your life :) I feel encouraged to get back to programming soon. keep posting.
Title: Re: My devious plan.
Post by: col on April 05, 2024, 01:01:07
Ideally, you should strive to become a software engineer that just so happens to be using a certain language to achieve your current goal.
Title: Re: My devious plan.
Post by: William on April 05, 2024, 03:27:55
Quote from: col on April 05, 2024, 01:01:07Ideally, you should strive to become a software engineer that just so happens to be using a certain language to achieve your current goal.
Enough for now Dave.
Title: Re: My devious plan.
Post by: Pfaber11 on April 14, 2024, 07:37:49
Yes I strive to become a better programmer ( software engineer ). Still learning new things regularly. 
Does anybody know how many commands are in AGK, has anybody counted them? I've been working on my latest and is nearly ready although I want to add a few things yet. Have a nice day.
Title: Re: My devious plan.
Post by: Alienhead on April 14, 2024, 19:35:18
I use this engine, LUA 5.4 is already wrapped and packaged. Simplicity of LUA sitting on top of a rendering game engine that produces 10x faster calculations and rendering timing than Unity.
https://www.ultraengine.com/

Sample code:

--Load FreeImage plugin (optional)
local fiplugin = LoadPlugin("Plugins/FITextureLoader")
--Get the displays
local displays = GetDisplays()
--Create a window
window = CreateWindow("Ultra Engine", 0, 0, 1920, 1280, displays[1], WINDOW_CENTER | WINDOW_TITLEBAR)
--Create a framebuffer
framebuffer = CreateFramebuffer(window)
--Create a world
world = CreateWorld()
--Load a map
local scene = LoadMap(world, "Maps/start.ultra")

while window:KeyDown(KEY_ESCAPE) == false and window:Closed() == false do
    --Garbage collection step
    collectgarbage()
    --Update the world
    world:Update()
    if player~=nil then player:BoneAdjust() end
    --Render the world to the framebuffer
    world:Render(framebuffer)
end


A little scene i put together to test out it's strengths before i delved in.
https://www.youtube.com/watch?v=f6YvoPELxVU
Title: Re: My devious plan.
Post by: Hotshot on April 14, 2024, 21:55:25
Look nice but I have yet to see anyone made Game in UltraEngine as maybe early days as they just release Ultra Engine about month or so.

Coding wise look easy to understand thanks to LUA Programming language :)
Title: Re: My devious plan.
Post by: Hotshot on April 14, 2024, 21:57:32
P.S. Would be nice if there was Game Tutorials in Ultra Engine as then people would speed up their programming skills as that what AGK2 did(they got tons of Samples to try out!)
Title: Re: My devious plan.
Post by: Alienhead on April 14, 2024, 23:11:55
Ultra is still in early beta, it may be alpha still not sure.

As far as game projects in it, none yet.  But I do have a Player Controller I've been working on in it - https://www.ultraengine.com/community/blogs/blog/304-ultimate-action-game-controller/

May give you some ideas on it's power :)
Title: Re: My devious plan.
Post by: Pfaber11 on April 16, 2024, 21:08:23
That little scene of yours is excellent. I'm taking a look at Lovr as it is free however what you are using does look good. I figure I can keep using AGK for as long as I can as I am really enjoying my programming right now. I am way faster at AGK studio now and yes some things might  be held up for an hour or two when trying to solve a problem but that is nothing compared to when I first started, sometimes I would be stuck on something for days but there we are. VR is gonna be great in the near future imagine a 3D operating system etc. Probably already out there. 
Anyway it is time for a cup of tea. 

Title: Re: My devious plan.
Post by: Pfaber11 on April 23, 2024, 05:25:14
The reason I am picking Lua is because I've tried it once or twice and it really was nice to work with.
It is a while since I used it ( about 2 years I think 6 weeks or so total usage ) but hopefully I retained some of it. I'm still going to continue to use AGK Studio as my main language for now and possibly years to come. I think what TGC have done maybe good for AGK. Is AGK Studio going to be free? If not not much will of changed.
 
Title: Re: My devious plan.
Post by: Hotshot on April 23, 2024, 19:41:34
All AGK2 is doing is keep updating the software. AGK 2 Studio going be longterm support.

Will there be AGK3 coming out because AGK2 Studio is 5 years old already!