Wonkey Update

Started by iWasAdam, May 23, 2021, 12:26:29

Previous topic - Next topic

zelda64bit

Quote from: iWasAdam on May 27, 2021, 11:02:25
on window 7 the prebuilt g++ version fails - I can confirm this  :'(

We will have to wait for them to solve it. :)

Steve Elliott

#16
Quote
Wouldn't it be better to support, join and work for already existing language projects instead of founding always new projects?

When we will continue as we do, in 10 years we will have more BASIC dialects then users in the forum.

Yet you're trying to write a wrapper for some C code in an abandoned (by the author) language?!  Yet you don't understand C, at all.  Blitzmax, a language that has added garbage collection that C - or even C++ doesn't have, and you're wondering why you are encountering problems?  And that's without threads!  That's exactly why you don't use a general purpose language - they're not designed for it!  Put down the versions of BASIC as you wish, but generally they give you far more than text only output like C and C++, you have to add a game engine - and learn that too.  So you don't want lots of new BASIC Languages, but want everybody to get around a language you don't understand?  That's madness.

Instead, get around a language that is designed for games.  I'm not going near sound just yet, but I can see your advice will be invaluable!  :)
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

round157

#17
Quote from: zelda64bit on May 27, 2021, 20:10:08
Quote from: iWasAdam on May 27, 2021, 11:02:25
on window 7 the prebuilt g++ version fails - I can confirm this  :'(

We will have to wait for them to solve it. :)

Hi.....the professional team members of the Wonkey development team will solve the problem without any problem.

iWasAdam

Here's a quote to the above:
QuoteYou want to run it on windows 95?
:'(  :))

Aurel [banned]

#19
QuoteI agree with what you say. It would not be better if everyone joined a single language, instead of each one making their own.

Heh..sounds good in fantasy...How i know what is in someone else head ?
Left the code to someone who don't know what he doing is the worst thing ..
that thing often lead to big mess.
(Y)

round157

Quote from: Aurel on May 30, 2021, 08:07:41
Heh..sounds good in fantasy...


Besides, an invisible healthy competition may be created between authors of different BASIC dialects(micro(A), BlitzMax Ng ,Wonkey, Cerberus, etc.) This positive competition may encourage these authors to make the development progresses of their BASIC dialects faster and better.

round157

Quote from: iWasAdam on May 29, 2021, 14:02:10

:'(  :))

Many people may look forward to Wonkey's magnificent future.

iWasAdam

Wide2 - the new wonkey editor is being put through it's paces. To do a proper test I thought I would write a tutorial.

This first one creates a well known game.  :o

It's currently got all the basic stuff like map, movement and even base enemy movement. it's created over 10 different steps each with source and is only 400 lines long!

Before anyone jumps in a starts questioning 400 lines - there are 3 other sources provided which are supplying all the draw code, map code, palette code, and render code - but these are being presented as code so you can rip them to shreds and find out how they actually work - or not as they are not 'fixed' modules.

Of course you can completely just 'use' the code without any knowledge or care about how they work too.

These are from my own libraries, so I am starting to give away my own secret sauce here...


Hotshot

Hello iWasAdam


Do you know when Wonkey Update going to be release with the Editor?

iWasAdam

we're still testing things. i'll let everyone know what is happening :)

The editor is being dogfooded on macos, then will move to windows and then after that to other platforms.

There are a couple of things that are on the todo list including w7 support, targetted audio and synth engines plus new graphics tools.

Hotshot

can you show simple code of Wonkey gonna look like?

iWasAdam

no problem - anyone who know Cerberus, monkey2 or even BlitzNG should be reasonable happy with this:

Namespace myapp

#Import "<std>"
#Import "<mojo>"
Using std..
Using mojo..

Function Main()
New AppInstance
New MyWindow
App.Run()
End

Class MyWindow Extends Window
'this has no window sizing - or fullscreen on MacOS
Method New( title:String = "Simple mojo app", width:Int = 640, height:Int = 480, flags:WindowFlags = Null )
Super.New( title, width, height, flags )
End

Method OnRender( canvas:Canvas ) Override
App.RequestRender()

canvas.DrawText( "Hello World!", Width/2, Height/2,.5,.5 )
End

End


This is the basic open a window and say hello world
for the simplest (a console app with no window - just run from the shell) you get:

Namespace myapp

#Import "<std>"
Using std..


Function Main()
Print "Hello World"
End


I've rewritten the base templates and also added more of them. So here are the base ones you get to play with:
simple 3d
simple console
letterboxed
simple io
simple ui
simple mojox gui
custom canvas

I woud like to also add some form of simple 2d and also simple shader to the base templates

I can add further help text to the templates if you think that would help?

Aurel [banned]

400 lines of code ..ok
but where are they?
Editor...how that look?
is  all that on github maybe or ??
(Y)

Aurel [banned]

oh i found it
https://github.com/wonkey-coders/wonkey

iWasAdam
would be nice that you have this link in your forum profile ?
(Y)

iWasAdam

no problem. I'm still working on the wide2 editor, but here it is working with no issues in testing - been running solid for sever hours now.

this is the main editor window with the source tree open - notice how all the icons are clean and logical


When using find, you dont get a single answer you get all answers and can quickly locate what you want


There are other document windows, like the image viewer:


And the sound viewer - currently this only works for limited wav and ogg formats. But it is planned to add the QasarBeach sound core which open virtually any sound file even from synth manufacturers like roland, emu, yamaha, etc
As you can see it already has note/octave/pitch concepts built into it along with stereo and mono support