Recent posts

#41
GLBasic - en / Re: Steam HTML5 Compiler
Last post by Dabz - 2024-Feb-15
So, after purchasing GLBasicSDK [I also bought the none steam one donkeys ago, but thought I'd support it and not to hassle Kitty for a steam key] and the HTML5 platform DLC, and discovering, well, the problems regarding HTML5 input in response to this thread are still there...

Can someone confirm that this is deader then a-line flares with pockets on the front?

I've tried all sorts, from using js keycodes when e.g. normal 'Key(200)' was failing, I've tried MouseAxis instead of MouseState... And yet, cannot get anything to work as it should... And... It's a little annoying, and I do have patience as well, but it seems broke, and, I may be wrong, I may have missed something... But you cannot sell broken stuff, or at least not highlight fixes/workarounds in the docs, as an example, do I have to use something other then 'Key()'?! :D

I say this without hopefully coming across as a t[beep]t, but I made a few things in GLBasic and really enjoyed it, now, looking at tinkering around with a few prototypes, and, it's all a bit of a faff really.

Kind regards

Dabz
#42
From time to time there are nice deals on game related software, assest's or programming books on different websites, I thought that would be easier to inform about them in a single topic with little description so anyone interested would easily check basic info about particular bundle/deal.
Personally I check bundles on Humble Bundle, Fanatical and itch.io, if you will find something not mentioned here don't hesitate to post it.


To start, there is Melodic Mayhem: A Comprehensive Audio And Music Bundle on Humble Bundle
It contains royalty-free music tracks and sound effects for games, full price isn't high for what if offers, whole pack is something around 20GB of assets.
Tiers:
8 items -> €1
23 items -> €13.85
45 items -> €18.47
End date: 14.03.2024

Music packs: Magical, Western, Orchestral Ambient, Electronic Ambient, Chiptune Music, Casual, Synth Fantasy, Nordic, Orchestral Rock, Industrial, Synthpop, Rhythmic, Fantasy, Unreal, Unity, Godot, Ambient, Classical, Electronic, Hip Hop, Horror, Japanese.
Sound FX packs: Impacts, Fire, Horror & Suspense, Hollywood Action, Medieval Sound, Environmental Ambiences, Cyberpunk, Foley: Footsteps, Foley: Appliances, Foley: Movement & Locomotion, Vehicles: Cars, Steampunk, Jingles & Stingers, Computers & Machines, Simple Magic, Microscale: Bugs, Casual & Mobile, Water, UI & Menus, Science Fiction.
and plugins for popular game engines.


#43
GLBasic - en / Re: Steam Html dosent work ous...
Last post by D2O - 2024-Feb-12
Ok, ich nutze keinen http Server wie xamp und co.
Ich lade das ganze immer auf den Online-Server.

Jetzt wollte ich das ganze nochmals frisch erstellen und als beispiel hochladen.
Und was ist, jetzt wird  nur die dummy htmal erstellt.

Ok, das ganze wieder deinstalliert und neu installiert.
Nix, nada... lässt sich wieder nicht erstellen.

Da gibts ja noch etwas mit den Icon Dateien, ok überall rein kopiert, hilft aber nichts.
'

Ich bin echt ein ruhiger geselle, aber mir reichts jetzt.

Wenn ich an die Anfangszeiten denke, GLB Installieren, bisschen den HOME Pfad anpassen....
Android läuft, damals sogar Iphone (noch ohne MAC ;)  )...

Und jetzt habe ich jedes mal das gefühl, GLB wird verschlimbessert.

Ich steig aus, vielleicht packts mich in einem Jahr wieder, aber aktuell muss ich mich nur ärgern.

#44
@Kitty Hello
Good to hear that, as it gives hope for possible other targets like TV's, as they should support WebAssembly, at least I hope so.

@D2O
What error is visible in browser's JS developer console (or however it;s called in other browsers beside Opera), other thing is that from what I remember GLB used some internal http server for testing html5 projects, are you using separate client like Xampp?
#45
GLBasic - en / Re: Steam Html dosent work ous...
Last post by D2O - 2024-Feb-05
Ist eigentlich ein ganz simpler Timer,

Code (glbasic) Select
// IDE Version: 16.793


// SETCURRENTDIR("Media") // go to media files
ALLOWESCAPE TRUE


GLOBAL fps_time% = 0,fps_temp% = 0
GLOBAL frametime% = 10000 // millisecs

SETSCREEN 800,600,0

GLOBAL dip1% = TRUE, dip2% = TRUE

//--------------------------------------------------------------
SETLOOPSUB "MainLoop"

SUB MainLoop:
        fps_time = GETTIMERALL()
        IF (fps_time-fps_temp)> 1000 AND frametime > 0

                frametime = frametime - 1000
                fps_temp = fps_time

        ENDIF






        IF frametime = 0   THEN dip1 = FALSE


        IF dip1 = TRUE
            DRAWRECT  100,100,100,100,RGB(0x00, 0x80, 0x00)
            PRINT frametime/1000,110,110

        ENDIF

IF MOUSEAXIS(3)
    frametime = 10000
    dip1 = TRUE
ENDIF


PRINT getfps()+" FPS",10,10
PRINT "left mousebutton reset", 10,40


SHOWSCREEN
ENDSUB
//-------------------------------------------------------------




FUNCTION getfps:

STATIC fps_time%,fps_counter%,fps%,fps_temp%
    fps_time = GETTIMERALL()
    fps_counter = fps_counter + 1
        IF (fps_time-fps_temp)>1000
                fps_temp = fps_time
                fps = fps_counter
                fps_counter = 0
        ENDIF

        RETURN fps
ENDFUNCTION

Aber vielleicht rufe ich das scribt nur falsch auf ??

Habe es mit
</script>
<script src="jscript/Timer.js"></script>
und
<canvas id = "canvas" = "event.Preventdefault ()"> </ Canvas>
<Script Type = 'Text/JavaScript'>
var module = {
Canvas: (Function () {return document.getelementbyid ('canvas');}) ()
};
</script>

<script src = "timer.js"> </script>
versucht.
Ist das script aber in der gleichen ebene wie die html Datei
funktioniert es.
</script>

<script src = "timer.js"> </script>
#46
inline C++ is fully supported in HTML5. If you have the source for libraries, they might work, propably, too.
#47
It would be nice to have some list of functions not working in HTML target and possible workarounds, in one post or something. Fully working HTML5 game can be for example packed into UWP or whatever it's now called and played on Xbox consoles. That's off topic but C++ inline and additional libs like SDL are not supported most likely, as SDL has some HTML5 port from what I remember.
#48
GLBasic - en / Re: Steam Html dosent work ous...
Last post by D2O - 2024-Feb-03
Vielen Dank :)
#49
im did many of the fixes in this thread, which you should look in:
https://www.glbasic.com/forum/index.php?topic=11576.0

#50
Im newer have a Spectrum or played this game before this remake..... Im was/is a Commodore guy. But im became a part of that official extended port. Also there is a lot of new rooms added.

The only strategy game im actuelly played back in the day, its was Laser Squad for the Amiga.

And yep, we have the official license from Atari, which own HOH.