You're welcome ;)
Type: Posts; User: DanielRehn; Keyword(s):
You're welcome ;)
You have to set MMF's image filters manually when using active picture. I don't have MMF at work and can't remember where the settings are, but I think they're in the application settings.
By tickbox, do you mean checkbox? if so I believe it's a condition and not an expression you are looking for...!?
Displaying the score of the counter in a string object with centered text won't do it?
Use the old methods from the original SDK to retrieve the expression parameters, works fine!
A minor update, it removes a debug-popup that was accidentaly left in the extension.
Download Phizix - Box2D Engine
2. Level can be really big, it's the number of sprites that can cause slowdowns.
3. No curved walls. Only single walls between tiles. Walls can have an offset though, so a "half wall"...
Werbad has finally taken this extension out of beta and released it to the public. It is far better than the old Phizix extension.
All credits go to Erin Catto for his awesome physics extension...
No problem, just send me the files in an email :)
What I meant was, have you tried putting both the minimap object and the overlay object in a new layer?
One layer for all your pasted backdrops and one for the minimap/overlay...
Have you tried putting the minimap and overlay in a new layer above the other?
This object uses a completely different technique than the active object in order to be able to load and animate spritesheets and such.
You can't really compare them like that ;)
I'll look into...
I don't believe it supports collisions at all o.0
I'll look into this!
Glad to be of help then ;)
Use the mouse object and then the following expressions
client x = MouseX( "Mouse object" )-XMouse
client y = MouseY( "Mouse object" )-YMouse
Sort of a lame method, but it works!
It can make both ;)
Here's an example file for the Water Surface Object.
I don't really see the need of an example file for such an easy to use object but here's a VERY BASIC one :)
Well, it's hard but not impossible... I have seen some scripts that can do it with decent accuracy and speed.
I'll see if I can dig one up and send it to Werbad
It is soon the be released!
I'm not sure if it will work for this project as it is quite slow for larger applications. But try it once it's out :)
There's a donate button on my website, so feel free ;)
If anyone would be so kind as to donate the devices I'd implement them for sure. Kind of annoying to implement them otherwise as testing would get tricky =\
* Every X Time
+ 4 chances out of 5 at random
- Create weak enemy
Should do the trick
I'll try to add support for changing angle, but if it slows it down I'm afraid it will have to be removed!
BTW, the current version allows for changing wave lengths and is about 10 fps faster!...
If you want more advanced waves maybe you should consider a hardware based one?!
I have a couple of shaders that does some really nice water effects, but this extension was meant as a software based...
No, it does not work with HWA.
Yes, it does! =)
I can answer that for you right now... NOT GOOD! xD
I works fine for smaller resolutions but that's it =\
It's almost done, so yeah... really soon! =)
Yes, I got this working a couple of days ago =)
GetModuleFileName did the trick! ^__^
Isn't the current ones nice enough? ;)
I'm not sure what you mean, how would you want the perspective???
I would still like to keep the number of new features to a minimum since speed is critical with this objects =\
Thanks everyone =)
It only supports square shapes and I think it will stay that way... It's however easy to just put a mask above it...
Adding support for an alpha mask would only slow it down...
Here's a new demo of the object. I have optimized the code quite a lot and managed to get decent framerates for at least smaller uses.
This time I have 2 types of water, ripples...
That might work, I'll give it a try! :)
What would be the easiest way to retrieve the MMF2 directory?
I'm thinking it would be to read the path from the registry, but I'm not that familiar when it comes to the registry.
Ripples are spawned by the user via an action. If you don't spawn any nothing will be shown. The spawn action takes 5 parameters (x, y, strength, xDir, yDir)
Since it works like a surface and...
Yes, that is the plan =)
Yes, that is correct. As stated earlier, it works as a surface and modifies what's underneath it. =)
There is no texture for the water...
I don't really know what is currently doable, but I'll add support for two types of water..
The first one is the one shown in the demo, it simulates a still pond like surface with ripples and...
Short answer, Yes I had to xD
It works as a surface and modifies everything underneath it.
I might take a look at some type of lighting extension some day, but not any time soon... Sorry!
Performance is okay, not perfect. It...
I found an old extension project earlier today and decided to make a working demo to see if anyone would like me to finish this extension.
Let me know what you think
Just tried this with the Raycasting object and it works like a charm ;)
Small bug I noticed: If you set minimum number of rooms to say 1 and leave maximum number of rooms at 0...
I have some stuff left to do, but I'll try to get it done asap! :)
I'm the one making it and there must have been some kind of mistake. It's called the Raycasting Object... and yes, I know what I'm talking about :P
Making an "On Update" callback for every body every time they change velocity/position would also consume quite a lot of cpu if there are many bodies... May I ask what you are trying to achieve?
The problem lies where you retrieve the vector from the normal map...
float3 normal = tex2D(NormalMap, In.Texture);
It will return values in the range 0 to 1 for the rgb values so your vector...
You could write your own ones that apply the effects you're after... May I ask what you had in mind?
First you need a bluetooth adapter.. THen you need to connect the Wiimote to the pc like any other bluetooth device... Then when it is connected you start your app and use the "connect wiimote"...
No I don't think that will be possible.. I have however been thinking about a feature to allow you to draw freely on the objects background image.. This would allow you to, when loading a map for a...
The new version of the minimap object is under development again ;)
But I have a few other projects that I need to take care of first!
I have an updated version of this object that has functionality to read position values from a sensorbar... But I don't think I have uploaded it yet.... I'll check...
Actually it's 10 (5+5) IR LED's in the sensorbar ;) But they are positioned really closed to each other so the Wiimote reads them as two :)
But as stated, you could just use 2 candles or some...
Have you tried these drivers?
I believe this is the newest post about this....
Did you download the updated version? It should fix this issue!
You need to have the frame size bigger than the application window for the scrolling to work at all, it should work now with the methods mentioned above!
You can do it in the properties from any editor I believe, or you can open the storyboard editor (Ctrl+B) and change it...
Have you changed the size of the frame?
Not eve I can say for sure... Since no work is being put into it anymore...
Werbad, finish up Box2D ;)
This extension uses MMF's image filters and supports all formats that MMF supports. I'm not going to add any custom image loaders!
As for the sprite format, this would also require a custom...
It has been planned, but I can't really give you a time estimate...
It is not optimized for HWA yet, since there's no SDK for that at the moment. So no, shaders are not supported and there's no way to fix it at this time :)
Anti-aliasing is not supported, might...
Uncheck "Display as Backdrop" in the properties
Works fine for me
It's still very weird, only one (1) string object would be required for this to work, right?... Why keep like 8 of them?
Yep, you are right about this... They do however stay visible sometimes, but they never get removed....
Yes, there is a problem with displaying windowed objects in HWA fullscreen mode... I think there's was a new option for the subapp called "Display as Sprite" or something that solves this problem!
Box2D is a rigid body physics engine, and does not (yet?!) support soft bodies.
As Looki stated, the soft body example was made out of smaller rigid bodies...
Caches a monochrome image as the alphachannel and then just fills the image with a solid color.
Changes the color as stated above
Yes, you think correctly, you could cache a tileset with...
I can confirm that scrolling is laggy with 240x320 displays as well!
Sometimes when you scroll parts of active objects gets stuck in the background, as if it was not redrawn properly...
I agree with Pkeod... There are lot's of things that could cause the slowdown... Also shaders only work if you use the hardware display modes and if you're graphics card supports it!
Oh, I probably haven't... I'll do that right away! :)
Works fine here too. [/quote]
Well, I found the issue... It was not the tree control, it was a combo of that and the tab control that caused the crash :S
1. Create a...
Don't know if it has been reported, but the application crashes when you use the Tree Control Object.
Run the application and then click on it. Crashes every time for me, no events required...
6. Buy it and keep your mouth shut!?
Good, then it's not just me ^^
Any news on why this happens?
Am I doing something wrong or is it a bug?
As I can't get it work with the simplest of shaders I assume it's a bug... Since it works in edittime (frame editor) I...
I'm having trouble retrieving the BackgroundTexture in a shader...
I've made a quick test that simply takes the pixel from the background and multiplies the color value by 2... It looks alright at...
Sounds great ;)
It should work just fine with Scrolling since it just uses an active object for the beam! :)
Check this out
A simple beam effect that fires from player and collides with backdrops...
Ehm, this can't be right... My brother uses alot of expressions/actions in the new Phizix object... Can't remember how many though :S
That is not the issue! I always include the runtime! :)
It currently has 2 issues that will be fixed soon!
Well as stated earlier, I lost the source in a harddrive crash so currently about 10% done =\
The tab is most likely handled as a windows control, ie drawn in an own frame... this means it will be above everything, as buttons and similar controls are...
The edittime is just meant to give a...
The only version out is a beta which has a popup and also is not allowed for use in any released software... commercial nor freeware
Hmm, Odd... If you say that this is a bug in Java runtime, how come I never ran into it?!?
I have it on my Sony Ericsson W910i, and it works perfect! =)
Never heard of these nor can I reproduce any of them...
As stated twice before me, make sure you have the latest build of MMF and if that doesn't fix it, check your computer...
You cannot use concave polygons!
Line segments should only be used for static objects since they can't collide with each other... Use rectangles with a width of 1 or something instead!
It creates the new objects relative to the old one(s)
First loop it creates a new object (5,0) relative to the first object... Next loop it creates a new object at each of the 2 existing objects...
Which is fully possible using the method above!
Just a quick example of how the tab control of the dialogbox object can be used!
He asked for the angle :P
Atan2(objy-mousey, objx-mousex) if I'm not mistaken...
It seems like it has to do with the particle spray object... If you set the lifetime of "Bubblebeam" ID 1 to 100 -> 100 you will see that the framerate keeps a steady 50.
It might have to do with...
another solution is to use 2 shapes and set the surface velocity of the bottom one... Works like a conveyor belt...
You are welcome :)
Here's a fix!
Very nice tutorial ;)
Aight, Let me know if you need help with any of your projects!
I also have a few to finish up and release...
Hmm... I wonder if a dedicated FPS Extension would be of interest!? What do you think Jonas?
How to check if you application uses hardware acceleration!
OpenGL doesn't provide a direct query to determine hardware acceleration usage. However, this can usually be inferred by using...
Quick questions about
> Add number in pool (enter number to add in pool)
> Remove number from pool (enter number to remove from pool)
Is it possible to add a number outside of pool max/min?...
Using the RGB coefficient should be an instantaneous thing, since it it only renders the object in a different way ;)
Make your character divided into different parts, as dragonguy stated, also make...
I use Vista and I have had very few problems (if any!?) with MMF2 and old games/applications... One of my favorite games, Dungeon Keeper 2, from 1999, runs OK! :)
When I have done this in the past I simply compared the x coordinates of the bat and the ball, and then sent it flying in an appropriate direction...
Assume that the hotspot of both object are...
On a sidenote, when comparing floats, remember that you never should do a direct comparison (val == 0.5)...
Ranges should be used since they might not be correctly represented! (val > 0.49 and val <...
Do you see the little slider below the directions? ;)
Did you try making the application to an exe?
I think Werbad has a file with something like this... Ask him :)
I have achieved this effect in the past, I used an animated active as the lightning bolt...
First I make a quick scan from the source to see if any enemy is in range, if so, pick the closest one...
Well... I guess you could use more with more objects...
As far as I know, I'm the one making that extension :P
I'll see what I can do anyways ;)
This might be a good to look at!
I need to talk to Yves about that, to find out which approach is the best! But it could take a while, sorry =\
The scrolling issue should now be fixed!
get it at phizix.tk
Thanks, that means a lot to me :)
I'll try to fix this asap, should only be a quick fix! :)
It is pretty much complete... But it wont be released before HWA is final!
We also have a new Phizix object using Box2D which will be released around the same time, Dev only!
That would be awesome =D
I'm not saying that I wont do it... I'll try when I have the time.. I have a few projects at the moment that needs to be finished asap!
I wont add any more features to it any time soon. I just got accepted into the university and will be studying computer science for the next 3 to 5 years... I probably wont have to much time to...
No idea on this one, sry...
Happy to help :)
Use the "Value Exists" condition, with HKEY_LOCAL_MACHINE as first parameter, "SOFTWARE\Macromedia\FlashPlayer\SafeVersions" as second and "9.0" as third parameter.
Works fine for me!
I'm not really sure how this would be done, but you can get some info about the versions from the registry!
It seems that it...
if you use rSDK, ReturnStringSafe(str); should work...
This is realted to using rSDK with Visual C++ 2005/2008
If you compile it using the wrong runtime library, it wont work on computers missing the visual studio runtime.
To fix this, change the...
Yes, I'm aware of the scrolling bug, I will fix it asap!
I totally agree Coco, since this problem is reported with almost every new extension!
This is probably the same issue that has been around for a while... recompile the extension using a different runtime libray
Open the project properties, go to
Configuration Properties -> C/C++...
Well... There is a little hack that works....
When you start a loop instead of just entering a number, also enter a comma, followed by your string...
Start loop #1, "Testing" for 5...
I don't think he cares... Just a fun notice :P
Well... Create the cards as a single active object, put the different cards in different directions...
THen use something like this to create the cards
* Condition to create a card
Possible to do?, Yes
Can I do it? Not sure :P
I'll try though ;)
My pleasure :)
Yes, It supports up to 4 of them...
You have to connect them one at a time..
* Connect wiimote
* wait for connection of wiimote 1
* connect wiimote
* wait for connection of wiimote 2
* and so...
Ok, I will :)
Connecting a wiimote to the PC is simple...
If you are using windows built in support, simply doubleclick the little bluetooth icon in the system tray.
This will open up a new window. From here...
That is true :) Although we would need to send all the files to Clickteam every time we want to release a new extension or update an old one...
Hmm... many newcomers seems to be having problems with this... Maybe a quick video tutorial should be made!?
Yes, there should be a "Fueled by Fusion" logo on one of the CD's I believe... Anyways, this is not necesary if you have Developer!
Thanks, I have come up with a solution for being able to load external images, but I don't think it's the best one x)
I could at runtime start, copy the images from the bank to some cSurfaces in...
That is fine :) As long as it's clear this isn't the first one :)
Well... That was used with the irrlicht Engine, not the MMF engine, so I'm not counting that in... cause if we do, I have a basic prototype of an OpenGL extension...
Uhm.... no he wont... Werbad was first ;)
I'll fix recompile the Wiimote object and update it shortly, Phizix won't be updated until the new version is done!
not sure what you meant by that, but rdPtr is a pointer ot the rundata structure and thus it's members are accessed with '->'
the rHo is not a pointer and thus it's members is accessed with '.'
Hm.. this is probably the classic problem with rSDK, I'll recompile it with another Runtime Library!
Other than that
#define ForVersion PRODUCT_VERSION_STANDARD
#define MinimumBuild ...
247 or 248 required, can't remeber which one though and I'm not at home so I can't check it...
As I stated above, about loading files... I use the Image Bank to store the images... To be able to load external images at runtime i would need to be able to change theese... how is that done?
I have a version 2 planned of this object for which I had most of the above features planned...
I was also planning on adding different animations that could linked to display at certain...
I guess that could be added... Shouldn't be to hard ;)
I'll look into that :)
I have created a new object called Interface Bar, it works like a counter but has a graphical dispay using cut images and an optional background.
The bar image is cut according to the percentage of...
I have created a new object called Interface Bar, it works like a counter but has a graphical dispay using cut images and an optional background.
The bar image is cut according to the percentage of...
Could be alot of problems here, make checks to se if an attack is in progress before you initiate another one... Also try restoring animation before starting a new one, this could also fix a few...
lol, 5 seconds appart... Great to hear :)
I'll try this out if I get a chance, to see if it's a general HWA issue or just your gfx card :)
No... I just found the issue...
It has to do with how rSDK retrieves the Expression parameters...
Classic functions, WORKS!
/* ID */ 0,
/* Name */ "Sum(",
Me and Werbad has stumbled upon a wierd crash with rSDK...
It is a little hard to explain how this crash occurs, but it happens when you have 2 expressions, 1 with 2 parameters and 1 with none......
As stated above, I have a finished beta of an interface bar extension, created to do stuff like this easier... If you have any interest in this, PM me and we'll talk further!
I have an extension in the works called "Interface Bar"
It should be able to do this with ease!
It works like a counter but with a graphical display that supports Static and Animated bars, with...
I think this is the most up to date one
Sorry for the delay!
Head over to Phizix.tk and get it :)
I have made a private extension using DirectSound.. loops is a built in function...
Should I continue this one and make a public release?
Yes, but only if you use the attach active function... The problem is that hwa use floating point angles where phizix uses integers...
If you set their position and angle manually there's no...
The use 4 linesegments to form a cube... problem solved!
Once in the expression editor, press the "Retrieve data from object" button... Then right-click the First icon (named Special)... There you will find most of the functions!
Phizix is a completley non-graphical extension... You'll have to either use a single joint or create small object to create a chain (check the bridge/chain examples!)
Str$(GetDuration( "Direct Show" ))
This works fine for me.. just tried it!
I imagine this is what he'd like to be able to do...
I'd use the extension on disconnect trigger since it only triggers once...
Of course! :)
Balance board will probably never be supported since the lib I'm using hasn't been updated for a while! Sorry!
It's quite easy to make a check if a certain extension is connected... Just use the...
It supports Nunchuk, Classic controller and the Guitar from Guitar Hero...
As far as using it sideways, how hard is it to program :P
+Wiimote - Down is down
- Move Right
+Wiimote - Up is...
MMF2 doesn't support vertex shaders though, I'm sure there is some reason for this.
That is currently impossible since MMF2 HWA uses DXSprite to render the objects. By using this method you can't...
Very nice :)
However only OpenGL...
Of course not at the same time.. Java does not support hardware acceleration as far as I know...
Wait for next beta (b249) which I'm pretty sure will have both ;)
That is currently impossible since MMF2 HWA uses DXSprite to render the objects. By using this method you can't access the individual vertexes! And that's why vertex shaders are unsupported in the...
That would require a complete rewrite of the shader since it only supports perspective effects at the moment... Vertex shaders would be handy at this point...
I think this sounds like a great idea! I'd prefer the following structure:
Special Object -> ForEach Loops -> Start ForEach Loop
Special Object -> ForEach Loops -> Stop ForEach Loop
The bug has to do with your set scale action...
I changed it like this and the bug stopped
Set Scale to Min(Max(0.1, (Frame Height/2)/CameraSpace Z( "Active 3" )), 1.0)
PC, Bluetooth, Wiimote... that's about it...
I'm pretty sure this is possible since you don't set the volume of the sample itself, but for the cahnnel it's played on... Try chosing channel manually and you should be fine! :)
Works fine with BlueSoleil for me... Never had any problem.. must be an error on your part!
Can't make any support for the balance board unless the library I'm using is updated to support it!
Actually what Nifflas meant with the aging pair map is that the timer will renew every loop, but the sound will only play on the first impact... When the objects are no longer triggering a collision...
Yes yes.. sorry.. I'll try to get it released tomorrow! :)