OSAKit (more tests)
Miscellaneous Forums/General Discussion/OSAKit (more tests)
Original post
http://www.blitzbasic.com/Community/posts.php?topic=80658Please download the latest player from here
http://www.osakit.com/downloads/OSAKitProPlayer.exe1- Install then uninstall the player!
2- Try
http://www.osakit.com/pages/castle.html on IE first then any non IE browser after that (FF, Opera Chrome or Safari)
3- Non IE compatible browser will ask to install the player, just do that and refresh the page.
After testing that please let me know the following :
1- What OS do you have?
2- What browsers did try that on (IE, FF, Opera....) and what version?
3- Does IE automatically resized?
3- When refreshed the page for (FF, Opera...) did it work ok or you had to close and restart the browser?
4- When you closed the game window, do you see the game still running in memory (use Task Manager to see that)?!
5- Any other opinions would be appreciated
Please try
http://www.osakit.com/1oldsite/castle.html (old way of Java script) as I think the new one makes problem with Firefox,
P.S : The old one will pop up the castle window before embedding it, that's normal... I'll explain later when all is ok!
Thank you very much in advance,
Worked fine on my end in IE but your other stuff did too. Hoping for a successful test when the new SDK comes out. Thanks again for seeing it through.
I just installed OSAkit from another thread with the asteroid type shooter thingy and it worked great, and interested in the technology I installed OSAkit SDK. After which all the demo's on the site just crash.
I uninstalled OSAkitPlayer from control panel and went to the page detailed in step 2 above in IE and it's taking an age to load. The progress bar filled up but after that nothing happens. On eventually giving up and trying to close IE I just get a chime, even when I end tasked which eventually worked and was all quite messy.
After that I went to the page in Firefox 2 and it came up with an error (really sorry didnt make a note) which I ignored and subsequently the castles demo did not load.
It's a really interested technology, i'm interested both for my own hobby stuff but also for corporate stuff at work. I've been trying to pitch using technology like this to my boss for a while but he has remained unflexing and wanting to work in javascript for standards reasons - recently he's started to cool off the idea of using javascript and wants to experiment flash for a particular aspect of our work, so I may have another go at convincing him of this sort of technology by knocking up an example.
Ultimately are there any plans to make this work on Mac & Linux too?
Also, for what I have in mind I would want to make AJAX calls, are there any restrictions on this from the sandbox?
1- What OS do you have?
Vista Home Premium SP1
2- What browsers did try that on (IE, FF, Opera....) and what version?
IE7 / FF2 (Firebug extension)
Please try
http://www.osakit.com/1oldsite/castle.html (old way of Java script) as I think the new one makes problem with Firefox,
P.S : The old one will pop up the castle window before embedding it, that's normal... I'll explain later when all is ok!
yeah that worked fine, didnt even asked me to install anything
"as I think the new one makes problem with Firefox, "
Let's be realistic...99% of our target users will use IE anyway. ;)
I've got my first little test project up and running and working in IE. Ideally what i'd like to do is put this in an iframe and read off some stuff from the parent page via the DOM. Is this possible with OSA kit?
Once i've figured that out i'm going to have a stab at doing AJAX calls from BMax. Then if that all works I can show my boss the basic framework and give you 400 green ones :)
I think osakit is fine, I think the fualt here lies with the javascript your using to load it in, which I know is not a strong language with you.
Just letting people know so they don't get he impression that osakit doesn't work in ff....it does, it works wonderfully, just try to tweak the javascript loading code.
Maybe theres someone here that can help you out with it? (Banshee :P)
Its a cool product is that, but when is it gonna be cross platform? :P
We want a minib3d version!
There are so many areas where this could have massive potential on the web, but web-developers wont be keen because it is windows only.
it doesnt work for me on chrome
Maybe theres someone here that can help you out with it? (Banshee :P)
Err maybe yeah, I do know my way around javascript reasonably well - and can even do most OO stuff in it, but I think Sphinx already knows what the problem is (as the old version works) so there's not much need for me to dive in yet. Though when the generated code is finished i'll be tidying up the version of it that I use for sure ;p
hmm, for some reason IE7 isnt liking my page either. I'll wait for an update to the SDK and try it again.
In the meentime i'm pleased to say AJAX works a treat and i've a plan to solve my DOM problem via a sort of backwards AJAX method, it was a 3:30am finish last night, and I think i'll be on this all weekend too (bar some pesky thing called a 9 month anniversary, sheesh!), but hopefully i'll have something to show and dazzle the boss by Monday. :)
ack, sorry - sleep deprivation induced user error :) IE7 works fine.
Banshee: Just being nosey - what exactly are you trying to achieve with OSAkit? Are you saying you need to find a way to access the DOM from within your embedded app?
Yes that's exactly it.
I have thought of a work around that uses a sort of backwards AJAX where I open a connection from the app, the web page tells the server when something is clicked and then the server responds to the applications AJAX call, which then opens a new connection. It's complicated and I can see lots of issues to work around, not the lease of which is going to be linking two independent AJAX calls from a stateless web server grrrr, so i'd rather read the DOM if I can.
Currently OSAkit is working really well and i'm really chuffed with it save for the Firefox issue Sphinx knows about, i'm doing a demonstration from a sandboxed webpage to my boss and the CEO on Monday so i've got a busy weekend to get an application up and working and polished, if not yet feature rich - thank Blitz for it's rapid development speed, i've already solved most of the hurdles :)
ok
1. Im using WindowsXP SP3
2.I tried it on chrome and firefox and it crashed both times
Banshee, do you have an email address? (mines in my profile if you want to send it off forum) :)
Jeremy Paxman : did you downloaded the latest player, and installed it?!
Did you tried the old demo?
Please (everyone) try this again as I made a little change
http://www.osakit.com/pages/castle.html
FF2 + Vista Home Premium SP1
It really hates your page still, sorry. Do you need a full fault description?
It looks like I will get back to the old Javascript code :(
Yes I installed the new version over the old one, should I have uninstalled the old one first?
The old castle demo works
Hi guys I got permission from my boss to release my lib for OSAKit (to take advantage of the Pro features really easily)
Any comments and additions very much welcomed:
http://www.blitzbasic.com/codearcs/codearcs.php?code=2331
I had a look, and saw the messaging stuff and see now that the pro version has communication with the browser. I wish somebody had mentioned that earlier! lolz oh well, at least I dont have to do my crazy AJAX thing to talk to the browser now :). Thankfully none of the AJAX stuff is wasted as I still need it for content delivery, but getting stuff out of the DOM was going to be a pig - this will be dead handy.
Boomboom, that language is that in?
looks like B3D.
Please every body try again :
http://www.osakit.com/pages/castle.html (also plz clear your browser cache!!)
I used the old way of JavaScript (2 pages, one for IE and the other for non IE)
Hope this works for every one (finger crossed)
It works !
One reservation though, when I goto the page without the plugin installed it appears to never finish loading, although the page is functional.
you are right I forgot to edit something.... please uninstall the plugin and try again :)
If all is ok I will update the SDK and upload for final release!
I've switched machine for some 3D coding now, also running FF2 but with XP SP2.
I'm getting the same thing, the page appears to be loading perpetually.
Yes its B3D
it works now
does the SDK installer have the instructions for writing the correct javascript code?
For what its worth, it works a peach on win98se+IE6.
I may well use this later when i come up with something worth embedding. :)
Great job!
Jermey : The SDK have a built in code generator which will do all the dirty work for you :)
big10p : thanks for letting me know
big10p: why not you make a webbed version of your Juicy Fonts?! OSAKit free edition will be just fine for you :)
big10p: why not you make a webbed version of your Juicy Fonts?! OSAKit free edition will be just fine for you :)
I had considered that. Maybe I will. :)
I have a question, with the browser communication stuff OSA uses the application title. Under BlitzMax i'm not aware of how to change the application title after a window is created. I'm using MiniB3D so it's a Graphics3D thingy - is there some trick I am [hopefully] about to learn from wiser minds ? :)
Doesn't bmax have an AppTitle() command, or equivalent?
It as simple as :
AppTitle = "Whatever You Want"
AppTitle = "your game name"
Hmmm... it looks like BMax does not allow to change the app title when you are in the graphics mode!!!
What about API?!
AppTitle = "Whatever You Want"
That's great, for setting the name of the next window you open - but it doesnt change the name of the current window, sadly :(
What about API?!
What API are we referring too here please?
That's great, for setting the name of the next window you open - but it doesnt change the name of the current window, sadly :(
really? That's odd. I don't have bmax myself so didn't know.
What API are we referring too here please?
Probably means a Windows API call.
Yes, I meant Windows API and GetWindowText and SetWindowText in particualr.
oh right, i've not done such things with BMax yet, but at least I know it's possible so I can figure the details out later :) Thanks guys.
Oh interestingly Blitz can read the AppTitle$, just not change it.
Oh cool, i'll try my stuff out on Firefox soon with the new SDK script - i'm thoroughly exhaused after that mega weekend coding, darn ballistics are hard to calculate when it's got to be accurate and not just game physics where science can happily happen according to Beckyworld rules!
I showed my concept draft to the bosses today, it went really well with lots of use of the word "wow". I'm not sure when we're going to schedule development of the ideas into finished products, but it looks like you got a sale and my career is looking nice and secure for a while to come :)
Will give this a shot later on today and report. Thanks for the continued development. ;)
Ok...later on today is now. :) I had to click on the game area to "activate this control" in order to get the mouse to respond in the game, but that's no biggy. Otherwise, worked fine! :) Congrats!