Recent posts

#1
Blitz2D, BlitzPlus, Blitz3D / Re: Blitz3D has been updated
Last post by Derron - Yesterday at 12:50:13
you might prefer to download 1.112 instead (aka another update to fix some regression)


bye
Ron
#2
Blitz2D, BlitzPlus, Blitz3D / Re: Blitz3D has been updated
Last post by RemiD - Yesterday at 11:19:07
@Xerra >> thanks for the info / link  :)
#3
Showcase / Re: Amoriax - tactical game ba...
Last post by mainsworthy - Yesterday at 08:47:16
Quote from: Xerra on April 11, 2024, 23:13:58
Quote from: mainsworthy on March 11, 2024, 19:34:50
Quote from: Baggey on March 11, 2024, 19:19:51
Quote from: mainsworthy on March 10, 2024, 12:42:51
Quote from: zxretrosoft on March 09, 2024, 15:22:47Thank you very much, my friends!
Yes, I'm still tweaking the AI, I'm sure it will play better with time.

Anyway, try the PC desktop version. The browser version is less intelligent (because the hosting is slow).

Thank you!!


Hi, I dont know if you want any help on A.I. but I will say because I have done lots with simular games to yours.

first you make a list of all moves possible, then go through list one at a time and make a list for all enemy moves in responce to your move. you do this to about 4 deep, but 6 is better. when you drill down to final layer your score the board for how many good things you have. then next move etc... you then play the move with highest prodicted score. also when your making moves if any score is below your current best then ignore that part of the tree, this is prunig.

hope this helps.
Deviating slightly! ::) How would you go about a Chess game? Maybe another thread? ;D

There's a game called 'PSI CHESS' for the Zx Spectrum. It had a facility to change the pieces but that never happened! Maybe today we could!?

Kindest Regards Baggey

the way I decribed above is a chess algo, chess is simple you do it brute force no proper thinking, just eval all outcomes per move , then make highest score move. you use a eval() to add up your pieces - enemy and all the strategic elements.

you make best moves only. when you encounter a lower scoring tree you forget that branch, and move on.

dont need graphics, just A2A4 B6C6 etc... the board is text too RNBQKBNR
                                                                                            PPPPPPPPP
                                                                                            ...............

etc...

when generating moves, you can instead pre array a move list for every piece on every square, so now no need to make a move gen..


I'm going to assume you don't actually play chess judging by your solution to coding an AI opponents strategy.


Im going to asume you never coded a chess engine, if you think there is no strategy, its the eval() function for every move that takes all strategy like position and gives scores for not just pieces but poasition etc... the score is for everything on the board, so strategy is very much part of the solution. but most important you have to want to play the game
#4
AppGameKit ( AGK ) / Re: My devious plan.
Last post by Alienhead - 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 :)
#5
General Discussion / What is Microsoft windows appr...
Last post by William - April 14, 2024, 21:59:27
For techie people makes me think windows changed their audience that for techie people Linux is the programmers choice that directive. https://www.tweaktown.com/news/97510/microsoft-kills-support-for-most-popular-operating-system-users-now-get-full-screen-ads/index.html

I grew up first os I started getting into were windows xp though the first PC game were on a windows 98 machine. I just thought Microsoft was leaving this audience for us Linux users hehheh. 
#6
AppGameKit ( AGK ) / Re: My devious plan.
Last post by Hotshot - 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!)
#7
AppGameKit ( AGK ) / Re: My devious plan.
Last post by Hotshot - 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 :)
#8
AppGameKit ( AGK ) / Re: My devious plan.
Last post by Alienhead - 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
#9
Tutorials / online FreeBASIC tutoring For ...
Last post by ron77 - April 14, 2024, 17:00:57
hello...

i would like to offer my services for free as a FreeBASIC online (via Zoom or TeamViewer) Tutor for Beginners in Programming and in Freebasic...
my name is Ronen Blumberg i'm a 47 yo Hobby Programmer with 8 Years of Experience in Programming as a hobby -
i've coded in different Programming languages but my "Comfort Zone" Programming languages are BASIC Programming Languages (mostly FreeBASIC and Some GW-Basic) i have knowledge in programming in Both windows OS and Linux OS and DOS (DosBox) in FreeBASIC and GW-Basic...
i've done many programs in FreeBASIC (chatbots, text games, adventure games, quit smoking app etc...) my weak point is graphics my strong point is String Manipulations.

my Time Zone is UTC+02:00 (Israel Jerusalem Time zone)...

I Offer my Tutoring to the Absolute Beginner in Programming - i can help you set up a FreeBASIC (or GW-Basic [PC-Basic]) Development Environment on your computer [win/linux] with a IDE of your Choice and help you on your new way in FreeBASIC / GW-Basic

i can try to teach you a bit what i know about "what a computer program is made of" and how to solve problems (algorithmic thinking) when trying to design and code your programs

if you desire to do different programs then what i know I'm ready to study the subject with you and help you achieve your goals...

and all this in a friendly attitude as possible and for FREE...

i speak and can tutor in English and Hebrew languages...

So. in case YOU are able and interested you can send me a PM to lonely_star (ron77) or email me to my email: ron77@email.com and we'll see how to get in touch and schedule an online lesson.

kind regards.
ron77
#10
Unity / Re: Minimalist platformer
Last post by Baggey - April 14, 2024, 13:48:19
Thats a cool little game. Wish i had the ideas, or the know how to go about something like that. ???

QuoteSurprisingly, it only took a couple of hours to put together :o

Baggey